The integral test and p-series

For positive decreasing terms, the series and the matching improper integral converge or diverge together, because the terms are rectangles just above and just below the curve; so $\sum \frac{1}{n^p}$ converges exactly when $p > 1$.

From Calculus 2.