Common divisor of the form d = ax+by

757 Views Asked by At

There is a theorem that says that every pair of integers $a$ and $b$ has a common divisor $d$ of the form $d = ax+by$ where $x$ and $y$ are integers.

Is it true that $d$ is also definitely the greatest common divisor of $a$ and $b$? Why is that so?

2

There are 2 best solutions below

3
On

No, it is not true. Once you have $d=ax+by$, you get $2d=(2a)x+(2b)y$ for free (or any other multiple).

2
On

Such linear common divisors are greatest: $\, c\mid a,b\,\Rightarrow\,c\mid ax+by = d\,\Rightarrow\, c\le d\ \ $ (if $d > 0)$