[go: up one dir, main page]

login
A040812
Continued fraction for sqrt(842).
4
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,1
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)
EXAMPLE
29 + 1/(58 + 1/(58 + 1/(58 + 1/(58 + ...)))) = sqrt(842).
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(842)), confrac);
CROSSREFS
Cf. A040000, A042624/A042625 (convergents).
Sequence in context: A192358 A123848 A340669 * A184081 A333912 A333913
KEYWORD
nonn,cofr,easy
STATUS
approved