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.

A063384 a(1) = 7, a(n) = concatenation of two closest factors of a(n-1) whose product equals a(n-1) or if a(n-1) is a prime then the concatenation of 1 and a(n-1).

Original entry on oeis.org

7, 17, 117, 913, 1183, 1391, 13107, 51257, 151257, 381397, 577661, 4911789, 29116879, 112646989, 536920981, 1928258999, 11928258999, 25227472837, 46275452231, 212892173679, 370964057893, 1859199550327, 5593332415439
Offset: 1

Views

Author

Robert G. Wilson v, Aug 09 2001

Keywords

Crossrefs

Programs

  • Mathematica
    f[ n_Integer ] := (d = Divisors[ n ]; l = Length[ d ]; If[ EvenQ[ l ], ToExpression[ ToString[ d[[ l/2 ] ]] <> ToString[ d[[ l/2 + 1 ]] ]], ToExpression[ ToString[ d[[ l/2 + .5 ] ]] <> ToString[ d[[ l/2 + .5 ] ]] ]] ); NestList[ f, 7, 25 ]