Is 321 a prime number?

Prime Number Checker
Number

Is 321 a prime or composite number?

Answer

Number 321 is not a Prime

321 = 3 × 107

321 has 4 divisors — 1, 3, 107 and 321; a prime has exactly two: 1 and itself.

Primes up to √321

17² = 289 ≤ 321 < 324 = 18², so it is enough to try primes up to 17

  • ÷2 does not divide
  • ÷3 divides

321 ÷ 3 = 107 — 3 divides 321, so 321 is composite

See Also

FAQ

Is 321 a prime or composite number?

Number 321 is not a Prime

How many factors are in a number 321?

4

How to check if 321 is prime?

Divide 321 by the primes in order: 17² = 289 ≤ 321 < 324 = 18², so it is enough to try primes up to 17. The first one that divides it is 3: 321 ÷ 3 = 107, so 321 is composite.