Problem: Suppose that $p$ is a prime, and $z$ is some positive integer. If $p^4 | z^2$, then $p^2 | z$.
Thoughts:
If for some positive integer $a$, that $p^4 a = z^2$, then necessarily $p^2 \sqrt{a} = z$, so that if my desired conclusion is correct, then $a$ would have to be a perfect square. How can I show this is true?
Edit: I know that if $gcd(p^4, a) = 1$, then necessarily $a$ is a square.