OFFSET
0,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10
FORMULA
a(n) = floor((-1)^n/(s(n-1)*10^n)), where s(n) = Pi - 3 - Sum_{k=0..n} (-1)^k/(a(k)*10^k).
EXAMPLE
Pi = 3 + 1/7 - 1/(10 * 79) + 1/(10^2 * 7498) - 1/(10^3 * 5830114) + ...
MATHEMATICA
s={}; x = Pi - 3; Do[a = Floor[1/((-10)^k * x)]; AppendTo[s, a]; x-=1/((-10)^k*a), {k, 0, 7}]; s (* Amiram Eldar, Jan 23 2019 *)
CROSSREFS
KEYWORD
easy,frac,nonn
AUTHOR
Boris Gourevitch (sai1042(AT)ensai.fr), Mar 10 2000
EXTENSIONS
a(6)-a(10) from Amiram Eldar, Jan 23 2019
STATUS
approved