Method 1

Find the GCD (12, 33)

Largest Number = A
Perform A % B
Q = Quotient, R = Remainder
Shift values in B and R left by 1
If B = 0 then A = GCD

QABR
233129
11293
3930
30

Method 2

Find the GCD (50, 12)

GCD(a, b) = GCD(b, a mod b)
GCD(50, 12) = GCD(12, 50 mod 12) = GCD(12, 2)
GCD(12, 2) = GCD(2, 12 mod 2) = GCD(2, 0)
GCD(50, 12) = 2