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.

A118607 Start with 1 and repeatedly reverse the digits and add 18 to get the next term.

Original entry on oeis.org

1, 19, 109, 919, 937, 757, 775, 595, 613, 334, 451, 172, 289, 1000, 19, 109, 919, 937, 757, 775, 595, 613, 334, 451, 172, 289, 1000, 19, 109, 919, 937, 757, 775, 595, 613, 334, 451, 172, 289, 1000, 19, 109, 919, 937, 757, 775, 595, 613, 334, 451, 172, 289
Offset: 1

Views

Author

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

Keywords

Comments

After 1 step enters a cycle of length 13.

Crossrefs

Programs

  • Mathematica
    NestList[IntegerReverse[#]+18&,1,60] (* or *) PadRight[{1},120,{1000,19,109,919,937,757,775,595,613,334,451,172,289}] (* Harvey P. Dale, Feb 19 2023 *)

Formula

a(n) = a(n-13) for n >= 15. - Wesley Ivan Hurt, Sep 04 2022