OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Donovan Johnson)
MATHEMATICA
f[n_] := Total[IntegerDigits[n]^2]; t = Select[Range[1500000], NestWhile[f, #, UnsameQ, All] == 1 &]; t[[Select[Range[Length[t] - 3], t[[#]] == t[[# + 1]] - 1 == t[[# + 2]] - 2 == t[[# + 3]] - 3 == t[[# + 4]] - 4 &]]] (* T. D. Noe, Aug 24 2011 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
T. D. Noe, Aug 24 2011
STATUS
approved