OFFSET
1,2
REFERENCES
David Wells, The Penguin Dictionary of Curious and Interesting Numbers, Revised Edition, London, England, 1997, pp. 157, 168.
EXAMPLE
58618 is included because 5^5 + 8^5 + 6^5 + 1^5 + 8^5 = 76438 and 7^5 + 6^5 + 4^5 + 3^5 + 8^5 = 58618.
MATHEMATICA
f[n_] := Apply[Plus, IntegerDigits[Apply[Plus, IntegerDigits[n]^5]]^5]; Select[ Range[10^7], f[ # ] == # &]
di5Q[n_]:=Module[{k=Total[IntegerDigits[n]^5]}, Total[ IntegerDigits[k]^5] == n]; Select[Range[200000], di5Q] (* Harvey P. Dale, Nov 26 2014 *)
CROSSREFS
KEYWORD
nonn,fini,full,base
AUTHOR
Robert G. Wilson v, Aug 09 2002
STATUS
approved