Let ax0 + bx0 = d be the smallest element of the set C defined by: C = {n non-zero Z+ | n = ax + bx for x, y ∈ Z }, where d | a and d | b.
Why does this make d the greatest common divisor of a and b? What guarantees that 2d does not divide a and b? Or more generally, that there is an n.d that does not divide a and b for n ∈ N (d | a and d | b -> d | d.k and d | t.d, k and t are coprime?)? If it does divide, then d is not the greatest common divisor of a and b.
Support video: https://www.youtube.com/watch?v=E_mU_fCmcxc
We prove that for natural numbers a and b, there are integers x and y such that ax+by=gcd(a,b). This is also called Bezout's Identity, although it was known by French Mathematician Claude Gaspard Bachet de Méziriac over 100 years before Bezout.