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!)
A010168 Continued fraction for sqrt(97). 4
9, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1, 18 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
G. Xiao, Contfrac
EXAMPLE
9.848857801796104721746211414... = 9 + 1/(1 + 1/(5 + 1/(1 + 1/(1 + ...)))). - Harry J. Smith, Jun 12 2009
MATHEMATICA
ContinuedFraction[Sqrt[97], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 10 2011 *)
PadRight[{9}, 120, {18, 1, 5, 1, 1, 1, 1, 1, 1, 5, 1}] (* Harvey P. Dale, Jun 07 2016 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 15000); x=contfrac(sqrt(97)); for (n=0, 20000, write("b010168.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 12 2009
CROSSREFS
Cf. A010548 (decimal expansion).
Cf. A041174/A041175 (convergents).
Sequence in context: A359809 A298512 A192930 * A340004 A327963 A328112
KEYWORD
nonn,cofr,easy
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 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)