For natural numbers $a$ and $p$ with $p$ prime, if $p$ divides $a^{2}$ then $p^{2}$ also divides $a^{2}$.
My understanding to the is if $p\mid a$, then $\gcd(a,p)$ should not be equal to $1$ and so as $\gcd(a^2,p)$ and I do not know about $p^2\mid a^2$.
Please need clarification.Thank you for your help.
Hint. A fundamental property of primes is: if $p\mid ab$ then $p\mid a$ or $p\mid b$ (or both).
What do you get if you apply this to the statement $p\mid a^2$?
Can you then finish the problem?