GCF and LCM Calculator Logo

What is the Greatest Common Factor of 21138 and 21158?

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

GCF(21138,21158) = 2

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

GCF Calculator and
and

How to find the GCF of 21138 and 21158?

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

Step-1: Prime Factorization of 21138

Prime factors of 21138 are 2, 3, 13, 271. Prime factorization of 21138 in exponential form is:

21138 = 21 × 31 × 131 × 2711

Step-2: 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-3: Factors of 21138

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

1, 2, 3, 6, 13, 26, 39, 78, 271, 542, 813, 1626, 3523, 7046, 10569

Step-4: Factors of 21158

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

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

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 21138 and 21158