The question is to estimate the error for the series $$\sum_{n\to1}^\infty\frac{1}{n^2+1}$$ using the Remainder Estimate for the Integral Test: $$\int_{n+1}^\infty f(x)\,dx\le R_n\le\int_n^\infty f(x)\,dx$$ I did some hand calculations to determine that $n\ge 2000$ shows that the remainder $R_n\le0.0005$
I then tried:
s = Sum[1/(n^2 + 1), {n, 1, \[Infinity]}]
Assuming[n > 1,
Reduce[s - Sum[1/(1 + k^2), {k, 1, n}] < 0.0005, n, Integers]]
But that did not work. Does anyone have good suggestions how to use Mathematica to determine the remainder of this series?
r<0.0005
( I just didTable[s-Sum..{n}]
) $\endgroup$