Saturday, April 21, 2018

elementary number theory - Prove: gcd(na1,nb1)=ngcd(a,b)1

I'm trying to prove the following statement:
a,bN+gcd(na1,nb1)=ngcd(a,b)1



As for now I managed to prove that ngcd(a,b)1 divdes na1 and nb1:



Without loss of generality let a>b (if a=b, the result is obvious), n1 (gcd(0,0) makes no sense). Then if we let a=kd,b=jd,d=gcd(a,b), we see that for nkd1 we have (nd)k1nd1=1+nd+...+nd(k1)=C (it's a finite geometric series), so na1=(nd1)C. Same works for nb1, so nd1 divides both of these numbers.



How to prove that nd1 not only divides both numbers, but is greatest common divisor?

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...