GCF and LCM Calculator Logo

What is the Greatest Common Factor of 5140 and 5158?

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

GCF(5140,5158) = 2

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

GCF Calculator and
and

How to find the GCF of 5140 and 5158?

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

Step-1: Prime Factorization of 5140

Prime factors of 5140 are 2, 5, 257. Prime factorization of 5140 in exponential form is:

5140 = 22 × 51 × 2571

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 5140

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

1, 2, 4, 5, 10, 20, 257, 514, 1028, 1285, 2570

Step-4: Factors of 5158

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

1, 2, 2579

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 5140 and 5158