Is 642 a prime number?

Prime Number Checker
Number

Is 642 a prime or composite number?

Answer

Number 642 is not a Prime

642 = 2 × 3 × 107

642 has 8 divisors — 1, 2, 3, 6, 107, 214, 321 and 642; a prime has exactly two: 1 and itself.

Primes up to √642

25² = 625 ≤ 642 < 676 = 26², so it is enough to try primes up to 25

  • ÷2 divides

642 ÷ 2 = 321 — 2 divides 642, so 642 is composite

Related Calculations

See Also

FAQ

Is 642 a prime or composite number?

Number 642 is not a Prime

How many factors are in a number 642?

8

How to check if 642 is prime?

Divide 642 by the primes in order: 25² = 625 ≤ 642 < 676 = 26², so it is enough to try primes up to 25. The first one that divides it is 2: 642 ÷ 2 = 321, so 642 is composite.