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

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

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 [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

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.

Content is available under The OEIS End-User License Agreement .

Last modified December 19 02:47 EST 2014. Contains 252175 sequences.