login
A086774
Decimal expansion of the number defined by the continued fraction shown below.
0
3, 2, 8, 2, 4, 2, 8, 6, 6, 8, 7, 4, 4, 2, 7, 2, 3, 6, 4, 5, 1, 1, 1, 4, 2, 9, 5, 2, 3, 4, 4, 9, 2, 7, 4, 5, 5, 1, 7, 3, 5, 9, 9, 6, 5, 1, 7, 9, 8, 3, 5, 1, 9, 9, 6, 1, 0, 4, 5, 4, 8, 6, 8, 5, 8, 7, 9, 6, 9, 6, 5, 7, 0, 4, 6, 5, 1, 8, 0, 1, 1, 4, 4, 7, 6, 0, 3, 3, 5, 6, 5, 4, 8, 4, 9, 2, 9, 9, 9, 3, 7, 8, 6, 6, 0
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
Sequence in context: A197412 A275373 A113794 * A153461 A231981 A344577
KEYWORD
easy,nonn,cons
AUTHOR
Cino Hilliard, Aug 03 2003
STATUS
approved