Is 871 a Prime Number?

No — 871 is a composite number: 871 = 13 × 67. It has 4 factors (1, 13, 67, 871), more than the two a prime needs. Its smallest prime factor is 13.

Is 871 prime?No — composite
Previous prime863
Next prime877
Prime factorization13 × 67

Step by step

  1. Smallest divisor: 13 (871 ÷ 13 = 67).
  2. So 871 is composite: 871 = 13 × 67

The √871 test

To check 871, divide it by each prime up to √871 ≈ 29.51. If none goes in evenly, the number is prime.

TestResultVerdict
871 ÷ 2remainder 1✗ not a factor
871 ÷ 3remainder 1✗ not a factor
871 ÷ 5remainder 1✗ not a factor
871 ÷ 7remainder 3✗ not a factor
871 ÷ 11remainder 2✗ not a factor
871 ÷ 13no remainder✓ factor — so 871 is composite

Nearby primes

Previous prime: 863. Next prime: 877.

Full details: factors of 871 · all primes up to 1,000.

Is 871 prime: questions

Is 871 a prime number?

No — 871 is a composite number: 871 = 13 × 67.

What are the factors of 871?

1, 13, 67, 871.

What is the next prime after 871?

877.