The GCD of given numbers is 6.
Step 1 : Place the numbers inside division bar:.
30 | 42 |
Step 2 : Divide numbers by 2.
2 | 30 | 42 |
15 | 21 |
Step 3 : Divide numbers by 3.
2 | 30 | 42 |
3 | 15 | 21 |
5 | 7 |
Step 4 : Number 5 and 7, cannot be divided any more. The GCD is:
$$ GCD = 2\cdot3 = 6 $$This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.