A040812 Continued fraction for sqrt(842).
29, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58
Offset: 0
Examples
29 + 1/(58 + 1/(58 + 1/(58 + 1/(58 + ...)))) = sqrt(842).
Links
Programs
-
Maple
with(numtheory): Digits := 300: convert(evalf(sqrt(842)),confrac);
Formula
From Elmo R. Oliveira, Feb 16 2024: (Start)
a(n) = 58 for n >= 1.
G.f.: 29*(1+x)/(1-x).
E.g.f.: 58*exp(x) - 29.
a(n) = 29*A040000(n). (End)