login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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. - Paolo P. Lava, Jul 24 2009

EXAMPLE

9.79795897113271239278913629... = 9 + 1/(1 + 1/(3 + 1/(1 + 1/(18 + ...)))). - 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])); } \\ Harry J. Smith, Jun 11 2009

CROSSREFS

Cf. A010547 Decimal expansion. - 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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified August 26 02:35 EDT 2016. Contains 275847 sequences.