Is 158 a prime number?

Prime Number Checker
Number

Is 158 a prime or composite number?

Answer

Number 158 is not a Prime

158 = 2 × 79

158 has 4 divisors — 1, 2, 79 and 158; a prime has exactly two: 1 and itself.

Primes up to √158

12² = 144 ≤ 158 < 169 = 13², so it is enough to try primes up to 12

  • ÷2 divides

158 ÷ 2 = 79 — 2 divides 158, so 158 is composite

See Also

FAQ

Is 158 a prime or composite number?

Number 158 is not a Prime

How many factors are in a number 158?

4

How to check if 158 is prime?

Divide 158 by the primes in order: 12² = 144 ≤ 158 < 169 = 13², so it is enough to try primes up to 12. The first one that divides it is 2: 158 ÷ 2 = 79, so 158 is composite.