Prove that if $d\mid\gcd(a,b)$, then $d\mid a$ and $d\mid b$.

131 Views Asked by At

Prove that if $d\mid\gcd(a,b)$, then $d\mid a$ and $d\mid b$. I saw this used in proving another theorem but it was not proved. Does anyone know how to prove it?

2

There are 2 best solutions below

0
On BEST ANSWER

Because $\gcd(a, b)$ is the greatest common divisor of $a$ and $b$, it is a common divisor of $a$ and $b$, so we get $\gcd(a, b) \mid a$ and $\gcd(a, b) \mid b.$

Now, if $d \mid \gcd(a, b)$, by the transivity of factors, we get $d \mid a$ and $d \mid b$.

0
On

Hint:

$\gcd(a,b) | a $ and $\gcd(a,b) | b$

By transitivity of divisibility, $d | a$ and $d | b$.