I was working through a proof that came to a result concerning relatively prime integers (the full proof is fairly long, proving that $\mathbb{Z}_p\times \mathbb{Z}_q\cong \mathbb{Z}_{pq} \Leftrightarrow p,q $ coprime) giving
Let $p$ and $q$ coprime, $n=rp=tq$ gives $$\frac{r}{t}=\frac{q}{p}$$ And since $p,q$ coprime then $r=q$ and $t=p$. Then going on to say $n=pq....$ etc
I just can't get my head around this statement; we can just let $r=2, t=4$ and $q=1, p=2$ and this satisfies all the conditions and doesn't give $r=q$ and $t=p$.
EDIT: SOLVED. See comments below. Thanks