login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A035502
Lower of pair of consecutive happy numbers.
5
31, 129, 192, 262, 301, 319, 367, 391, 565, 622, 637, 655, 912, 931, 1029, 1092, 1114, 1121, 1151, 1184, 1211, 1221, 1257, 1274, 1299, 1332, 1447, 1474, 1511, 1527, 1574, 1581, 1724, 1744, 1754, 1771, 1784, 1814, 1851, 1874, 1880, 1881, 1902, 1929, 2062
OFFSET
1,1
REFERENCES
R. K. Guy, Unsolved Problems Number Theory, Sect. E34.
LINKS
Eric Weisstein's World of Mathematics, Happy Number
MATHEMATICA
f[n_] := Total[IntegerDigits[n]^2]; t = Select[Range[5000], NestWhile[f, #, UnsameQ, All] == 1 &]; t[[Select[Range[Length[t] - 1], t[[#]] == t[[# + 1]] - 1 &]]] (* T. D. Noe, Aug 23 2011 *)
CROSSREFS
Sequence in context: A049203 A065403 A278054 * A259509 A183838 A043355
KEYWORD
nonn,easy,base
AUTHOR
EXTENSIONS
More terms from Sascha Kurz, Mar 24 2002
STATUS
approved