GCF and LCM Calculator Logo

What is the Greatest Common Factor of 5158 and 5166?

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

GCF(5158,5166) = 2

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

GCF Calculator and
and

How to find the GCF of 5158 and 5166?

We will first find the prime factorization of 5158 and 5166. After we will calculate the factors of 5158 and 5166 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 5166

Prime factors of 5166 are 2, 3, 7, 41. Prime factorization of 5166 in exponential form is:

5166 = 21 × 32 × 71 × 411

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 5166

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

1, 2, 3, 6, 7, 9, 14, 18, 21, 41, 42, 63, 82, 123, 126, 246, 287, 369, 574, 738, 861, 1722, 2583

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 5158 and 5166