OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..11
Mohammad K. Azarian, Sylvester's Sequence and the Infinite Egyptian Fraction Decomposition of 1, Problem 958, College Mathematics Journal, Vol. 42, No. 4, September 2011, p. 330. Solution published in Vol. 43, No. 4, September 2012, pp. 340-342.
Eric Weisstein's World of Mathematics, Egyptian Fraction.
EXAMPLE
1/zeta(2) = 0.607927101854... = 1/2 + 1/10 + 1/127 + 1/18838 + ...
MATHEMATICA
a = {}; k = N[1/Zeta[2], 1000]; Do[s = Ceiling[1/k]; AppendTo[a, s]; k = k - 1/s, {n, 1, 10}]; a
PROG
(PARI) x=1/zeta(2); while(x, t=1\x+1; print1(t", "); x -= 1/t) \\ Charles R Greathouse IV, Nov 08 2013
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Artur Jasinski, Sep 22 2008
STATUS
approved