Is 123 a Prime Number?
No — 123 is a composite number: 123 = 3 × 41. It has 4 factors (1, 3, 41, 123), more than the two a prime needs. Its smallest prime factor is 3.
Is 123 prime?No — composite
Previous prime113
Next prime127
Prime factorization3 × 41
Step by step
- Smallest divisor: 3 (123 ÷ 3 = 41).
- So 123 is composite: 123 = 3 × 41
The √123 test
To check 123, divide it by each prime up to √123 ≈ 11.09. If none goes in evenly, the number is prime.
| Test | Result | Verdict |
|---|---|---|
| 123 ÷ 2 | remainder 1 | ✗ not a factor |
| 123 ÷ 3 | no remainder | ✓ factor — so 123 is composite |
Nearby primes
Previous prime: 113. Next prime: 127.
Full details: factors of 123 · all primes up to 1,000.
Is 123 prime: questions
Is 123 a prime number?
No — 123 is a composite number: 123 = 3 × 41.
What are the factors of 123?
1, 3, 41, 123.
What is the next prime after 123?
127.