Is 999123 a prime number?

Prime Number Checker
Number

Is 999,123 a prime or composite number?

Answer

Number 999,123 is not a Prime

999,123 = 3 × 333,041

999,123 has 4 divisors — 1, 3, 333,041 and 999,123; a prime has exactly two: 1 and itself.

Primes up to √999,123

999² = 998,001 ≤ 999,123 < 1,000,000 = 1,000², so it is enough to try primes up to 999

  • ÷2 does not divide
  • ÷3 divides

999,123 ÷ 3 = 333,041 — 3 divides 999,123, so 999,123 is composite

See Also

FAQ

Is 999,123 a prime or composite number?

Number 999,123 is not a Prime

How many factors are in a number 999,123?

4

How to check if 999,123 is prime?

Divide 999,123 by the primes in order: 999² = 998,001 ≤ 999,123 < 1,000,000 = 1,000², so it is enough to try primes up to 999. The first one that divides it is 3: 999,123 ÷ 3 = 333,041, so 999,123 is composite.