Is 387 a prime number?

Prime Number Checker
Number

Is 387 a prime or composite number?

Answer

Number 387 is not a Prime

387 = 3² × 43

387 has 6 divisors — 1, 3, 9, 43, 129 and 387; a prime has exactly two: 1 and itself.

Primes up to √387

19² = 361 ≤ 387 < 400 = 20², so it is enough to try primes up to 19

  • ÷2 does not divide
  • ÷3 divides

387 ÷ 3 = 129 — 3 divides 387, so 387 is composite

See Also

FAQ

Is 387 a prime or composite number?

Number 387 is not a Prime

How many factors are in a number 387?

6

How to check if 387 is prime?

Divide 387 by the primes in order: 19² = 361 ≤ 387 < 400 = 20², so it is enough to try primes up to 19. The first one that divides it is 3: 387 ÷ 3 = 129, so 387 is composite.