

A010167


Continued fraction for sqrt(96).


2



9, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18, 1, 3, 1, 18
(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


FORMULA

a(n)=(1/24)*{79*(n mod 4)+35*[(n+1) mod 4]+11*[(n+2) mod 4]+125*[(n+3) mod 4]}9*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava, Jul 24 2009]


EXAMPLE

9.79795897113271239278913629... = 9 + 1/(1 + 1/(3 + 1/(1 + 1/(18 + ...)))) [From Harry J. Smith, Jun 11 2009]


MATHEMATICA

ContinuedFraction[Sqrt[96], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 10 2011*)


PROG

(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(sqrt(96)); for (n=0, 20000, write("b010167.txt", n, " ", x[n+1])); } [From Harry J. Smith, Jun 11 2009]


CROSSREFS

Cf. A010547 Decimal expansion. [From Harry J. Smith, Jun 11 2009]
Sequence in context: A154490 A051995 A198835 * A154181 A239121 A019875
Adjacent sequences: A010164 A010165 A010166 * A010168 A010169 A010170


KEYWORD

nonn,cofr


AUTHOR

N. J. A. Sloane.


STATUS

approved



