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.

A118148 Start with 1 and repeatedly reverse the digits and add 51 to get the next term.

Original entry on oeis.org

1, 52, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964, 520, 76, 118, 862, 319, 964
Offset: 1

Views

Author

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

Keywords

Comments

After 2 steps enters a cycle of 6.

Crossrefs

Programs

  • Mathematica
    NestList[IntegerReverse[#]+51&,1,60] (* or  *) PadRight[{1,52},60,{964,520,76,118,862,319}] (* Harvey P. Dale, Jul 17 2024 *)