I am trying to find a non-trivial example of a series with positive terms $a_n$ that satisfies the following two conditions:
$$ \sum_{n = 1}^{+\infty} a_n = +\infty \qquad \text{and} \qquad \sum_{n = 1}^{+\infty} a_n^2 < +\infty. $$
The obvious example is of course $a_n = \frac{1}{n}$ for all $n \in \mathbb{N}\setminus \{0\}$, but could you help me finding another one? Thank you very much for your answers.