I am currently reading upon $p$-adic integers, and I have a quick question related to $p$-adic expansions in $\mathbb{Z}_p$. Given a $p$-adic expansion in $\mathbb{Z}_p$, is there a criterion to determine whether the given expansion corresponds to an integer? In other words, is there a way to characterize $p$-adic expansions in $\mathbb{Z}_p$ which are images of integers?
Any help will be useful. Thanks.
$$a=\sum_{k\ge 0} a_k p^k,\qquad a_k\in 0\ldots p-1$$
Proof: obvious
Proof: note that $\sum_{k=0}^{n-1} a_k p^k+\sum_{k=n}^\infty (p-1)p^k= \sum_{k=0}^{n-1} a_k p^k-p^n$ and any negative integer $\in [-p^n,-1]$ is of this form.