Is 87 a Prime Number?

NO — COMPOSITE NUMBER

No, 87 is not a prime number. It is a composite number divisible by 3 (87 = 3 × 29), with prime factorization 3 × 29.

Prime Factorization
3 × 29
Positive Divisors
4
Previous Prime
Next Prime

Why 87 Is Mathematically Notable

87 looks prime at a glance, making it a frequent trick question in math quizzes. Adding its digits gives 8 + 7 = 15, which is divisible by 3, immediately revealing 87 = 3 × 29.

Step-by-Step Proof: Why 87 Is Not Prime

  1. 1

    Compute the square-root bound: ⌊√87⌋ = 9. If 87 is composite, at least one prime ≤ 9 must divide it.

  2. 2

    Testing primes in ascending order immediately finds a witness divisor: 87 ÷ 3 = 29 with remainder 0.

  3. 3

    Since 3 divides 87 evenly (1 < 3 < 87), 87 has more than two positive divisors (4 in total) and its complete prime factorization is 87 = 3 × 29.

Prime Factorization & All Factors of 87

Open 87 in Visual Factor Tree →

87 has 4 positive divisors with divisor sum σ(87) = 120 and aliquot sum s(87) = 33 (Deficient number).

1 3 29 87

Division Ladder

1. 87 ÷ 3 = 29
2. 29 ÷ 29 = 1

Mathematical Properties & Number Bases of 87

Semiprime
Parity
Odd
Aliquot Class
Deficient number
Twin Prime
No
Binary (Base 2)
1010111
Octal (Base 8)
127
Hexadecimal (Base 16)
0x57

Test Another Number Instantly

Enter any integer (including 100+ digit BigInt numbers) to test primality in our full Prime Number Checker.

Frequently Asked Questions About 87

Is 87 a prime number or a composite number?

No, 87 is not a prime number. It is a composite number divisible by 3 (87 = 3 × 29), with prime factorization 3 × 29.

What are all the positive factors (divisors) of 87?

The 4 positive divisors of 87 are: 1, 3, 29, 87. Their sum is σ(87) = 120.

What is the prime factorization of 87?

The prime factorization of 87 is 3 × 29 (3 × 29).

What are the closest prime numbers before and after 87?

The previous prime before 87 is 83, and the next prime after 87 is 89.

← Previous curated number: 83 Next curated number: 89 →

Prime Number Tools & Reference Guides

Explore dedicated charts, visual factor trees, range generators, and step-by-step proofs for commonly searched numbers.