The GCD of given numbers is 7.
Step 1 :
Divide $ 5397 $ by $ 133 $ and get the remainder
The remainder is positive ($ 77 > 0 $), so we will continue with division.
Step 2 :
Divide $ 133 $ by $ \color{blue}{ 77 } $ and get the remainder
The remainder is still positive ($ 56 > 0 $), so we will continue with division.
Step 3 :
Divide $ 77 $ by $ \color{blue}{ 56 } $ and get the remainder
The remainder is still positive ($ 21 > 0 $), so we will continue with division.
Step 4 :
Divide $ 56 $ by $ \color{blue}{ 21 } $ and get the remainder
The remainder is still positive ($ 14 > 0 $), so we will continue with division.
Step 5 :
Divide $ 21 $ by $ \color{blue}{ 14 } $ and get the remainder
The remainder is still positive ($ 7 > 0 $), so we will continue with division.
Step 6 :
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.
| 5397 | : | 133 | = | 40 | remainder ( 77 ) | ||||||||||
| 133 | : | 77 | = | 1 | remainder ( 56 ) | ||||||||||
| 77 | : | 56 | = | 1 | remainder ( 21 ) | ||||||||||
| 56 | : | 21 | = | 2 | remainder ( 14 ) | ||||||||||
| 21 | : | 14 | = | 1 | 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.