login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010132 Continued fraction for sqrt(34). 3
5, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10, 1, 4, 1, 10 (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, 0, 0, 1).

FORMULA

a(n)=(1/12)*{-19*(n mod 4)+17*[(n+1) mod 4]-[(n+2) mod 4]+35*[(n+3) mod 4]}-5*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 23 2009

EXAMPLE

5.83095189484530047087415287... = 5 + 1/(1 + 1/(4 + 1/(1 + 1/(10 + ...)))). - Harry J. Smith, Jun 04 2009

MATHEMATICA

ContinuedFraction[Sqrt[34], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 06 2011 *)

PROG

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

CROSSREFS

Cf. A010489 Decimal expansion. - Harry J. Smith, Jun 04 2009

Sequence in context: A194704 A108170 A086988 * A254247 A216606 A033988

Adjacent sequences:  A010129 A010130 A010131 * A010133 A010134 A010135

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 | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 10 02:39 EDT 2020. Contains 333392 sequences. (Running on oeis4.)