The GCD of given numbers is 3.
Step 1 : Place the numbers inside division bar:.
123456 | 789 |
Step 2 : Divide numbers by 3.
3 | 123456 | 789 |
41152 | 263 |
Step 3 : Number 41152 and 263, cannot be divided any more. The GCD is:
$$ GCD = 3 $$This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.