OFFSET
0,1
FORMULA
Repeat s = s + e; s=1/s. The initial value of s is irrelevant.
EXAMPLE
1
------
pi + 1
.... ------
.... pi + 1
......... -------
......... pi + etc
PROG
(PARI) ?\p 2000 ?f(n) = e=exp(1); s=0; for(x=1, n, s=s+e; s=1/s); print(s)
CROSSREFS
KEYWORD
AUTHOR
Cino Hilliard, Aug 03 2003
STATUS
approved