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.

A118075 Start with 1 and repeatedly reverse the digits and add 42 to get the next term.

Original entry on oeis.org

1, 43, 76, 109, 943, 391, 235, 574, 517, 757, 799, 1039, 9343, 3481, 1885, 5923, 3337, 7375, 5779, 9817, 7231, 1369, 9673, 3811, 1225, 5263, 3667, 7705, 5119, 9157, 7561, 1699, 10003, 30043, 34045, 54085, 58087, 78127, 72229, 92269, 96271, 17311, 11413
Offset: 1

Views

Author

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

Keywords

Comments

After 245 steps enters a cycle of length 57. Sequence gives first 50 terms. Cycle : 985, 631, 178, 913, 361, 205, 544, 487, 826, 670, 118, 853, 400, 46, 106, 643, 388, 925, 571, 217, 754, 499, 1036, 6343, 3478, 8785, 5920, 337, 775, 619, 958, 901, 151, 193, 433, 376, 715, 559, 997, 841, 190, 133, 373, 415, 556, 697, 868, 880, 130, 73, 79, 139, 973, 421, 166, 703, 349, 985 ...

Crossrefs

Programs

  • Mathematica
    NestList[FromDigits[Reverse[IntegerDigits[#]]]+42&,1,50] (* Harvey P. Dale, Oct 05 2014 *)

Extensions

Corrected by Harvey P. Dale, Oct 05 2014