Studying $p$-adic numbers I encountered the following theorem:
Given a eventually periodic sequence $(a_n)_{n=k}^{\infty}$ such that $0 \le a_n <p$, the sum \begin{equation*} \sum_{n=k}^{\infty}a_np^n \end{equation*} converges p-adically to a rational number.
The proof of this fact consists mainly in rearranging the sum. Here is my problem... In all the books I have seen this is not justified. Only some authors prove a theorem about rearrangement, but in other parts of their books and seems we don't need it here.
Why I can rearrange the terms of this sum? Why I don't need any theorem?
Thank you all!