login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

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

FORMULA

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

a(n)=(1/224)*{-227*(n mod 8)+25*[(n+1) mod 8]+81*[(n+2) mod 8]+81*[(n+3) mod 8]-31*[(n+4) mod 8]-31*[(n+5) mod 8]+25*[(n+6) mod 8]+277*[(n+7) mod 8]}-5*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 23 2009

MATHEMATICA

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

PROG

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

CROSSREFS

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

Sequence in context: A340513 A180136 A346916 * A073050 A154740 A179261

Adjacent sequences:  A010126 A010127 A010128 * A010130 A010131 A010132

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 | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 2 09:32 EDT 2022. Contains 354999 sequences. (Running on oeis4.)