GCF and LCM Calculator Logo

What is the Greatest Common Factor of 39997 and 40004?

Greatest common factor (GCF) of 39997 and 40004 is 1.

GCF(39997,40004) = 1

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

GCF Calculator and
and

How to find the GCF of 39997 and 40004?

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

Step-1: Prime Factorization of 39997

Prime factors of 39997 are 23, 37, 47. Prime factorization of 39997 in exponential form is:

39997 = 231 × 371 × 471

Step-2: Prime Factorization of 40004

Prime factors of 40004 are 2, 73, 137. Prime factorization of 40004 in exponential form is:

40004 = 22 × 731 × 1371

Step-3: Factors of 39997

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

1, 23, 37, 47, 851, 1081, 1739

Step-4: Factors of 40004

List of positive integer factors of 40004 that divides 39997 without a remainder.

1, 2, 4, 73, 137, 146, 274, 292, 548, 10001, 20002

Final Step: Biggest Common Factor Number

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

Also check out the Least Common Multiple of 39997 and 40004