GCD

#folder

Common Divisor

Definition

Let and be integers. An integer is a common divisor of and if and

Greatest Common Divisor

Definition

  1. 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
  2. If and are both 0, then

Properties

GCD With Remainder (GCD WR)

Proposition

For all integers , if , then

Also see Euclidean Algorithm

GCD Characterization Theorem (GCD CT)

Theorem

For all integers and , and non-negative integers , if:

  1. is a common divisor of and , and
  2. There exists integers and such that
    (Note this means and because of the addition)

Then

Properties Based on Bézout's Lemma

Common Divisor Divides GCD (CDD GCD)

Proposition

For all integers , , and , if and then

Coprimeness Characterization Theorem (CCT)

See coprime

Theorem

For all integers and , if and only if there exists integers and such that

Division by GCD (DB GCD)

Proposition

For all integers and , not both zero, , where

Coprimeness and Divisibility (CAD)

See coprime, divisibility

Definition

For all integers , , and , if and , then