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!)
A010162 Continued fraction for sqrt(91). 3
9, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5, 1, 1, 18, 1, 1, 5, 1, 5 (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

a(n)=(1/224)*{-443*(n mod 8)+33*[(n+1) mod 8]+145*[(n+2) mod 8]-79*[(n+3) mod 8]+145*[(n+4) mod 8]-79*[(n+5) mod 8]+33*[(n+6) mod 8]+509*[(n+7) mod 8]}-9*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 24 2009

EXAMPLE

9.539392014169456491526215860... = 9 + 1/(1 + 1/(1 + 1/(5 + 1/(1 + ...)))). - Harry J. Smith, Jun 11 2009

MATHEMATICA

ContinuedFraction[Sqrt[91], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 10 2011 *)

PROG

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

CROSSREFS

Cf. A010542 Decimal expansion. - Harry J. Smith, Jun 11 2009

Sequence in context: A109012 A037478 A198551 * A228409 A230155 A072224

Adjacent sequences:  A010159 A010160 A010161 * A010163 A010164 A010165

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 January 29 10:34 EST 2020. Contains 331337 sequences. (Running on oeis4.)