The GCD of given numbers is 4.
Step 1 :
Divide $ 324 $ by $ 128 $ and get the remainder
The remainder is positive ($ 68 > 0 $), so we will continue with division.
Step 2 :
Divide $ 128 $ by $ \color{blue}{ 68 } $ and get the remainder
The remainder is still positive ($ 60 > 0 $), so we will continue with division.
Step 3 :
Divide $ 68 $ by $ \color{blue}{ 60 } $ and get the remainder
The remainder is still positive ($ 8 > 0 $), so we will continue with division.
Step 4 :
Divide $ 60 $ by $ \color{blue}{ 8 } $ and get the remainder
The remainder is still positive ($ 4 > 0 $), so we will continue with division.
Step 5 :
Divide $ 8 $ by $ \color{blue}{ 4 } $ and get the remainder
The remainder is zero => GCD is the last divisor $ \color{blue}{ \boxed { 4 }} $.
We can summarize an algorithm into a following table.
| 324 | : | 128 | = | 2 | remainder ( 68 ) | ||||||||
| 128 | : | 68 | = | 1 | remainder ( 60 ) | ||||||||
| 68 | : | 60 | = | 1 | remainder ( 8 ) | ||||||||
| 60 | : | 8 | = | 7 | remainder ( 4 ) | ||||||||
| 8 | : | 4 | = | 2 | remainder ( 0 ) | ||||||||
| GCD = 4 | |||||||||||||
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.