I am trying to understand greatest common divisor so If a=bt+r for integers t & r then why gcd(a,b)=gcd(b,r).I am unable to understand it.
Asked
Active
Viewed 132 times
1
-
Let $\gcd(b,r)=g$, and $b=gm$, and $r=gn$. Then, $m$ and $n$ are coprime. – Kenny Lau Jun 25 '16 at 06:07
-
Then, $bt+r=gmt+gn=g(mt+n)$ – Kenny Lau Jun 25 '16 at 06:07
-
Since $m$ and $n$ are coprime, $mt+n$ and $m$ are also coprime. – Kenny Lau Jun 25 '16 at 06:07
-
how (mt+n) can be coprime,isn't it possible that t can be the common factor of n – Beginner Jun 25 '16 at 06:31
-
2Show (i) If $d$ divides $b$ and $r$, it divides $a$ and $b$ and (ii) If $d$ divides $a$ and $b$, it divides $b$ and $r$. – André Nicolas Jun 25 '16 at 06:31
1 Answers
0
The $\gcd$ of two numbers is defined to be the maximum in the set of all common divisors. If two pairs of numbers have the same sets of common factors, then the two pairs have the same $\gcd$.
So to show $\gcd(a,b)=\gcd(a-b,b)$ for example, you would need to show
$$d\mid a~\mathrm{and}~d\mid b ~~\iff~~ d\mid (a-b)~\mathrm{and}~d\mid b. $$
(That is: you need to prove the first implies the second and vice-versa. The first is saying $d$ is a common factor of $a$ and $b$, while the second is saying $d$ is a common factor of $a-b$ and $b$.)
You can either induct from this or just use the same kind of reasoning in order to prove the desired conclusion $\gcd(bq+r,b)=\gcd(r,b)$.

anon
- 151,657