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.

A266640 Reversed reduced frequency counts for A004001: a(n) = A265754(A054429(n)).

Original entry on oeis.org

1, 2, 1, 3, 2, 1, 1, 4, 3, 2, 1, 2, 1, 1, 1, 5, 4, 3, 2, 1, 3, 2, 1, 2, 1, 1, 2, 1, 1, 1, 1, 6, 5, 4, 3, 2, 1, 4, 3, 2, 1, 3, 2, 1, 2, 1, 1, 3, 2, 1, 2, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 7, 6, 5, 4, 3, 2, 1, 5, 4, 3, 2, 1, 4, 3, 2, 1, 3, 2, 1, 2, 1, 1, 4, 3, 2, 1, 3, 2, 1, 2, 1, 1, 3, 2, 1, 2, 1, 1, 2, 1, 1, 1
Offset: 1

Views

Author

Antti Karttunen, Jan 22 2016

Keywords

Comments

Deleting all 1's and decrementing the remaining terms by one gives the sequence back.

Examples

			Illustration how the sequence can be constructed by concatenating the reversed reduced frequency counts R_n of each successive level n of A004001-tree:
                              1
                             / \
                            2   1
                           /|\   \
              ____________3 2 1   1
             /    /    /  | |\ \   \
    ________4  __3    2   1 2 1 1   1
   / / / / /  / /|   /|   | |\ \ \   \
  5 4 3 2 1  3 2 1  2 1   1 2 1 1 1   1
etc.
		

Crossrefs

Cf. A000079 (positions of records, where n appears for the first time).
Cf. A265754 (obtained from the mirror image of the same tree).

Programs

Formula

a(n) = A265754(A054429(n)).
Other identities. For all n >= 0:
a(2^n) = n+1.