A214301 Smallest limiting value of n under iteration of "Sum of its digits raised to its digits power" (A045512).
1, 288, 288, 288, 288, 288, 288, 288, 288, 1, 288, 288, 288, 288, 50119, 3439, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 3439, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 288, 50119
Offset: 1
Links
- Eric Weisstein's World of Mathematics, Munchhausen Number.
Programs
-
Mathematica
f[n_] := Module[{d = IntegerDigits[n]}, Sum[If[i == 0, 0, i^i], {i, d}]]; Table[s = NestWhileList[f, n, UnsameQ[##] &, All]; Min[Drop[s, Position[s, s[[-1]], 1, 1][[1, 1]]]], {n, 100}] (* T. D. Noe, Jul 12 2012 *)
Comments