GCF and LCM Calculator Logo

What is the Greatest Common Factor of 12789 and 12798?

Greatest common factor (GCF) of 12789 and 12798 is 9.

GCF(12789,12798) = 9

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

GCF Calculator and
and

How to find the GCF of 12789 and 12798?

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

Step-1: Prime Factorization of 12789

Prime factors of 12789 are 3, 7, 29. Prime factorization of 12789 in exponential form is:

12789 = 32 × 72 × 291

Step-2: Prime Factorization of 12798

Prime factors of 12798 are 2, 3, 79. Prime factorization of 12798 in exponential form is:

12798 = 21 × 34 × 791

Step-3: Factors of 12789

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

1, 3, 7, 9, 21, 29, 49, 63, 87, 147, 203, 261, 441, 609, 1421, 1827, 4263

Step-4: Factors of 12798

List of positive integer factors of 12798 that divides 12789 without a remainder.

1, 2, 3, 6, 9, 18, 27, 54, 79, 81, 158, 162, 237, 474, 711, 1422, 2133, 4266, 6399

Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 12789 and 12798. The biggest common factor number is the GCF number.
So the greatest common factor 12789 and 12798 is 9.

Also check out the Least Common Multiple of 12789 and 12798