%I #8 Dec 15 2015 12:12:07
%S 1,1,2,3,1,2,4,5,3,6,7,1,2,4,8,9,5,10,11,3,6,12,13,7,14,15,1,2,4,8,16,
%T 17,9,18,19,5,10,20,21,11,22,23,3,6,12,24,25,13,26,27,7,14,28,29,15,
%U 30,31,1,2,4,8,16,32,33,17,34,35,9,18,36,37,19,38,39,5,10,20,40,41,21,42,43,11,22,44,45,23,46,47,3,6,12,24,48,49,25,50
%N Row index of n in A254105: If A234017(n) = 0, then a(n) = A213714(n), otherwise a(n) = a(A234017(n)).
%H Antti Karttunen, <a href="/A254112/b254112.txt">Table of n, a(n) for n = 1..8192</a>
%F If A234017(n) = 0, then a(n) = A213714(n), otherwise a(n) = a(A234017(n)).
%o (Scheme with memoizing macro definec)
%o (definec (A254112 n) (if (zero? (A234017 n)) (A213714 n) (A254112 (A234017 n))))
%Y Row index of n in A254105. Column index for A254107.
%Y Cf. A254111 (corresponding column index).
%Y Cf. A213714, A234017.
%K nonn
%O 1,3
%A _Antti Karttunen_, Jan 27 2015