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!)
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
G. Xiao, Contfrac.
FORMULA
a(n+1) = 18^n mod 19, for all n >= 0. - M. F. Hasler, Mar 10 2011
From Amiram Eldar, Nov 14 2023: (Start)
Multiplicative with a(2^e) = 18, and a(p^e) = 1 for an odd prime p.
Dirichlet g.f.: zeta(s) * (1 + 17/2^s). (End)
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 *)
PadRight[{9}, 120, {18, 1}] (* Harvey P. Dale, Aug 30 2021 *)
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).
Sequence in context: A014721 A054018 A342637 * A317051 A013616 A205381
KEYWORD
nonn,cofr,easy,mult
AUTHOR
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 April 23 16:40 EDT 2024. Contains 371916 sequences. (Running on oeis4.)