GCD of 18, 40, 31, 57 Calculator

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 18, 40, 31, 57 i.e. 1 largest integer that divides all the numbers equally.

GCD of 18, 40, 31, 57 is 1

GCD(18, 40, 31, 57) = 1

Ex: 10, 15, 20 (or) 24, 48, 96,45 (or) 78902, 89765, 12345

GCD of

GCD of numbers 18, 40, 31, 57 is 1

GCD(18, 40, 31, 57) = 1

GCD of 18,40,31,57 Calculator

GCDof 18,40,31,57 is 1

Given Input numbers are 18, 40, 31, 57

To find the GCD of numbers using factoring list out all the divisors of each number

Divisors of 18

List of positive integer divisors of 18 that divides 18 without a remainder.

1, 2, 3, 6, 9, 18

Divisors of 40

List of positive integer divisors of 40 that divides 40 without a remainder.

1, 2, 4, 5, 8, 10, 20, 40

Divisors of 31

List of positive integer divisors of 31 that divides 31 without a remainder.

1, 31

Divisors of 57

List of positive integer divisors of 57 that divides 57 without a remainder.

1, 3, 19, 57

Greatest Common Divisior

We found the divisors of 18, 40, 31, 57 . The biggest common divisior number is the GCD number.
So the Greatest Common Divisior 18, 40, 31, 57 is 1.

Therefore, GCD of numbers 18, 40, 31, 57 is 1

Finding GCD of 18, 40, 31, 57 using Prime Factorization

Given Input Data is 18, 40, 31, 57

Make a list of Prime Factors of all the given numbers initially

Prime Factorization of 18 is 2 x 3 x 3

Prime Factorization of 40 is 2 x 2 x 2 x 5

Prime Factorization of 31 is 31

Prime Factorization of 57 is 3 x 19

The above numbers do not have any common prime factor. So GCD is 1

Finding GCD of 18, 40, 31, 57 using LCM Formula

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(18, 40) = 360

GCD(18, 40) = ( 18 x 40 ) / 360

GCD(18, 40) = 720 / 360

GCD(18, 40) = 2


Step2:

Here we consider the GCD from the above i.e. 2 as first number and the next as 31

The formula of GCD is GCD(a, b) = ( a x b) / LCM(a, b)

LCM(2, 31) = 62

GCD(2, 31) = ( 2 x 31 ) / 62

GCD(2, 31) = 62 / 62

GCD(2, 31) = 1


Step3:

Here we consider the GCD from the above i.e. 1 as first number and the next as 57

The formula of GCD is GCD(a, b) = ( a x b) / LCM(a, b)

LCM(1, 57) = 57

GCD(1, 57) = ( 1 x 57 ) / 57

GCD(1, 57) = 57 / 57

GCD(1, 57) = 1

GCD of 18, 40, 31, 57 is 1

GCD of Numbers Calculation Examples

FAQs on GCD of numbers 18, 40, 31, 57

1. What is the GCD of 18, 40, 31, 57?

GCD of 18, 40, 31, 57 is 1


2. Where do I get the detailed procedure to find GCD of 18, 40, 31, 57?

You can find a detailed procedure to find GCD of 18, 40, 31, 57 on our page.


3. How to find GCD of 18, 40, 31, 57 on a calculator?

You can find the GCD of 18, 40, 31, 57 by simply giving the inputs separated by commas and click on the calculate button to avail the Greatest Common Divisor in less time.