login
One-based column index of n in A254105: If A234017(n) = 0, then a(n) = 1, otherwise a(n) = 1 + a(A234017(n)).
8

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

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

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

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

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

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

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

%o (Scheme, with memoizing macro definec)

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

%Y One more than A254110.

%Y Column index of n in A254105, Row index for A254107.

%Y Cf. A234017, A254112.

%K nonn

%O 1,2

%A _Antti Karttunen_, Jan 27 2015