The GCD of given numbers is 6.
Step 1 : Place the numbers inside division bar:.
12 | 18 |
Step 2 : Divide numbers by 2.
2 | 12 | 18 |
6 | 9 |
Step 3 : Divide numbers by 3.
2 | 12 | 18 |
3 | 6 | 9 |
2 | 3 |
Step 4 : Number 2 and 3, cannot be divided any more. The GCD is:
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.