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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010130 Continued fraction for sqrt(32). 3
5, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 1, 10, 1, 1, 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/24)*{-41*(n mod 4)+13*[(n+1) mod 4]+13*[(n+2) mod 4]+67*[(n+3) mod 4]}-5*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 23 2009

EXAMPLE

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

MATHEMATICA

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

PadRight[{5}, 100, {10, 1, 1, 1}] (* Harvey P. Dale, Aug 20 2014 *)

PROG

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

CROSSREFS

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

Sequence in context: A322837 A168677 A140210 * A206773 A229526 A204007

Adjacent sequences:  A010127 A010128 A010129 * A010131 A010132 A010133

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 23 09:35 EDT 2019. Contains 322385 sequences. (Running on oeis4.)