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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A010169 Continued fraction for sqrt(98). 2
9, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18, 1, 8, 1, 18 (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/12)*{-37*(n mod 4)+35*[(n+1) mod 4]-7*[(n+2) mod 4]+65*[(n+3) mod 4]}-9*[C(2*n,n) mod 2], with n>=0. - Paolo P. Lava, Jul 24 2009

EXAMPLE

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

MATHEMATICA

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

PadRight[{9}, 120, {18, 1, 8, 1}] (* Harvey P. Dale, Dec 13 2015 *)

PROG

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

CROSSREFS

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

Sequence in context: A084002 A182494 A065444 * A113657 A098783 A234468

Adjacent sequences:  A010166 A010167 A010168 * A010170 A010171 A010172

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 November 19 22:34 EST 2019. Contains 329323 sequences. (Running on oeis4.)