GCF and LCM Calculator Logo

What is the Greatest Common Factor of 40158 and 40164?

Greatest common factor (GCF) of 40158 and 40164 is 6.

GCF(40158,40164) = 6

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

GCF Calculator and
and

How to find the GCF of 40158 and 40164?

We will first find the prime factorization of 40158 and 40164. After we will calculate the factors of 40158 and 40164 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 40164

Prime factors of 40164 are 2, 3, 3347. Prime factorization of 40164 in exponential form is:

40164 = 22 × 31 × 33471

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 40164

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

1, 2, 3, 4, 6, 12, 3347, 6694, 10041, 13388, 20082

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 40158 and 40164