GCD
- Bézout's Lemma
- Euclidean Algorithm
- Extended Euclidean Algorithm
- GCD
- Prime Factorizations and the Greatest Common Divisor
- Prime Numbers
- The Division Algorithm
- The Unique Factorization Theorem
Common Divisor
Greatest Common Divisor
- If
and are not both 0, then an integer is a greatest common divisor of and (written ), when is a common divisor of and , and - For all integers c, if
is a common divisor of and , then
- If
and are both 0, then
- GCD is idempotent
GCD With Remainder (GCD WR)
For all integers
Let
Now either
Prove ALL parts of the definition of GCD
Case 1:
Let
By definition of GCD,
and by DIC, for all
If we rearrange
So
Now let
Since
Now,
Since
Case 2:
Thus,
Also see Euclidean Algorithm
GCD Characterization Theorem (GCD CT)
For all integers
is a common divisor of and , and - There exists integers
and such that
(Note this meansand because of the addition)
Then
Let
Case 1:
Since
Let
By DIC, we have
Therefore
Since
From the definition of GCD,
Case 2:
From the assumptions that there exists integers
Also,
Since
We wish to prove that the greatest common divisor
First, we find that
Is turns out that
Thus, the
Properties Based on Bézout's Lemma
Common Divisor Divides GCD (CDD GCD)
For all integers
Prove the statement: For all integers
Let
We have
Multiplying these equations by
Hence, by definition of divisibility, we have
Also, by BL, there exists integers
Now we have
We conclude from GCD CT that
Coprimeness Characterization Theorem (CCT)
See coprime
For all integers
Let
Assume that
Assume that there exists integers
Prove: For all integers
Let
Base Case
The statement
Inductive Step
Let
We wish to prove
Assume
By CCT (or BL), there exists integers s$ and
Since
Multiplying these two equations together gives
Let
Then, from the previous equation,
Hence, from the CCT, we deduce that
This result is true for
Division by GCD (DB GCD)
For all integers
Let
By BL, there exists integers
Since
By definition of divisibility,
Hence, by CCT,
Prove: for all rational numbers
Let
Then we can write
Let
Since
We have
Hence, from DB GCD, we have
Coprimeness and Divisibility (CAD)
See coprime, divisibility
For all integers