GCF and LCM Calculator Logo

What is the Greatest Common Factor of 40158 and 40172?

Greatest common factor (GCF) of 40158 and 40172 is 2.

GCF(40158,40172) = 2

We will now calculate the prime factors of 40158 and 40172, than find the greatest common factor (greatest common divisor (gcd)) of the numbers by matching the biggest common factor of 40158 and 40172.

GCF Calculator and
and

How to find the GCF of 40158 and 40172?

We will first find the prime factorization of 40158 and 40172. After we will calculate the factors of 40158 and 40172 and find the biggest common factor number .

Step-1: Prime Factorization of 40158

Prime factors of 40158 are 2, 3, 23, 97. Prime factorization of 40158 in exponential form is:

40158 = 21 × 32 × 231 × 971

Step-2: Prime Factorization of 40172

Prime factors of 40172 are 2, 11, 83. Prime factorization of 40172 in exponential form is:

40172 = 22 × 112 × 831

Step-3: Factors of 40158

List of positive integer factors of 40158 that divides 40158 without a remainder.

1, 2, 3, 6, 9, 18, 23, 46, 69, 97, 138, 194, 207, 291, 414, 582, 873, 1746, 2231, 4462, 6693, 13386, 20079

Step-4: Factors of 40172

List of positive integer factors of 40172 that divides 40158 without a remainder.

1, 2, 4, 11, 22, 44, 83, 121, 166, 242, 332, 484, 913, 1826, 3652, 10043, 20086

Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 40158 and 40172. The biggest common factor number is the GCF number.
So the greatest common factor 40158 and 40172 is 2.

Also check out the Least Common Multiple of 40158 and 40172