If $\gcd(a, b) = 1$, $x \mid a$ and $y \mid b$. I want to prove that $\gcd(x, y) = 1$.
From what I understand, I need to prove $a = xb$, for any positive integer $b$ # 0 (1) $b = ya$, for any positive integer $a$ # 0 (2), then I can prove that $\gcd(x, y) = 1$.
I think I missed something to prove the formula of GCD before I can prove $\gcd(x, y) = 1$.
You can prove this by contradiction. If $$\gcd(x,y)=d\ne 1$$then $$d|x|a\\d|y|b$$therefore $$d|\gcd(a,b)=1$$which is a contradiction and the proof is complete.