A very simple example from my textbook $$1+\frac{1}{2^2}+\frac{1}{3^2}+\frac{1}{4}+\frac{1}{5^2}+\frac{1}{6^2}+\frac{1}{7^2}+\frac{1}{8^2}+\frac{1}{9}+\frac{1}{10^2}+\cdots$$ or say $a_n=1/n^2$ if $n$ is not a perfect square, otherwise $a_n=1/n$. The book simply says by comparing this sum with $\Sigma1/n^2$ will show it converges.
But I think because $1/n^2\le a_n$, I cannot conclude the convergence of $\Sigma a_n$ by the convergence of $\Sigma1/n^2$. Could you show me the detail about why it converges?