Digit Factorial Chains
The number is well known for the property that the sum of the factorial of its digits is equal to :
Perhaps less well known is , in that it produces the longest chain of numbers that link back to ; it turns out that there are only three such loops that exist:
It is not difficult to prove that EVERY starting number will eventually get stuck in a loop. For example,
Starting with produces a chain of five non-repeating terms, but the longest non-repeating chain with a starting number below one million is sixty terms.
How many chains, with a starting number below one million, contain exactly sixty non-repeating terms?
数字阶乘链
众所周知,的各位数字的阶乘之和恰好等于本身:
但很少有人注意到,从开始不断地取各位数字的阶乘之和,将会进入循环回到,而且这是所有循环中最长的一个。事实上,只存在三个这样的循环:
不难证明,从任意数字出发最终都会陷入循环。例如,
从开始直到进入循环,会得到五个不同的项,而从任意一个小于一百万的数开始,最多能够得到六十个不同的项。
有多少个小于一百万的数满足,从这些数开始不断地取各位数字的阶乘之和,恰好能够得到六十个不同的项?
Gitalking ...