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.

A120218 Start with 100103 and repeatedly reverse the digits and add 2 to get the next term.

Original entry on oeis.org

100103, 301003, 300105, 501005, 500107, 701007, 700109, 901009, 900111, 111011, 110113, 311013, 310115, 511015, 510117, 711017, 710119, 911019, 910121, 121021, 120123, 321023, 320125, 521025, 520127, 721027, 720129, 921029, 920131, 131031
Offset: 1

Views

Author

Klaus Brockhaus, Jun 11 2006

Keywords

Comments

Let T(S,Q) be the sequence obtained by starting with S and repeatedly reversing the digits and adding Q to get the next term. This is T(100103,2). 100103 is the first S for which T(S,2) reaches a cycle of length 900. The cycle is simply the first 900 terms, which then repeat. A full period is given in the table.

Crossrefs

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+2&,100103,30] (* Harvey P. Dale, Aug 14 2012 *)