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 42, 4, 39, 31 i.e. 1 largest integer that divides all the numbers equally.
GCD of 42, 4, 39, 31 is 1
GCD(42, 4, 39, 31) = 1
Ex: 10, 15, 20 (or) 24, 48, 96,45 (or) 78902, 89765, 12345
GCD of numbers 42, 4, 39, 31 is 1
GCD(42, 4, 39, 31) = 1
Given Input numbers are 42, 4, 39, 31
To find the GCD of numbers using factoring list out all the divisors of each number
Divisors of 42
List of positive integer divisors of 42 that divides 42 without a remainder.
1, 2, 3, 6, 7, 14, 21, 42
Divisors of 4
List of positive integer divisors of 4 that divides 4 without a remainder.
1, 2, 4
Divisors of 39
List of positive integer divisors of 39 that divides 39 without a remainder.
1, 3, 13, 39
Divisors of 31
List of positive integer divisors of 31 that divides 31 without a remainder.
1, 31
Greatest Common Divisior
We found the divisors of 42, 4, 39, 31 . The biggest common divisior number is the GCD number.
So the Greatest Common Divisior 42, 4, 39, 31 is 1.
Therefore, GCD of numbers 42, 4, 39, 31 is 1
Given Input Data is 42, 4, 39, 31
Make a list of Prime Factors of all the given numbers initially
Prime Factorization of 42 is 2 x 3 x 7
Prime Factorization of 4 is 2 x 2
Prime Factorization of 39 is 3 x 13
Prime Factorization of 31 is 31
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(42, 4) = 84
GCD(42, 4) = ( 42 x 4 ) / 84
GCD(42, 4) = 168 / 84
GCD(42, 4) = 2
Step2:
Here we consider the GCD from the above i.e. 2 as first number and the next as 39
The formula of GCD is GCD(a, b) = ( a x b) / LCM(a, b)
LCM(2, 39) = 78
GCD(2, 39) = ( 2 x 39 ) / 78
GCD(2, 39) = 78 / 78
GCD(2, 39) = 1
Step3:
Here we consider the GCD from the above i.e. 1 as first number and the next as 31
The formula of GCD is GCD(a, b) = ( a x b) / LCM(a, b)
LCM(1, 31) = 31
GCD(1, 31) = ( 1 x 31 ) / 31
GCD(1, 31) = 31 / 31
GCD(1, 31) = 1
GCD of 42, 4, 39, 31 is 1
Here are some samples of GCD of Numbers calculations.
1. What is the GCD of 42, 4, 39, 31?
GCD of 42, 4, 39, 31 is 1
2. Where do I get the detailed procedure to find GCD of 42, 4, 39, 31?
You can find a detailed procedure to find GCD of 42, 4, 39, 31 on our page.
3. How to find GCD of 42, 4, 39, 31 on a calculator?
You can find the GCD of 42, 4, 39, 31 by simply giving the inputs separated by commas and click on the calculate button to avail the Greatest Common Divisor in less time.