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