Is 879 a prime number?

Prime Number Checker
Number

Is 879 a prime or composite number?

Answer

Number 879 is not a Prime

879 = 3 × 293

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

Primes up to √879

29² = 841 ≤ 879 < 900 = 30², so it is enough to try primes up to 29

  • ÷2 does not divide
  • ÷3 divides

879 ÷ 3 = 293 — 3 divides 879, so 879 is composite

See Also

FAQ

Is 879 a prime or composite number?

Number 879 is not a Prime

How many factors are in a number 879?

4

How to check if 879 is prime?

Divide 879 by the primes in order: 29² = 841 ≤ 879 < 900 = 30², so it is enough to try primes up to 29. The first one that divides it is 3: 879 ÷ 3 = 293, so 879 is composite.