No, 123 is not a prime number. It is a composite number: its digits add up to 6, which is divisible by 3, so 123 is divisible by 3.
123 has divisors other than 1 and itself. The smallest is 3: 123 ÷ 3 = 41.
Prime factorization: 123 = 3 × 41.
| Number | Prime? |
|---|---|
| 119 | No, 7 × 17 |
| 120 | No, 2 × 2 × 2 × 3 × 5 |
| 121 | No, 11 × 11 |
| 122 | No, 2 × 61 |
| 124 | No, 2 × 2 × 31 |
| 125 | No, 5 × 5 × 5 |
| 126 | No, 2 × 3 × 3 × 7 |
| 127 | Yes |
More about 123: factors of 123 · 123 squared · square root of 123 · 123 in binary · 123 in Roman numerals.
Another number? Use the prime number checker for any value, or see the list of prime numbers.