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