Or, more generally, what restrictions are there as to *when* you can use the integral $\int\limits_?^{\infty} f(x)$ to see whether $\sum_{k=0}^{\infty}f(k)$ converges?