The GCD of given numbers is 6.
Step 1 : Place the numbers inside division bar:.
| 42 | 78 |
Step 2 : Divide numbers by 2.
| 2 | 42 | 78 |
| 21 | 39 |
Step 3 : Divide numbers by 3.
| 2 | 42 | 78 |
| 3 | 21 | 39 |
| 7 | 13 |
Step 4 : Number 7 and 13, 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.