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!)
A010138 Continued fraction for sqrt(52). 3
7, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1, 2, 1, 4, 14, 4, 1 (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, 0, 0, 1).

FORMULA

a(n)=(1/90)*{-124*(n mod 6)-19*[(n+1) mod 6]+41*[(n+2) mod 6]+11*[(n+3) mod 6]+71*[(n+4) mod 6]+176*[(n+5) mod 6]}-7*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 23 2009

EXAMPLE

7.211102550927978586238442534... = 7 + 1/(4 + 1/(1 + 1/(2 + 1/(1 + ...)))). - Harry J. Smith, Jun 06 2009

MATHEMATICA

ContinuedFraction[Sqrt[52], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 07 2011 *)

PadRight[{7}, 120, {14, 4, 1, 2, 1, 4}] (* Harvey P. Dale, Nov 22 2018 *)

PROG

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

CROSSREFS

Cf. A010505 Decimal expansion. - Harry J. Smith, Jun 06 2009

Sequence in context: A021935 A131028 A225463 * A199157 A328416 A010508

Adjacent sequences:  A010135 A010136 A010137 * A010139 A010140 A010141

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 September 22 03:54 EDT 2020. Contains 337289 sequences. (Running on oeis4.)