![]() |
VOOZH | about |
Let us first discuss the standard method to find GCD of two numbers a and b.
- Step 1: List all the divisors of the number ‘a’.
- Step 2: List all the divisors of the number ‘b’.
- Step 3: Identify the common divisors of both ‘a’ and ‘b’.
- Step 4: Select the largest number from the common divisors.
GCD of Two Numbers : 12 and 18
Divisors of 12 : 1, 2, 3, 4, 6 and 12
Divisors of 18 : 1, 2, 3, 6, 9 and 18
The common divisors are 1, 2, 3 and 6 and largest of these is 6 hence 6 is the GCD
How do we speed up our computations? Below are the tricks that you can use when manually computing GCD.