Is 87 a prime number?

Prime Number Checker
Number

Is 87 a prime or composite number?

Answer

Number 87 is not a Prime

87 = 3 × 29

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

Primes up to √87

9² = 81 ≤ 87 < 100 = 10², so it is enough to try primes up to 9

  • ÷2 does not divide
  • ÷3 divides

87 ÷ 3 = 29 — 3 divides 87, so 87 is composite

See Also

FAQ

Is 87 a prime or composite number?

Number 87 is not a Prime

How many factors are in a number 87?

4

How to check if 87 is prime?

Divide 87 by the primes in order: 9² = 81 ≤ 87 < 100 = 10², so it is enough to try primes up to 9. The first one that divides it is 3: 87 ÷ 3 = 29, so 87 is composite.