If f is Decreasing, Continuous, and Positive for $x\ge1$ AND $a_n=f(x)$, then $\sum_{n=1}^\infin a_n$ and $\int_1^\infin f(x)dx$ either BOTH converge or diverge.

$Error$

$0\le R_n \le \int_n^\infin f(x)dx$. This means $S\in「S_n,S_n+R_n].$