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