A040090 Continued fraction for sqrt(101).
10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20
Offset: 0
Examples
10 + 1/(20 + 1/(20 + 1/(20 + 1/(20 + ...)))) = sqrt(101).
Links
Crossrefs
Programs
-
Maple
Digits := 200: convert(evalf(sqrt(101)),confrac,150,'cvgts'):
-
Mathematica
ContinuedFraction[Sqrt[101],300] (* Vladimir Joseph Stephan Orlovsky, Mar 10 2011*) PadRight[{10},100,{20}] (* Harvey P. Dale, Apr 22 2022 *)
Formula
From Elmo R. Oliveira, Feb 11 2024: (Start)
a(n) = 20 = A010859(n) for n >= 1.
G.f.: 10*(1+x)/(1-x).
E.g.f.: 20*exp(x) - 10.