GCF and LCM Calculator Logo

What is the Greatest Common Factor of 40504 and 40518?

Greatest common factor (GCF) of 40504 and 40518 is 2.

GCF(40504,40518) = 2

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

GCF Calculator and
and

How to find the GCF of 40504 and 40518?

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

Step-1: Prime Factorization of 40504

Prime factors of 40504 are 2, 61, 83. Prime factorization of 40504 in exponential form is:

40504 = 23 × 611 × 831

Step-2: Prime Factorization of 40518

Prime factors of 40518 are 2, 3, 2251. Prime factorization of 40518 in exponential form is:

40518 = 21 × 32 × 22511

Step-3: Factors of 40504

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

1, 2, 4, 8, 61, 83, 122, 166, 244, 332, 488, 664, 5063, 10126, 20252

Step-4: Factors of 40518

List of positive integer factors of 40518 that divides 40504 without a remainder.

1, 2, 3, 6, 9, 18, 2251, 4502, 6753, 13506, 20259

Final Step: Biggest Common Factor Number

We found the factors and prime factorization of 40504 and 40518. The biggest common factor number is the GCF number.
So the greatest common factor 40504 and 40518 is 2.

Also check out the Least Common Multiple of 40504 and 40518