GCF and LCM Calculator Logo

What is the Greatest Common Factor of 5018 and 5031?

Greatest common factor (GCF) of 5018 and 5031 is 13.

GCF(5018,5031) = 13

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

GCF Calculator and
and

How to find the GCF of 5018 and 5031?

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

Step-1: Prime Factorization of 5018

Prime factors of 5018 are 2, 13, 193. Prime factorization of 5018 in exponential form is:

5018 = 21 × 131 × 1931

Step-2: Prime Factorization of 5031

Prime factors of 5031 are 3, 13, 43. Prime factorization of 5031 in exponential form is:

5031 = 32 × 131 × 431

Step-3: Factors of 5018

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

1, 2, 13, 26, 193, 386, 2509

Step-4: Factors of 5031

List of positive integer factors of 5031 that divides 5018 without a remainder.

1, 3, 9, 13, 39, 43, 117, 129, 387, 559, 1677

Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 5018 and 5031. The biggest common factor number is the GCF number.
So the greatest common factor 5018 and 5031 is 13.

Also check out the Least Common Multiple of 5018 and 5031