cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A018938 Decimal expansion of e^Pi - Pi.

Original entry on oeis.org

1, 9, 9, 9, 9, 0, 9, 9, 9, 7, 9, 1, 8, 9, 4, 7, 5, 7, 6, 7, 2, 6, 6, 4, 4, 2, 9, 8, 4, 6, 6, 9, 0, 4, 4, 4, 9, 6, 0, 6, 8, 9, 3, 6, 8, 4, 3, 2, 2, 5, 1, 0, 6, 1, 7, 2, 4, 7, 0, 1, 0, 1, 8, 1, 7, 2, 1, 6, 5, 2, 5, 9, 4, 4, 4, 0, 4, 2, 4, 3, 7, 8, 4, 8, 8, 8, 9, 3, 7, 1, 7, 1, 7, 2, 5, 4, 3, 2, 1
Offset: 2

Views

Author

Keywords

Comments

Sum_{k>=0} A176696(k)/(2^k*k!)= e^Pi - Pi. - Jaume Oliver Lafont, Apr 24 2010

Examples

			19.99909997918947576726644298466904449606893684322510617247010181721652...
		

References

  • J. H. Conway, personal communication.

Crossrefs

Cf. A018939 (continued fraction), A176696.

Programs

  • Maple
    evalf(exp(Pi)-Pi, 140);  # Alois P. Heinz, Sep 26 2023
  • Mathematica
    RealDigits[E^Pi-Pi,10,120][[1]] (* Harvey P. Dale, Mar 09 2014 *)
  • PARI
    { default(realprecision, 20080); x=(exp(1)^Pi-Pi)/10; for (n=2, 20000, d=floor(x); x=(x-d)*10; write("b018938.txt", n, " ", d)); } \\ Harry J. Smith, May 14 2009