

A040057


Continued fraction for sqrt(66).


3



8, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8, 16, 8
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

0,1


LINKS

Harry J. Smith, Table of n, a(n) for n = 0..20000
G. Xiao, Contfrac
Index entries for continued fractions for constants
Index entries for linear recurrences with constant coefficients, signature (0, 1).


FORMULA

a(n) = 12 + 4*(1)^n  8*(binomial(2*n,n) mod 2), with n>=0.  Paolo P. Lava, Jun 10 2009


EXAMPLE

8.1240384046359603604598835... = 8 + 1/(8 + 1/(16 + 1/(8 + 1/(16 + ...)))).  Harry J. Smith, Jun 08 2009


MAPLE

Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):


MATHEMATICA

ContinuedFraction[Sqrt[66], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 08 2011 *)


PROG

(PARI) { allocatemem(932245000); default(realprecision, 43000); x=contfrac(sqrt(66)); for (n=0, 20000, write("b040057.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 08 2009


CROSSREFS

Cf. A010518 Decimal expansion.  Harry J. Smith, Jun 08 2009
Sequence in context: A109540 A229554 A298182 * A205709 A028997 A168397
Adjacent sequences: A040054 A040055 A040056 * A040058 A040059 A040060


KEYWORD

nonn,cofr,easy


AUTHOR

N. J. A. Sloane


STATUS

approved



