Prove that if $\gcd(ab,c)=1$, then $\gcd(a,c)=1$.

295 Views Asked by At

I was told to prove $\gcd(ab,c)=1$ then $\gcd(a,c)=1$.

I picked a number $p$ that goes into $ab$ and $c$, so $ab=px$ and $c=py$. but now what?? I tried $abc=p^2xy$ but then I can't.

Please help me!

2

There are 2 best solutions below

1
On BEST ANSWER

Hint $\,\ d\mid a,c\,\Rightarrow\,d\mid ab,c,\,$ but $\,ab,c\,$ are coprime so $\,\ldots$

2
On

$\gcd(ab,c)=1 \Leftrightarrow \exists s,t$ such that $(ab)t+cs=1$. But then you have that $a(bt)+cs=1$ which give you $\gcd(a,c)=1$.

You only use that for $m,n\in\mathbb{Z}$, $\gcd(m,n)=1$ if-f $\exists s,t\in\mathbb{Z}$ such that $mt+ns=1$.