login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A018939 Continued fraction for e^Pi - Pi. 2
19, 1, 1110, 11, 1, 2, 2, 2, 2, 1, 61, 3, 2083, 1, 2, 1, 2, 3, 1, 2, 9, 2, 28, 1, 3, 2, 2, 10, 3, 1, 3, 1, 1, 1, 4, 14, 1, 2, 2, 1, 1, 20, 2, 12, 1, 25, 1, 37, 1, 18, 1, 1, 1, 1, 6, 2, 1, 1, 150, 1, 2, 11, 1, 8, 1, 1, 11, 3, 19, 7, 1, 3, 7, 1, 151, 1, 4, 1, 12, 8, 1, 1, 182, 1, 12, 3, 7, 1, 22, 2 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harry J. Smith, Table of n, a(n) for n = 1..20000

G. Xiao, Contfrac

Index entries for continued fractions for constants

EXAMPLE

19.9990999791894757672664429846690444960689368432251061724701018172...

19.999099979189475767266... = 19 + 1/(1 + 1/(1110 + 1/(11 + 1/(1 + ...)))). - Harry J. Smith, May 14 2009

MATHEMATICA

ContinuedFraction[E^Pi-Pi, 90] (* Harvey P. Dale, Dec 17 2011 *)

PROG

(PARI) contfrac(exp(1)^Pi-Pi).

(PARI) { allocatemem(932245000); default(realprecision, 21000); x=contfrac(exp(1)^Pi-Pi); for (n=1, 20000, write("b018939.txt", n, " ", x[n])); } \\ Harry J. Smith, May 14 2009

CROSSREFS

Cf. A018938 = Decimal expansion. - Harry J. Smith, May 14 2009

Sequence in context: A040379 A210938 A223521 * A262028 A326475 A040356

Adjacent sequences:  A018936 A018937 A018938 * A018940 A018941 A018942

KEYWORD

nonn,cofr

AUTHOR

N. J. A. Sloane

EXTENSIONS

More terms from Jason Earls, Jul 24 2001

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 28 12:55 EDT 2021. Contains 346328 sequences. (Running on oeis4.)