Greatest Common Divisors Proof

Created at: 2025-05-11

Necessary concepts

Definition of Divisibility For Integers

A nonzero integer a is said to divide an integer b if b/a = k for some integer k. When a divides b, we write a | b. When a does not divide b, we write a † b.

Definition of Greatest Common Divisors

This number (d) is denoted gcd(a,b).

Examples (prior to the proof)

Insights (prior to the proof)

Theorem Bézout's identity (prior to the proof)

If a and b are positive integers, then there exist integers k and l such that: gcd(a, b) = ak + bl.

Examples

  gcd(12,20) = 4
  gcd(12,20) = 12k + 20l
  gcd(12,20) = 12*2 + 20*-1
  k = 2, l = -1

  gcd(12,20) = 4
  gcd(12,20) = 12k + 20l
  gcd(12,20) = 12*-3 + 20*2
  k = -3, l = 2

In fact there are infinite solutions. But only one suffices for the theorem.