GCF and LCM Calculator Logo

What is the Greatest Common Factor of 21158 and 21172?

Greatest common factor (GCF) of 21158 and 21172 is 2.

GCF(21158,21172) = 2

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

GCF Calculator and
and

How to find the GCF of 21158 and 21172?

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

Step-1: Prime Factorization of 21158

Prime factors of 21158 are 2, 71, 149. Prime factorization of 21158 in exponential form is:

21158 = 21 × 711 × 1491

Step-2: Prime Factorization of 21172

Prime factors of 21172 are 2, 67, 79. Prime factorization of 21172 in exponential form is:

21172 = 22 × 671 × 791

Step-3: Factors of 21158

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

1, 2, 71, 142, 149, 298, 10579

Step-4: Factors of 21172

List of positive integer factors of 21172 that divides 21158 without a remainder.

1, 2, 4, 67, 79, 134, 158, 268, 316, 5293, 10586

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 21158 and 21172