Saturday, June 11, 2016

integers - Greatest common divisor theorem




Is there a way to prove that if (n,m)=d, then there are two integers t and s, so that tn+ms=d?
By (n,m) I note the greatest common divisor of n and m.


Answer



Yes it can be proven.



Proof:



Let S={nx+my|x,yZ}. We note that S contains at least one positive integer since n2+m20, and thus by the Well-Ordering Axiom there is a smallest positive element d in S. Since dS we can write d=ns+mt for some s,tZ.




We claim that d=(n,m).



First we show that d|n. By the Division Algorithm n=dq+r for some integers q and r, where 0r<d. Now
r=ndqr=nnsqmtqr=n(1sq)+m(tq)



Thus rS and $r

Similarly we can show d|m.



If there is another common divisor c of m and n, then m=cu and n=cv. Now since d=ns+mt=cvs+cut=c(vs+ut) we have that c|d, i.e. cd. This means that d=(n,m).




Q.E.D


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...