[go: up one dir, main page]

login
A040056
Continued fraction for sqrt(65).
7
8, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16
OFFSET
0,1
FORMULA
From Elmo R. Oliveira, Feb 10 2024: (Start)
a(n) = 16 for n >= 1.
G.f.: 8*(1+x)/(1-x).
E.g.f.: 16*exp(x) - 8.
a(n) = 8*A040000(n) = 4*A040002(n) = 2*A040012(n). (End)
EXAMPLE
8.06225774829854965236661... = 8 + 1/(16 + 1/(16 + 1/(16 + 1/(16 + ...)))).
MAPLE
Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):
MATHEMATICA
ContinuedFraction[Sqrt[65], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 08 2011 *)
PadRight[{8}, 120, {16}] (* Harvey P. Dale, Nov 27 2020 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 49000); x=contfrac(sqrt(65)); for (n=0, 20000, write("b040056.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 07 2009
CROSSREFS
Cf. A010517 (decimal expansion), A041112/A041113 (convergents), A248289 (Egyptian fraction).
Sequence in context: A217178 A103699 A238835 * A242890 A224550 A204651
KEYWORD
nonn,cofr,easy
STATUS
approved