GCF and LCM Calculator Logo

What is the Greatest Common Factor of 5142 and 5158?

Greatest common factor (GCF) of 5142 and 5158 is 2.

GCF(5142,5158) = 2

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

GCF Calculator and
and

How to find the GCF of 5142 and 5158?

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

Step-1: Prime Factorization of 5142

Prime factors of 5142 are 2, 3, 857. Prime factorization of 5142 in exponential form is:

5142 = 21 × 31 × 8571

Step-2: Prime Factorization of 5158

Prime factors of 5158 are 2, 2579. Prime factorization of 5158 in exponential form is:

5158 = 21 × 25791

Step-3: Factors of 5142

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

1, 2, 3, 6, 857, 1714, 2571

Step-4: Factors of 5158

List of positive integer factors of 5158 that divides 5142 without a remainder.

1, 2, 2579

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 5142 and 5158