The GCD of given numbers is 6.
Step 1 : Place the numbers inside division bar:.
18 | 24 |
Step 2 : Divide numbers by 2.
2 | 18 | 24 |
9 | 12 |
Step 3 : Divide numbers by 3.
2 | 18 | 24 |
3 | 9 | 12 |
3 | 4 |
Step 4 : Number 3 and 4, 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.