login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A153162
Denominators of Stern-Brocot tree hanging between 1/3 and 2/3; numerators=A153161.
2
2, 5, 5, 8, 7, 7, 8, 11, 13, 12, 9, 9, 12, 13, 11, 14, 19, 21, 18, 17, 19, 16, 11, 11, 16, 19, 17, 18, 21, 19, 14, 17, 25, 30, 27, 29, 34, 31, 23, 22, 29, 31, 26, 23, 25, 20, 13, 13, 20, 25, 23, 26, 31, 29, 22, 23, 31, 34, 29, 27, 30, 25, 17, 20, 31, 39, 36, 41, 49, 46, 35, 37
OFFSET
1,1
COMMENTS
For all coprime pairs (u,v) with 1/3 < u/v < 2/3 exists a unique k such that A153161(k)=u and a(k)=v;
a(1) = 2 and for n>1: a(n) = if A025480(n-1)<>0 and A025480(n)<>0 then a(A025480(n-1))+a(A025480(n)) else if A025480(n)=0 then a(A025480(n-1))+3 else a(n)=3+a(A025480(n-1)).
CROSSREFS
KEYWORD
frac,nonn,tabf
AUTHOR
Reinhard Zumkeller, Dec 22 2008
STATUS
approved