Is 238 a prime number?

Prime Number Checker
Number

Is 238 a prime or composite number?

Answer

Number 238 is not a Prime

238 = 2 × 7 × 17

238 has 8 divisors — 1, 2, 7, 14, 17, 34, 119 and 238; a prime has exactly two: 1 and itself.

Primes up to √238

15² = 225 ≤ 238 < 256 = 16², so it is enough to try primes up to 15

  • ÷2 divides

238 ÷ 2 = 119 — 2 divides 238, so 238 is composite

See Also

FAQ

Is 238 a prime or composite number?

Number 238 is not a Prime

How many factors are in a number 238?

8

How to check if 238 is prime?

Divide 238 by the primes in order: 15² = 225 ≤ 238 < 256 = 16², so it is enough to try primes up to 15. The first one that divides it is 2: 238 ÷ 2 = 119, so 238 is composite.