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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010158 Continued fraction for sqrt(85). 4
9, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4, 18, 4, 1, 1, 4 (list; graph; refs; listen; history; 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/25)*{-56*(n mod 5)-[(n+1) mod 5]+14*[(n+2) mod 5]+29*[(n+3) mod 5]+84*[(n+4) mod 5]}-9*[C(2*n,n) mod 2], with n>=0 [From Paolo P. Lava (paoloplava(AT)gmail.com), Jul 24 2009]

EXAMPLE

9.219544457292887310002274281... = 9 + 1/(4 + 1/(1 + 1/(1 + 1/(4 + ...)))) [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]

MATHEMATICA

ContinuedFraction[Sqrt[85], 300] (*From Vladimir Joseph Stephan Orlovsky, Mar 09 2011*)

PROG

(PARI) { allocatemem(932245000); default(realprecision, 24000); x=contfrac(sqrt(85)); for (n=0, 20000, write("b010158.txt", n, " ", x[n+1])); } [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]

CROSSREFS

Cf. A010536 Decimal expansion. [From Harry J. Smith (hjsmithh(AT)sbcglobal.net), Jun 10 2009]

Sequence in context: A021918 A112146 A056897 * A098454 A154206 A094881

Adjacent sequences:  A010155 A010156 A010157 * A010159 A010160 A010161

KEYWORD

nonn,cofr

AUTHOR

N. J. A. Sloane (njas(AT)research.att.com).

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

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

Last modified February 15 15:17 EST 2012. Contains 205823 sequences.