$a$ and $b$ are natural numbers, their product $a\times b$ is full/complete sqare, prove that then $a$ and $b$ are full squares. $\gcd (a,b)=1$ .
Natural number is full square if you can write it in form $n^2$. I tried dividing with $3$, because full square when divided with three has remainder $0$ or $1$, but that doesn't help. Then i also tried to use the fact that when you divide $x\times y$ with $z$, and $(x,z)=1$ then $z$ divides $y$, but I don't know how to use it in this case. Can anyone help me and give me instructions what to do? Thanks a lot!