[go: up one dir, main page]

login
A040756
Continued fraction for sqrt(785).
5
28, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56
OFFSET
0,1
FORMULA
From Elmo R. Oliveira, Feb 16 2024: (Start)
a(n) = 56 for n >= 1.
G.f.: 28*(1+x)/(1-x).
E.g.f.: 56*exp(x) - 28.
a(n) = 28*A040000(n) = 14*A040002(n) = 7*A040012(n). (End)
EXAMPLE
28 + 1/(56 + 1/(56 + 1/(56 + 1/(56 + ...)))) = sqrt(785).
MAPLE
with(numtheory): Digits := 300: convert(evalf(sqrt(785)), confrac);
MATHEMATICA
Block[{$MaxExtraPrecision =1000}, ContinuedFraction[Sqrt[785], 70]] (* or *) PadRight[{28}, 70, 56] (* Harvey P. Dale, May 09 2012 *)
CROSSREFS
Cf. A042512/A042513 (convergents).
Sequence in context: A068129 A079731 A119168 * A135628 A204646 A211491
KEYWORD
nonn,cofr,easy
STATUS
approved