If gcd(a,c)=1 and b|c, then gcd(a,b)=1?

3k Views Asked by At

Prove if $\gcd(a,c)=1$ and $b|c$, then $\gcd(a,b)=1$

2

There are 2 best solutions below

0
On

$gcd(a,c)=1$ and $b|c$

$$\exists x, y \in \mathbb{Z}, ax+cy=1$$ and since we can write $c=bk$.

we can write $$ax+b(ky)=1$$

Hence $$gcd(a,b)=1$$

0
On

Write $d=(a,b)$
By definition, $d\mid a$ and $d\mid b$
By hypothesis, $d\mid c$
By definition again, $d\mid(a,c)=1$
Hence $d=1.$