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