GCF and LCM Calculator Logo

What is the Greatest Common Factor of 12798 and 12804?

Greatest common factor (GCF) of 12798 and 12804 is 6.

GCF(12798,12804) = 6

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

GCF Calculator and
and

How to find the GCF of 12798 and 12804?

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

Step-1: 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-2: Prime Factorization of 12804

Prime factors of 12804 are 2, 3, 11, 97. Prime factorization of 12804 in exponential form is:

12804 = 22 × 31 × 111 × 971

Step-3: Factors of 12798

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

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

Step-4: Factors of 12804

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

1, 2, 3, 4, 6, 11, 12, 22, 33, 44, 66, 97, 132, 194, 291, 388, 582, 1067, 1164, 2134, 3201, 4268, 6402

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 12798 and 12804