My question reads: If c^2=ab and (a,b)=1, prove that a and b are perfect squares.
I began my proof by $a=p_1 p_2 \cdots p_n$ and $b=q_1 q_2\cdots q_m$. Then I gave $c$ its own decomposition as well and said $c=s_1 s_2\cdots s_t$.
From there I squares the c and just got the same except now with 2 in the exponent for each s.
I am not too sure how to continue on from there. Would I need to re-index? Also, I am not too sure when to bring in the fact that their gcd is 1.