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.

A118526 Start with 1 and repeatedly reverse the digits and add 7 to get the next term.

Original entry on oeis.org

1, 8, 15, 58, 92, 36, 70, 14, 48, 91, 26, 69, 103, 308, 810, 25, 59, 102, 208, 809, 915, 526, 632, 243, 349, 950, 66, 73, 44, 51, 22, 29, 99, 106, 608, 813, 325, 530, 42, 31, 20, 9, 16, 68, 93, 46, 71, 24, 49, 101, 108, 808, 815, 525, 532, 242, 249, 949, 956, 666, 673, 383, 390, 100, 8
Offset: 1

Views

Author

N. J. A. Sloane, May 06 2006

Keywords

Crossrefs

Programs

  • Maple
    a:= proc(n) option remember; `if`(n=1, 1, 7 +(s-> parse(
          cat(seq(s[-i], i=1..length(s)))))(cat("", a(n-1))))
        end:
    seq(a(n), n=1..65);  # Alois P. Heinz, Nov 07 2019

Formula

After 1 step enters a cycle of length 63.