Is 342 a Prime Number?

No — 342 is a composite number: 342 = 2 × 32 × 19. It has 12 factors (1, 2, 3, 6, 9, 18, 19, 38, 57, 114, 171, 342), more than the two a prime needs. Its smallest prime factor is 2.

Is 342 prime?No — composite
Previous prime337
Next prime347
Prime factorization2 × 32 × 19

Step by step

  1. Smallest divisor: 2 (342 ÷ 2 = 171).
  2. So 342 is composite: 342 = 2 × 32 × 19

The √342 test

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

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

Nearby primes

Previous prime: 337. Next prime: 347.

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

Is 342 prime: questions

Is 342 a prime number?

No — 342 is a composite number: 342 = 2 × 3^2 × 19.

What are the factors of 342?

1, 2, 3, 6, 9, 18, 19, 38, 57, 114, 171, 342.

What is the next prime after 342?

347.