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.

A200747 Number of iterations of A034968 required to reach 1.

Original entry on oeis.org

0, 1, 2, 2, 3, 1, 2, 2, 3, 3, 3, 2, 3, 3, 3, 3, 4, 3, 3, 3, 4, 4, 2, 1, 2, 2, 3, 3, 3, 2, 3, 3, 3, 3, 4, 3, 3, 3, 4, 4, 2, 3, 4, 4, 2, 2, 3, 2, 3, 3, 3, 3, 4, 3, 3, 3, 4, 4, 2, 3, 4, 4, 2, 2, 3, 4, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 2, 3, 4, 4, 2, 2, 3, 4, 2, 2, 3, 3, 3, 2
Offset: 1

Views

Author

Keywords

Comments

a(n) = 1 when n is a factorial > 1.

Crossrefs

Cf. A034968.

Programs

  • PARI
    a(n)=local(r);while(n>1,n=A034968(n);r++);r