Skip to content
Number Theory Guide

Number Theory Level 11: GCD (<= 80). Euclidean algorithm.

1. First Euclid step

1. First Euclid step
Replace the pair with divisor and remainder.

Replace the larger number with its remainder.

72 = 48 + 24.

2. Repeat with remainder

2. Repeat with remainder
First Euclid step

Continue until the smaller number divides exactly.

48 = 24 x 2.

3. Read GCD

3. Read GCD
First Euclid step
Repeat with remainder

The last nonzero divisor is the GCD.

GCD = 24.