If we have $mr + ns = 1$, how do we prove that $\operatorname{GCD}(m,n) = 1$?

394 Views Asked by At

Prove that greatest common divisor of $m$ and $n$ is $1$ where $m<n$.

enter image description here

3

There are 3 best solutions below

0
On

A common factor of m and n would be a factor of mr+ns=1.

0
On

Hint:

If integer $d>0$ divides both $m,n$

$d$ must divide $mr+ns$ for any integers $r,s$

0
On

Let $d = \gcd(m,n).$

Then $d$ is a divisor of $m$ and of $n.$

So $da= m$ and $db=n$ for some integers $a,b.$

Therefore $1=mr+ns = (da)r+(db)s = d(ar+bs).$ So $d$ is a divisor of $1.$