I have the following sum of infinite positive numbers $$\sum_{k=1}^\infty a_{k}^2$$ and I know that this sum converges, meaning that $$\sum_{k=1}^\infty a_{k}^2 < \infty$$ The book I am studying says that since the above sum converges, the following must be true $$\lim_{k\rightarrow\infty}a_{k} = 0$$
I think that this is true because if I want the sum of infinite positive numbers to be finite, these positive terms have to be close or equal to $0$. However, I'm not sure why it takes the limit, because that implies that as $k$ goes to $\infty$ then the terms start to go close to $0$, correct? I know that the sum of positive numbers is finite then $a_{k}=0$ for all but at most countably many $k$, for which $a_{k}\neq0$.
So, first of all, are my above thoughts correct, and if yes, why does it take the limit and sets it equal to $0$ and doesn't just say that $a_{k}=0$ for all but at most countably many $k$?
Thanks in advance, sorry if my thoughts are a bit jumpled!
Let consider the partial sum
$$S_n=\sum_{k=1}^n a_{k}^2 \to L$$
then
$$a_{n+1}^2=S_{n+1}-S_n \to L-L= 0 \implies a_n \to 0$$
Therefore the necessary condition for convergence is that $a_n$ tends to zero which doesn't imply that eventually $a_n=0$.