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.

A118146 Start with 1 and repeatedly reverse the digits and add 49 to get the next term.

Original entry on oeis.org

1, 50, 54, 94, 98, 138, 880, 137, 780, 136, 680, 135, 580, 134, 480, 133, 380, 132, 280, 131, 180, 130, 80, 57, 124, 470, 123, 370, 122, 270, 121, 170, 120, 70, 56, 114, 460, 113, 360, 112, 260, 111, 160, 110, 60, 55, 104, 450, 103, 350, 102, 250, 101, 150, 100
Offset: 1

Views

Author

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

Keywords

Comments

After 1 step enters a cycle of 54.

Crossrefs

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+49&,1,80]
    NestList[IntegerReverse[#]+49&,1,70] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Aug 22 2016 *)