0

Prove that if $c|gcd(a,b)$, then $c|a$ and $c|b$.

I have already been able to prove that if $c|a$ and $c|b$ then $c|gcd(a,b)$. However, I am not sure to prove the converse of this (the question I asked).

Ben Knoll
  • 243
  • "Inverse" is the wrong word. The question in the title is the converse of the thing you've already proved. – Jack Lee Oct 14 '15 at 21:35

3 Answers3

1

Hint

If $d=\gcd (a,b)$, then $d\mid a$ and $d\mid b$.

Surb
  • 55,662
0

If a|b and b|c then a|c.

c|gcd(a,b) and gcd(a,b)|a and gcd(a,b)|b so c|a and c|b.

fleablood
  • 124,253
0

Well if $gcd(a,b) | a$ and $gcd(a,b) | b$, because its a divisor of both. then you have

$$c | gcd(a,b) | a $$ and $$ c | gcd(a,b) | b$$.

Stefan Hante
  • 2,616