GCF and LCM Calculator Logo

What is the Greatest Common Factor of 31791 and 31798?

Greatest common factor (GCF) of 31791 and 31798 is 1.

GCF(31791,31798) = 1

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

GCF Calculator and
and

How to find the GCF of 31791 and 31798?

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

Step-1: Prime Factorization of 31791

Prime factors of 31791 are 3, 10597. Prime factorization of 31791 in exponential form is:

31791 = 31 × 105971

Step-2: Prime Factorization of 31798

Prime factors of 31798 are 2, 13, 1223. Prime factorization of 31798 in exponential form is:

31798 = 21 × 131 × 12231

Step-3: Factors of 31791

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

1, 3, 10597

Step-4: Factors of 31798

List of positive integer factors of 31798 that divides 31791 without a remainder.

1, 2, 13, 26, 1223, 2446, 15899

Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 31791 and 31798. The biggest common factor number is the GCF number.
So the greatest common factor 31791 and 31798 is 1.

Also check out the Least Common Multiple of 31791 and 31798