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.

A263254 If A262693(n) = 1, then a(n) = 0, otherwise a(n) = 1 + a(A049820(n)).

Original entry on oeis.org

0, 1, 0, 2, 2, 3, 0, 4, 3, 1, 1, 2, 0, 3, 2, 3, 3, 4, 0, 5, 3, 5, 0, 6, 4, 1, 1, 7, 1, 8, 0, 9, 2, 9, 0, 10, 8, 11, 1, 11, 3, 12, 0, 13, 2, 12, 0, 13, 2, 1, 3, 14, 1, 15, 0, 15, 3, 16, 0, 17, 3, 18, 0, 17, 17, 19, 1, 20, 1, 20, 0, 21, 4, 22, 1, 21, 1, 23, 0, 24, 1, 2, 1, 3, 5, 3, 2, 4, 2, 5, 0, 5, 3, 6, 0
Offset: 0

Views

Author

Antti Karttunen, Nov 07 2015

Keywords

Comments

Distance of node n from the infinite trunk (A259934) of the tree defined by edge-relation A049820(child) = parent.
Zero-based row index to array A263255.

Crossrefs

One less than A263275.
Cf. A263257 (positions of records, where each n first occurs).

Formula

If A262693(n) = 1 [when n is in A259934], then a(n) = 0, otherwise a(n) = 1 + a(A049820(n)).
a(n) = A155043(n) - A262904(n).
a(n) = A263275(n) - 1.