GCF and LCM Calculator Logo

What is the Greatest Common Factor of 5158 and 5172?

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

GCF(5158,5172) = 2

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

GCF Calculator and
and

How to find the GCF of 5158 and 5172?

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

Step-1: Prime Factorization of 5158

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

5158 = 21 × 25791

Step-2: Prime Factorization of 5172

Prime factors of 5172 are 2, 3, 431. Prime factorization of 5172 in exponential form is:

5172 = 22 × 31 × 4311

Step-3: Factors of 5158

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

1, 2, 2579

Step-4: Factors of 5172

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

1, 2, 3, 4, 6, 12, 431, 862, 1293, 1724, 2586

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 5158 and 5172