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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010170 Continued fraction for sqrt(99). 3
9, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 1, 18, 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, 1).

FORMULA

a(n)=(1/2)*[19+17*(-1)^n]-9*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 24 2009

a(n+1) = 18^n mod 19, for all n >= 0. - M. F. Hasler, Mar 10 2011

EXAMPLE

9.9498743710661995473447982... = 9 + 1/(1 + 1/(18 + 1/(1 + 1/(18 + ...)))). - Harry J. Smith, Jun 12 2009

MATHEMATICA

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

PROG

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

CROSSREFS

Cf. A010550 Decimal expansion. - Harry J. Smith, Jun 12 2009

Sequence in context: A145966 A014721 A054018 * A317051 A013616 A205381

Adjacent sequences:  A010167 A010168 A010169 * A010171 A010172 A010173

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 July 19 09:33 EDT 2019. Contains 325155 sequences. (Running on oeis4.)