cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A035502 Lower of pair of consecutive happy numbers.

Original entry on oeis.org

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

Views

Author

Keywords

References

  • R. K. Guy, Unsolved Problems Number Theory, Sect. E34.

Crossrefs

Programs

  • 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 *)

Extensions

More terms from Sascha Kurz, Mar 24 2002