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.

A118254 Start with 16 and repeatedly reverse the digits and add 1 to get the next term.

Original entry on oeis.org

16, 62, 27, 73, 38, 84, 49, 95, 60, 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, 2, 3, 4, 5, 6, 7, 8, 9, 10, 2, 3
Offset: 1

Views

Author

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

Keywords

Comments

After 9 steps enters a cycle of length 9.

Crossrefs

Cf. A118551.

Programs

  • Mathematica
    NestList[IntegerReverse[#]+1&,16,100] (* or *) PadRight[{16,62,27,73,38,84,49,95,60},100,{7,8,9,10,2,3,4,5,6}] (* Harvey P. Dale, May 15 2025 *)