Is 2018 a prime number?

Prime Number Checker
Number

Is 2,018 a prime or composite number?

Answer

Number 2,018 is not a Prime

2,018 = 2 × 1,009

2,018 has 4 divisors — 1, 2, 1,009 and 2,018; a prime has exactly two: 1 and itself.

Primes up to √2,018

44² = 1,936 ≤ 2,018 < 2,025 = 45², so it is enough to try primes up to 44

  • ÷2 divides

2,018 ÷ 2 = 1,009 — 2 divides 2,018, so 2,018 is composite

Related Calculations

See Also

FAQ

Is 2,018 a prime or composite number?

Number 2,018 is not a Prime

How many factors are in a number 2,018?

4

How to check if 2,018 is prime?

Divide 2,018 by the primes in order: 44² = 1,936 ≤ 2,018 < 2,025 = 45², so it is enough to try primes up to 44. The first one that divides it is 2: 2,018 ÷ 2 = 1,009, so 2,018 is composite.