I'm trying to prove this statement. I've already checked here in StackExchange but I can only find the proof of the converse.
In Wikipedia, it is stated: "A number $a$ relatively prime to an odd prime $p$ is a residue modulo any power of $p$ if and only if it is a residue modulo $p$", and I want to prove the only if part.
This problem appeared to me when I wanted to solve the following problem:
Check that the only solutions, up to congruence, of $X^2 \equiv 25 $ (mod $p^k)$, for any $k$ and for any prime $p \neq 2$, $5$, are $X \equiv \pm 5 $ (mod $p^k)$.
Any help would be appreciated.