A061666 Continued fraction for Pi/e.
1, 6, 2, 2, 1, 2, 6, 8, 2, 1, 1, 1, 4, 3, 1, 1, 66, 2, 1, 1, 2, 4, 2, 7, 46, 10, 2, 1, 18, 1, 23, 10, 14, 1, 1, 4, 3, 1, 6, 2, 5, 1, 1, 1, 18, 355, 1, 1, 5, 3, 4, 1, 28, 5, 2, 1, 3, 16, 3, 25, 4, 7, 1, 11, 2, 2, 1, 9, 2, 31, 1, 20, 1, 2, 1, 1, 6, 13, 1, 3, 1, 3, 4, 125, 1, 7, 2, 2, 1, 3, 5, 1, 1, 6, 1
Offset: 0
Examples
1.155727349790921717910093183... = 1 + 1/(6 + 1/(2 + 1/(2 + 1/(1 + ...))))
Links
- Harry J. Smith, Table of n, a(n) for n = 0..19999
Crossrefs
Cf. A061382 (decimal expansion).
Programs
-
Mathematica
ContinuedFraction[Pi/E,100] (* Harvey P. Dale, Oct 31 2011 *)
-
PARI
contfrac(Pi/exp(1))
-
PARI
allocatemem(932245000); default(realprecision, 21000); x=contfrac(Pi/exp(1)); for (n=1, 20000, write("b061666.txt", n-1, " ", x[n])); \\ Harry J. Smith, Jul 25 2009
Extensions
Extra comma removed from terms by Harry J. Smith, Jul 25 2009
Offset changed by Andrew Howroyd, Aug 04 2024