Is 345 a prime number?

Prime Number Checker
Number

Is 345 a prime or composite number?

Answer

Number 345 is not a Prime

345 = 3 × 5 × 23

345 has 8 divisors — 1, 3, 5, 15, 23, 69, 115 and 345; a prime has exactly two: 1 and itself.

Primes up to √345

18² = 324 ≤ 345 < 361 = 19², so it is enough to try primes up to 18

  • ÷2 does not divide
  • ÷3 divides

345 ÷ 3 = 115 — 3 divides 345, so 345 is composite

See Also

FAQ

Is 345 a prime or composite number?

Number 345 is not a Prime

How many factors are in a number 345?

8

How to check if 345 is prime?

Divide 345 by the primes in order: 18² = 324 ≤ 345 < 361 = 19², so it is enough to try primes up to 18. The first one that divides it is 3: 345 ÷ 3 = 115, so 345 is composite.