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.

A118530 Start with 1 and repeatedly reverse the digits and add 13 to get the next term.

Original entry on oeis.org

1, 14, 54, 58, 98, 102, 214, 425, 537, 748, 860, 81, 31, 26, 75, 70, 20, 15, 64, 59, 108, 814, 431, 147, 754, 470, 87, 91, 32, 36, 76, 80, 21, 25, 65, 69, 109, 914, 432, 247, 755, 570, 88, 101, 114, 424, 437, 747, 760, 80, 21, 25, 65, 69, 109, 914, 432
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+13&,1,60] (* Harvey P. Dale, Oct 27 2015 *)

Formula

After 31 steps enters a cycle of length 18.