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.

A118535 Start with 1 and repeatedly reverse the digits and add 20 to get the next term.

Original entry on oeis.org

1, 21, 32, 43, 54, 65, 76, 87, 98, 109, 921, 149, 961, 189, 1001, 1021, 1221, 1241, 1441, 1461, 1661, 1681, 1881, 1901, 1111, 1131, 1331, 1351, 1551, 1571, 1771, 1791, 1991, 2011, 1122, 2231, 1342, 2451, 1562, 2671, 1782, 2891, 2002, 2022
Offset: 1

Views

Author

N. J. A. Sloane, May 07 2006

Keywords

Programs

  • Mathematica
    NestList[IntegerReverse[#]+20&,1,50] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 14 2020 *)

Formula

Never reaches a cycle (see A117816).