Theorem 1(Lemma).

Let and be integers with gcd . Then, there exist integers and such that . Moreover, all integers of the type are multiples of .

Proof
Given any non-zero integers and , let . has at least one element, since either or is in . Since is bounded below, must have a minimum element. Let be this minimum element. We have to show that divides and , and that all common factors of and are .

The euclidean division of by may be written as , where . Since , can be written as a linear combination of and , hence can be written as a linear combination of and . Since cannot be in ( is smallest element), is forced to be . Thus, divides , and similarly, .

Now consider a common factor of and . We have

That is, is a divisor of . Since , we have .