|
|
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
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
0,5
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|