Created By : Jatin Gogia
Reviewed By : Rajasekhar Valipishetty
Last Updated : Apr 06, 2023
Make use of GCD Calculator to determine the Greatest Common Divisor of 12, 31, 42 i.e. 1 largest integer that divides all the numbers equally.
GCD of 12, 31, 42 is 1
GCD(12, 31, 42) = 1
Ex: 10, 15, 20 (or) 24, 48, 96,45 (or) 78902, 89765, 12345
GCD of numbers 12, 31, 42 is 1
GCD(12, 31, 42) = 1
Given Input numbers are 12, 31, 42
To find the GCD of numbers using factoring list out all the divisors of each number
Divisors of 12
List of positive integer divisors of 12 that divides 12 without a remainder.
1, 2, 3, 4, 6, 12
Divisors of 31
List of positive integer divisors of 31 that divides 31 without a remainder.
1, 31
Divisors of 42
List of positive integer divisors of 42 that divides 42 without a remainder.
1, 2, 3, 6, 7, 14, 21, 42
Greatest Common Divisior
We found the divisors of 12, 31, 42 . The biggest common divisior number is the GCD number.
So the Greatest Common Divisior 12, 31, 42 is 1.
Therefore, GCD of numbers 12, 31, 42 is 1
Given Input Data is 12, 31, 42
Make a list of Prime Factors of all the given numbers initially
Prime Factorization of 12 is 2 x 2 x 3
Prime Factorization of 31 is 31
Prime Factorization of 42 is 2 x 3 x 7
The above numbers do not have any common prime factor. So GCD is 1
Step1:
Let's calculate the GCD of first two numbers
The formula of GCD is GCD(a, b) = ( a x b) / LCM(a, b)
LCM(12, 31) = 372
GCD(12, 31) = ( 12 x 31 ) / 372
GCD(12, 31) = 372 / 372
GCD(12, 31) = 1
Step2:
Here we consider the GCD from the above i.e. 1 as first number and the next as 42
The formula of GCD is GCD(a, b) = ( a x b) / LCM(a, b)
LCM(1, 42) = 42
GCD(1, 42) = ( 1 x 42 ) / 42
GCD(1, 42) = 42 / 42
GCD(1, 42) = 1
GCD of 12, 31, 42 is 1
Here are some samples of GCD of Numbers calculations.
1. What is the GCD of 12, 31, 42?
GCD of 12, 31, 42 is 1
2. Where do I get the detailed procedure to find GCD of 12, 31, 42?
You can find a detailed procedure to find GCD of 12, 31, 42 on our page.
3. How to find GCD of 12, 31, 42 on a calculator?
You can find the GCD of 12, 31, 42 by simply giving the inputs separated by commas and click on the calculate button to avail the Greatest Common Divisor in less time.