A040182 Continued fraction for sqrt(197).
14, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28
Offset: 0
Examples
14 + 1/(28 + 1/(28 + 1/(28 + 1/(28 + ...)))) = sqrt(197).
Links
Programs
-
Maple
Digits := 100: convert(evalf(sqrt(N)),confrac,90,'cvgts'):
-
Mathematica
ContinuedFraction[Sqrt[197],300] (* Vladimir Joseph Stephan Orlovsky, Mar 28 2011 *) PadRight[{14},120,{28}] (* Harvey P. Dale, May 02 2022 *)
Formula
From Elmo R. Oliveira, Feb 13 2024: (Start)
a(n) = 28 for n >= 1.
G.f.: 14*(1+x)/(1-x).
E.g.f.: 28*exp(x) - 14.