I need to prove that for every integer $a>0$ there is a unique representation $a=r*s^2$ where $r$ is not dividable by any square: there is no $d>1$ such that $d^2|r$
What I tried is to show a as a unique multiplication of primes and then show the case that a is odd or not, but didn't get anywhere.. any help will be appriciated