Monday, 20 April 2015

elementary number theory - Proving that textgcd(a,b)=textgcd(b,r)




Let 0a,bZ. there are integers p,q such that $0\leq r




My attempt:



gcd(a,b)=φ



So



m,nZφ=ma+nb







gcd(b,r)=ψ



So



m,nZψ=mb+nr



We know that a=bq+r so r=abq



So gcd(b,abq=r)=ψ=mb+n(abq=r)=





I'm stuck here, and I don't know if my attempt is correct or not



Answer



You have to use the fact that the gcd is the smallest linear combination.



Suppose (a,b)=ma+nb. Then (a,b)=m(bq+r)+nb=mr+(qm+n)b.



Similarly, if (b,r)=mb+nr then (b,r)=mb+n(abq)=na+(mnq)b.




Therefore you know that (a,b) divides (b,r) and (b,r) divides (a,b)


No comments:

Post a Comment

real analysis - How to find limhrightarrow0fracsin(ha)h

How to find lim without lhopital rule? I know when I use lhopital I easy get $$ \lim_{h\rightarrow 0}...