Is 795 a prime number?

Prime Number Checker
Number

Is 795 a prime or composite number?

Answer

Number 795 is not a Prime

795 = 3 × 5 × 53

795 has 8 divisors — 1, 3, 5, 15, 53, 159, 265 and 795; a prime has exactly two: 1 and itself.

Primes up to √795

28² = 784 ≤ 795 < 841 = 29², so it is enough to try primes up to 28

  • ÷2 does not divide
  • ÷3 divides

795 ÷ 3 = 265 — 3 divides 795, so 795 is composite

See Also

FAQ

Is 795 a prime or composite number?

Number 795 is not a Prime

How many factors are in a number 795?

8

How to check if 795 is prime?

Divide 795 by the primes in order: 28² = 784 ≤ 795 < 841 = 29², so it is enough to try primes up to 28. The first one that divides it is 3: 795 ÷ 3 = 265, so 795 is composite.