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!)
A040012 Continued fraction for sqrt(17). 9
4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
G. Xiao, Contfrac
FORMULA
a(n) = 4*A040000(n). - Stefano Spezia, May 14 2023
EXAMPLE
4.123105625617660549821409855... = 4 + 1/(8 + 1/(8 + 1/(8 + 1/(8 + ...)))). - Harry J. Smith, Jun 03 2009
MAPLE
Digits := 100: convert(evalf(sqrt(N)), confrac, 90, 'cvgts'):
MATHEMATICA
ContinuedFraction[Sqrt[17], 300] (* Vladimir Joseph Stephan Orlovsky, Mar 05 2011 *)
PadRight[{4}, 100, 8] (* Harvey P. Dale, Jun 22 2015 *)
PROG
(PARI) { allocatemem(932245000); default(realprecision, 37000); x=contfrac(sqrt(17)); for (n=0, 20000, write("b040012.txt", n, " ", x[n+1])); } \\ Harry J. Smith, Jun 03 2009
CROSSREFS
Cf. A041024/A041025 (convergents), A010473 (decimal expansion), A248245 (Egyptian fraction).
Cf. A040000.
Sequence in context: A200357 A201405 A331067 * A054006 A029679 A304651
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 June 8 07:26 EDT 2023. Contains 363157 sequences. (Running on oeis4.)