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!)
A010127 Continued fraction for sqrt(23). 4
4, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8, 1, 3, 1, 8 (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)*{-29*(n mod 4)+25*[(n+1) mod 4]+[(n+2) mod 4]+55*[(n+3) mod 4]}-4*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jun 11 2009

EXAMPLE

4.795831523312719541597438064... = 4 + 1/(1 + 1/(3 + 1/(1 + 1/(8 + ...)))). - Harry J. Smith, Jun 03 2009

MATHEMATICA

ContinuedFraction[Sqrt[23], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 05 2011 *)

PROG

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

CROSSREFS

Cf. A010479 Decimal expansion. - Harry J. Smith, Jun 03 2009

Sequence in context: A232633 A089612 A292269 * A263022 A326690 A323072

Adjacent sequences:  A010124 A010125 A010126 * A010128 A010129 A010130

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 4 21:43 EDT 2020. Contains 333238 sequences. (Running on oeis4.)