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”).

A126579
a(n) = numerator of r_n, where r_0 =0, r_1 =1, r_{n+1} = the continued fraction (of rational terms) [r_0,r_1,r_2,r_3,...,r_n].
1
0, 1, 1, 1, 3, 17, 625, 830449, 1441502031601, 4448641235388669217551601, 41528676925856911327331422342109607917578376233201, 3672388606376400029616401054202436402044127055973259683865721559797182998857705011207512381679196401
OFFSET
0,5
EXAMPLE
a(5) is the numerator of r_5 = r_0 +1/(r_1 +1/(r_2 +1/(r_3
+ 1/r_4))) =
0 + 1/(1 +1/(1 +1/(1/2 +1/(3/4)))) = 17/28.
MATHEMATICA
f[l_List] := Append[l, FromContinuedFraction[l]]; Numerator@Nest[f, {0, 1}, 10] (* Ray Chandler, Dec 29 2006 *)
CROSSREFS
KEYWORD
easy,frac,nonn
AUTHOR
Leroy Quet, Dec 28 2006
EXTENSIONS
Extended by Ray Chandler, Dec 29 2006
STATUS
approved