Is 5040 a prime number?

Prime Number Checker
Number

Is 5,040 a prime or composite number?

Answer

Number 5,040 is not a Prime

5,040 = 2⁴ × 3² × 5 × 7

5,040 has 60 divisors, not two: a prime is divisible only by 1 and itself.

Primes up to √5,040

70² = 4,900 ≤ 5,040 < 5,041 = 71², so it is enough to try primes up to 70

  • ÷2 divides

5,040 ÷ 2 = 2,520 — 2 divides 5,040, so 5,040 is composite

Related Calculations

See Also

FAQ

Is 5,040 a prime or composite number?

Number 5,040 is not a Prime

How many factors are in a number 5,040?

60

How to check if 5,040 is prime?

Divide 5,040 by the primes in order: 70² = 4,900 ≤ 5,040 < 5,041 = 71², so it is enough to try primes up to 70. The first one that divides it is 2: 5,040 ÷ 2 = 2,520, so 5,040 is composite.