login
A364260
a(n) = A331410(A332214(n)).
5
0, 0, 0, 1, 0, 2, 1, 1, 0, 3, 2, 2, 1, 2, 1, 2, 0, 4, 3, 3, 2, 3, 2, 4, 1, 3, 2, 3, 1, 3, 2, 1, 0, 5, 4, 4, 3, 4, 3, 6, 2, 4, 3, 5, 2, 5, 4, 2, 1, 4, 3, 4, 2, 4, 3, 3, 1, 4, 3, 2, 2, 2, 1, 2, 0, 6, 5, 5, 4, 5, 4, 8, 3, 5, 4, 7, 3, 7, 6, 3, 2, 5, 4, 6, 3, 6, 5, 4, 2, 6, 5, 3, 4, 3, 2, 4, 1, 5, 4, 5, 3, 5, 4, 5, 2, 5
OFFSET
0,6
LINKS
FORMULA
a(n) = A364259(A163511(n)).
For all n >= 0, a(2^n) = 0, a(2^n + 1) = n.
CROSSREFS
Cf. A131577 (positions of 0's), A335431 (of 1's).
Differs from related A334204 for the first time at n=31, where a(31) = 1, while A334204(31) = 2.
Sequence in context: A023416 A080791 A336361 * A334204 A336362 A336363
KEYWORD
nonn
AUTHOR
Antti Karttunen, Jul 16 2023
STATUS
approved