GCF and LCM Calculator Logo

What is the Greatest Common Factor of 12794 and 12798?

Greatest common factor (GCF) of 12794 and 12798 is 2.

GCF(12794,12798) = 2

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

GCF Calculator and
and

How to find the GCF of 12794 and 12798?

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

Step-1: Prime Factorization of 12794

Prime factors of 12794 are 2, 6397. Prime factorization of 12794 in exponential form is:

12794 = 21 × 63971

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 12794

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

1, 2, 6397

Step-4: Factors of 12798

List of positive integer factors of 12798 that divides 12794 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 12794 and 12798. The biggest common factor number is the GCF number.
So the greatest common factor 12794 and 12798 is 2.

Also check out the Least Common Multiple of 12794 and 12798