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.

A001466 Denominators of greedy Egyptian fraction expansion of Pi - 3.

Original entry on oeis.org

8, 61, 5020, 128541455, 162924332716605980, 28783052231699298507846309644849796, 871295615653899563300996782209332544845605756266650946342214549769447
Offset: 1

Views

Author

Keywords

Comments

A greedy Egyptian fraction expansion is also called a Sylvester expansion. - Robert FERREOL, May 02 2020

Examples

			Pi - 3 = 1/8 + 1/61 + 1/5020 + 1/128541455 + ... .
		

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

See A182257, A224230 for other versions of this sequence.
Cf. A006525 (similar for e-2).

Programs

  • Mathematica
    lst={};k=N[(Pi-3),1000];Do[s=Ceiling[1/k];AppendTo[lst,s];k=k-1/s,{n,12}];lst (* Vladimir Joseph Stephan Orlovsky, Nov 02 2009 *)
  • PARI
    x = Pi - 3;
    f(x, k) = if(k<1, x, f(x, k - 1) - 1/n(x, k));
    n(x, k) = ceil(1/f(x, k - 1));
    for(k = 1, 7, print1(n(x, k), ", ")) \\ Indranil Ghosh, Mar 27 2017