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