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.

A001467 Denominators of an expansion for Pi.

Original entry on oeis.org

1, 1, 1, 7, -791, -3748629, 151648960887729, -1323497544567561138595307148089, 41444465282455711991644958522615049159671653083333293470875123
Offset: 0

Views

Author

Keywords

Examples

			a(4) = -791 since Pi - (1/1) - (1/1) - (1/1) - (1/7) = -0.001264489... is closer to 1/(-791) = -0.001264222... than to 1/(-790) = -0.0012658228...
		

References

  • N. J. A. Sloane, A Handbook of Integer Sequences, Academic Press, 1973 (includes this sequence).
  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Programs

  • PARI
    x=Pi; for(k=0,8,if(x<1,d=round(1/x),d=1); x=x-1/d; print(d,", ")) \\ Jaume Oliver Lafont, Feb 21 2009

Formula

Numerators are 1.

Extensions

Edited by Henry Bottomley, Jul 30 2002