Is 340 a Prime Number?

No — 340 is a composite number: 340 = 22 × 5 × 17. It has 12 factors (1, 2, 4, 5, 10, 17, 20, 34, 68, 85, 170, 340), more than the two a prime needs. Its smallest prime factor is 2.

Is 340 prime?No — composite
Previous prime337
Next prime347
Prime factorization22 × 5 × 17

Step by step

  1. Smallest divisor: 2 (340 ÷ 2 = 170).
  2. So 340 is composite: 340 = 22 × 5 × 17

The √340 test

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

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

Nearby primes

Previous prime: 337. Next prime: 347.

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

Is 340 prime: questions

Is 340 a prime number?

No — 340 is a composite number: 340 = 2^2 × 5 × 17.

What are the factors of 340?

1, 2, 4, 5, 10, 17, 20, 34, 68, 85, 170, 340.

What is the next prime after 340?

347.