I have the following problem:
Let a,b∈Z. Show that {ax+by : x,y∈Z}={ngcd(a,b) : n∈Z}
I understand that the Bezout's lemma says that gcd(a,b)=ax+by, so Im not really how you would go about proving the above, it doesn't really make sense to me. Any help is appreciated1
Answer
By Bezout, for some i,j∈Z: ngcd(a,b)=n(aj+bk) ⇒ gcd(a,b)Z⊆aZ+bZ. Reversely,
gcd(a,b)∣a,b⇒gcd(a,b)∣ax+by, so ax+by=ngcd(a,b), so aZ+bZ⊆gcd(a,b)Z
Or we can induct. wlog a,b>0 by −aZ=aZ,(±a,±b)=(a,b), and it is true if a or b=0.
Proof by induction on size:=a+b. True if a=b: aZ+aZ=aZ. Else a≠b. By symmetry, wlog a>b. aZ+bZ=(a−b)Z+bZ=(a−b,b)Z=(a,b)Z because the green instance has smaller size=(a−b)+b=a<a+b, so induction applies. QED
No comments:
Post a Comment