Definition (GCD)

The greatest common divisor of two integers is denoted as , the largest integer which divides both and .

Lemma (Remainder by GCD)

In general,

for any integers . This observation leads us the Euclidean Algorithm.

Example 1:

Since every number divides , then this of just is .