login
One-based row index to A265345.
6

%I #6 Dec 29 2015 03:09:36

%S 1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,7,1,2,

%T 1,3,1,2,1,4,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,6,1,2,1,3,

%U 1,2,1,4,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,7,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,4

%N One-based row index to A265345.

%H Antti Karttunen, <a href="/A265331/b265331.txt">Table of n, a(n) for n = 1..19683</a>

%F a(n) = A001511(A263273(n)).

%F a(2n+1) = 1, a(2n) = 1 + a(A265352(n)).

%o (Scheme)

%o (definec (A265331 n) (if (odd? n) 1 (+ 1 (A265331 (A265352 (/ n 2))))))

%Y One more than A265330.

%Y Cf. A007088, A007089, A263273, A265345, A265352.

%Y Cf. A265911 (corresponding other index).

%Y Differs from A001511 for the first time at n=32, where a(32) = 7, while A001511(32) = 6.

%K nonn,base

%O 1,2

%A _Antti Karttunen_, Dec 18 2015