OFFSET
1,5
COMMENTS
In other words, for n > 0, a(n+1) = A000265(o(n)) where o is the ordinal transform of the sequence.
LINKS
Rémy Sigrist, Table of n, a(n) for n = 1..10000
Rémy Sigrist, Logarithmic scatterplot of the first 2^16 terms
EXAMPLE
The first terms, alongside their ordinal transform, are:
n a(n) o(n)
-- ---- ----
1 0 1
2 1 1
3 1 2
4 1 3
5 3 1
6 1 4
7 1 5
8 5 1
9 1 6
10 3 2
PROG
(PARI) o=vector(38); v=0; for (n=1, 80, print1 (v", "); o[1+v]++; v=o[1+v]/2^valuation(o[1+v], 2))
CROSSREFS
KEYWORD
nonn,look
AUTHOR
Rémy Sigrist, Nov 26 2019
STATUS
approved