Is 189 a prime number?

Prime Number Checker
Number

Is 189 a prime or composite number?

Answer

Number 189 is not a Prime

189 = 3³ × 7

189 has 8 divisors — 1, 3, 7, 9, 21, 27, 63 and 189; a prime has exactly two: 1 and itself.

Primes up to √189

13² = 169 ≤ 189 < 196 = 14², so it is enough to try primes up to 13

  • ÷2 does not divide
  • ÷3 divides

189 ÷ 3 = 63 — 3 divides 189, so 189 is composite

See Also

FAQ

Is 189 a prime or composite number?

Number 189 is not a Prime

How many factors are in a number 189?

8

How to check if 189 is prime?

Divide 189 by the primes in order: 13² = 169 ≤ 189 < 196 = 14², so it is enough to try primes up to 13. The first one that divides it is 3: 189 ÷ 3 = 63, so 189 is composite.