A040306 Continued fraction for sqrt(325).
18, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36
Offset: 0
Examples
18 + 1/(36 + 1/(36 + 1/(36 + 1/(36 + ...)))) = sqrt(325).
Links
Programs
-
Maple
with(numtheory): Digits := 300: convert(evalf(sqrt(325)),confrac);
-
Mathematica
Block[{$MaxExtraPrecision=1000}, ContinuedFraction[Sqrt[325],100]] (* or *) PadRight[{18},100,{36}] (* Harvey P. Dale, Dec 01 2020 *)
Formula
From Elmo R. Oliveira, Feb 14 2024: (Start)
a(n) = 36 for n >= 1.
G.f.: 18*(1+x)/(1-x).
E.g.f.: 36*exp(x) - 18.