login
Zero-based column index of n in A254105: if A234017(n) = 0, then a(n) = 0, otherwise a(n) = 1 + a(A234017(n)).
4

%I #5 Feb 06 2015 02:48:52

%S 0,1,0,0,2,1,0,0,1,0,0,3,2,1,0,0,1,0,0,2,1,0,0,1,0,0,4,3,2,1,0,0,1,0,

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

%U 1,0,0,1,0,0,3,2,1,0,0,1,0,0,2,1,0,0,1,0,0,4,3,2,1,0,0,1,0,0,2,1,0,0,1,0,0,3,2,1,0,0,1,0,0,2,1,0,0,1,0,0,6,5,4,3,2,1,0,0

%N Zero-based column index of n in A254105: if A234017(n) = 0, then a(n) = 0, otherwise a(n) = 1 + a(A234017(n)).

%H Antti Karttunen, <a href="/A254110/b254110.txt">Table of n, a(n) for n = 1..8192</a>

%F If A234017(n) = 0, then a(n) = 0, otherwise a(n) = 1 + a(A234017(n)).

%o (Scheme, with memoizing macro definec)

%o (definec (A254110 n) (if (zero? (A234017 n)) 0 (+ 1 (A254110 (A234017 n)))))

%Y One less than A254111.

%Y Cf. A234017, A254105, A254107.

%K nonn

%O 1,5

%A _Antti Karttunen_, Jan 27 2015