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.

A118238 Start with 15 and repeatedly reverse the digits and add 1 to get the next term.

Original entry on oeis.org

15, 52, 26, 63, 37, 74, 48, 85, 59, 96, 70, 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, 10, 2, 3, 4, 5, 6, 7, 8, 9, 10
Offset: 1

Views

Author

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

Keywords

Comments

After 11 steps enters a cycle of length 9.

Crossrefs

Cf. A118551.

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+1&,15,100] (* Harvey P. Dale, Jul 26 2015 *)