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.

A118237 Start with 14 and repeatedly reverse the digits and add 1 to get the next term.

Original entry on oeis.org

14, 42, 25, 53, 36, 64, 47, 75, 58, 86, 69, 97, 80, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3, 4, 5, 6, 7, 8, 9
Offset: 1

Views

Author

Luc Stevens (lms022(AT)yahoo.com), May 14 2006

Keywords

Comments

After 13 steps enters a cycle of length 9.

Crossrefs

Cf. A118551.

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+1&,14,100] (* Harvey P. Dale, Oct 02 2013 *)