WordGPT

Is 158 a prime number?

No, 158 is not a prime number. It is divisible by 2: 158 = 2 × 79.

Is 158 prime?

Pick any whole number from 1 to 10,000.

How to work it out

  1. 1

    A prime number has exactly two factors: 1 and itself.

  2. 2

    It is enough to test the primes up to √158 ≈ 12.57. If none of them divides 158, it is prime.

  3. 3

    2 divides 158 exactly, so it is not prime. Its prime factorisation is

    158=2×79158 = 2 \times 79
LaTeX source of the formulas on this page
\[ 158 = 2 \times 79 \]

Testing 158 by the primes up to its square root

PrimeDivisionResult
2158 ÷ 2divides exactly (79)
3158 ÷ 3leaves 2
5158 ÷ 5leaves 3
7158 ÷ 7leaves 4
11158 ÷ 11leaves 4

Questions

Is 158 a prime number?

No, 158 is not a prime number. It is divisible by 2: 158 = 2 × 79.

What is the next prime after 158?

163.

What is the prime number before 158?

157.

What are the factors of 158?

1, 2, 79, 158.

Nearby numbers

More about 158

    Is 158 a prime number? No, with proof | WordGPT