%I #11 Jul 16 2023 20:25:37
%S 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,
%T 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,
%U 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
%N a(n) = A331410(A332214(n)).
%H Antti Karttunen, <a href="/A364260/b364260.txt">Table of n, a(n) for n = 0..8191</a>
%F a(n) = A364259(A163511(n)).
%F For all n >= 0, a(2^n) = 0, a(2^n + 1) = n.
%Y Cf. A163511, A331410, A332214, A364259.
%Y Cf. A131577 (positions of 0's), A335431 (of 1's).
%Y Differs from related A334204 for the first time at n=31, where a(31) = 1, while A334204(31) = 2.
%K nonn
%O 0,6
%A _Antti Karttunen_, Jul 16 2023