GCF and LCM Calculator Logo

What is the Greatest Common Factor of 31871 and 31878?

Greatest common factor (GCF) of 31871 and 31878 is 7.

GCF(31871,31878) = 7

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

GCF Calculator and
and

How to find the GCF of 31871 and 31878?

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

Step-1: Prime Factorization of 31871

Prime factors of 31871 are 7, 29, 157. Prime factorization of 31871 in exponential form is:

31871 = 71 × 291 × 1571

Step-2: Prime Factorization of 31878

Prime factors of 31878 are 2, 3, 7, 11, 23. Prime factorization of 31878 in exponential form is:

31878 = 21 × 32 × 71 × 111 × 231

Step-3: Factors of 31871

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

1, 7, 29, 157, 203, 1099, 4553

Step-4: Factors of 31878

List of positive integer factors of 31878 that divides 31871 without a remainder.

1, 2, 3, 6, 7, 9, 11, 14, 18, 21, 22, 23, 33, 42, 46, 63, 66, 69, 77, 99, 126, 138, 154, 161, 198, 207, 231, 253, 322, 414, 462, 483, 506, 693, 759, 966, 1386, 1449, 1518, 1771, 2277, 2898, 3542, 4554, 5313, 10626, 15939

Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 31871 and 31878. The biggest common factor number is the GCF number.
So the greatest common factor 31871 and 31878 is 7.

Also check out the Least Common Multiple of 31871 and 31878