%I #11 Mar 24 2020 03:24:05
%S 2,2,3,3,7,5,7,2,17,7,11,5,11,13,5,3,241,17,29,7,17,31,43,13,43,11,17,
%T 13,29,193,11,2,13,11,37,73,67,29,41,7,23,97,79,31,73,29,19,5,37,43,
%U 73,31,157,17,23,13,41,43,199,17,19,11,7
%N The numerators of the fractions in the Schinzel-Sierpiński tree A295511, read across levels. Also an encoding of Stern's diatomic series A002487.
%e The triangle (row lengths are 2^(n-1)) starts:
%e 1: 2
%e 2: 2, 3
%e 3: 3, 7, 5, 7
%e 4: 2, 17, 7, 11, 5, 11, 13, 5
%e 5: 3, 241, 17, 29, 7, 17, 31, 43, 13, 43, 11, 17, 13, 29, 193, 11
%o (Sage) # uses[SSETree from A295511]
%o def A295510_row(n):
%o if n == 1: return [2]
%o return [r.numerator() for r in SSETree(n)]
%o for n in (1..6): print(A295510_row(n))
%Y Cf. A002487, A295510, A295512.
%K nonn,tabf
%O 1,1
%A _Peter Luschny_, Nov 23 2017
|