A113708 Limit set for operation of repeatedly replacing a number with the sum of the 4th power of its digits.
0, 1, 1138, 1634, 2178, 4179, 4338, 4514, 6514, 6725, 8208, 9219, 9474, 13139
Offset: 1
References
- Boris A. Kordemsky, The Moscow Puzzles, p. 160 (1972)
Crossrefs
Cf. A046156.
Programs
-
Mathematica
lst = {}; Do[a = NestWhile[Plus @@ (IntegerDigits@#^4)&, n, Unequal, All]; If[FreeQ[lst, a], AppendTo[lst, a]], {n, 6725}]; Union@lst (* Robert G. Wilson v, Jan 24 2006 *)
Extensions
Erroneous comment regarding the trajectory terminating conditions corrected by Ant King Jun 04 2013
Zero added to the set of least k’s which return a(n) for consistency with the first term of the given limit set. Similarly for the number of iterations required to get there, and two of the existing terms were corrected - Ant King Jun 07 2013
Comments