I was wondering when exactly the series
$$\sum_{n=0}^\infty \frac1{a_n}\quad\text{with $a_n>0$}$$
diverges, and I came up with the following guess: this happens exactly when $a_n=n^{1+o(1)}$ (i.e. exactly when $a_n$ grows slower than $n^\alpha$ for every $\alpha>1$). Is this correct?
If not, is there some other "Landau notation statement" that does the trick?