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.

A244315 a(0) = 0, after which, if A176137(n) = 1, a(n) = A007814(A244230(n)), otherwise a(n) = a(n-A197433(A244230(n)-1)).

Original entry on oeis.org

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

Views

Author

Antti Karttunen, Jun 25 2014

Keywords

Comments

For n >= 1, a(n) tells the zero-based position of the digit (from the right) where the iteration stopped at, when constructing a Semigreedy Catalan representation of n as described in A244159.

Crossrefs

Formula

a(0) = 0, and for n >= 1, if A176137(n) = 1, a(n) = A007814(A244230(n)), otherwise a(n) = a(n-A197433(A244230(n)-1)).