Is 642 a Prime Number?

No — 642 is a composite number: 642 = 2 × 3 × 107. It has 8 factors (1, 2, 3, 6, 107, 214, 321, 642), more than the two a prime needs. Its smallest prime factor is 2.

Is 642 prime?No — composite
Previous prime641
Next prime643
Prime factorization2 × 3 × 107

Step by step

  1. Smallest divisor: 2 (642 ÷ 2 = 321).
  2. So 642 is composite: 642 = 2 × 3 × 107

The √642 test

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

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

Nearby primes

Previous prime: 641. Next prime: 643.

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

Is 642 prime: questions

Is 642 a prime number?

No — 642 is a composite number: 642 = 2 × 3 × 107.

What are the factors of 642?

1, 2, 3, 6, 107, 214, 321, 642.

What is the next prime after 642?

643.