Is 87 a Prime Number?
No — 87 is a composite number: 87 = 3 × 29. It has 4 factors (1, 3, 29, 87), more than the two a prime needs. Its smallest prime factor is 3.
Is 87 prime?No — composite
Previous prime83
Next prime89
Prime factorization3 × 29
Step by step
- Smallest divisor: 3 (87 ÷ 3 = 29).
- So 87 is composite: 87 = 3 × 29
The √87 test
To check 87, divide it by each prime up to √87 ≈ 9.33. If none goes in evenly, the number is prime.
| Test | Result | Verdict |
|---|---|---|
| 87 ÷ 2 | remainder 1 | ✗ not a factor |
| 87 ÷ 3 | no remainder | ✓ factor — so 87 is composite |
Nearby primes
Previous prime: 83. Next prime: 89.
Full details: factors of 87 · all primes up to 1,000.
Is 87 prime: questions
Is 87 a prime number?
No — 87 is a composite number: 87 = 3 × 29.
What are the factors of 87?
1, 3, 29, 87.
What is the next prime after 87?
89.