The GCD of given numbers is 18.
factors of 126 are : | 1 , 2 , 3 , 6 , 7 , 9 , 14 , 18 , 21 , 42 , 63 , 126 |
factors of 18 are : | 1 , 2 , 3 , 6 , 9 , 18 |
We see that the Greatest Common Factor = 18.
This solution can be visualized using a Venn diagram.
The GCD equals the product of the numbers at the intersection.