Is 667 a Prime Number?

No — 667 is a composite number: 667 = 23 × 29. It has 4 factors (1, 23, 29, 667), more than the two a prime needs. Its smallest prime factor is 23.

Is 667 prime?No — composite
Previous prime661
Next prime673
Prime factorization23 × 29

Step by step

  1. Smallest divisor: 23 (667 ÷ 23 = 29).
  2. So 667 is composite: 667 = 23 × 29

The √667 test

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

TestResultVerdict
667 ÷ 2remainder 1✗ not a factor
667 ÷ 3remainder 1✗ not a factor
667 ÷ 5remainder 2✗ not a factor
667 ÷ 7remainder 2✗ not a factor
667 ÷ 11remainder 7✗ not a factor
667 ÷ 13remainder 4✗ not a factor
667 ÷ 17remainder 4✗ not a factor
667 ÷ 19remainder 2✗ not a factor
667 ÷ 23no remainder✓ factor — so 667 is composite

Nearby primes

Previous prime: 661. Next prime: 673.

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

Is 667 prime: questions

Is 667 a prime number?

No — 667 is a composite number: 667 = 23 × 29.

What are the factors of 667?

1, 23, 29, 667.

What is the next prime after 667?

673.