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.

A117800 Start with 1 and repeatedly reverse the digits and add 5 to get the next term.

Original entry on oeis.org

1, 6, 11, 16, 66, 71, 22, 27, 77, 82, 33, 38, 88, 93, 44, 49, 99, 104, 406, 609, 911, 124, 426, 629, 931, 144, 446, 649, 951, 164, 466, 669, 971, 184, 486, 689, 991, 204, 407, 709, 912, 224, 427, 729, 932, 244, 447, 749, 952, 264, 467, 769, 972, 284, 487, 789, 992, 304, 408
Offset: 0

Views

Author

N. J. A. Sloane, following discussions with Luc Stevens, May 04 2006

Keywords

Crossrefs

Programs

  • Mathematica
    NestList[IntegerReverse[#] + 5 &, 1, 100] (* Paolo Xausa, Aug 27 2024 *)

Formula

After 1 step enters a cycle of length 207.
It appears that there is a unique cycle of length 207 for the reverse-and-add-5 problem. Klaus Brockhaus has done an extensive search without finding any further cycle of length 207. There are many cycles of lengths 36 and 756. See A118878.