Is 158 a Prime Number?

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

Is 158 prime?No — composite
Previous prime157
Next prime163
Prime factorization2 × 79

Step by step

  1. Smallest divisor: 2 (158 ÷ 2 = 79).
  2. So 158 is composite: 158 = 2 × 79

The √158 test

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

TestResultVerdict
158 ÷ 2no remainder✓ factor — so 158 is composite

Nearby primes

Previous prime: 157. Next prime: 163.

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

Is 158 prime: questions

Is 158 a prime number?

No — 158 is a composite number: 158 = 2 × 79.

What are the factors of 158?

1, 2, 79, 158.

What is the next prime after 158?

163.