[go: up one dir, main page]

login
A040380
Continued fraction for sqrt(401).
5
20, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40
OFFSET
0,1
FORMULA
From Elmo R. Oliveira, Feb 15 2024: (Start)
a(n) = 40 for n >= 1.
G.f.: 20*(1+x)/(1-x).
E.g.f.: 40*exp(x) - 20.
a(n) = 20*A040000(n) = 10*A040002(n) = 5*A040012(n). (End)
EXAMPLE
20 + 1/(40 + 1/(40 + 1/(40 + 1/(40 + ...)))) = sqrt(401).
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(401)), confrac);
CROSSREFS
Cf. A041760/A041761 (convergents).
Sequence in context: A215144 A352108 A333234 * A154044 A235289 A296764
KEYWORD
nonn,cofr,easy,less
STATUS
approved