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.

A118518 Define sequence S_m by: initial term = m, reverse digits and add 3 to get next term. Entry shows S_2. This reaches a cycle of length 6 in 3 steps.

Original entry on oeis.org

2, 5, 8, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80, 11, 14, 44, 47, 77, 80
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Cf. A117831, A118517 on.

Programs

  • Mathematica
    Join[{2,5,8},LinearRecurrence[{0,0,0,0,0,1},{11,14,44,47,77,80},66]] (* Ray Chandler, Jul 18 2015 *)
    NestList[IntegerReverse[#]+3&,2,70] (* Requires Mathematica version 10 or later *) (* or *) PadRight[{2,5,8},70,{47,77,80,11,14,44}] (* Harvey P. Dale, Jun 02 2017 *)