Is 126 a prime number?
No, 126 is not a prime number. It is divisible by 2: 126 = 2 × 63.
Is 126 prime?
Pick any whole number from 1 to 10,000.
How to work it out
- 1
A prime number has exactly two factors: 1 and itself.
- 2
It is enough to test the primes up to √126 ≈ 11.22. If none of them divides 126, it is prime.
- 3
2 divides 126 exactly, so it is not prime. Its prime factorisation is
LaTeX source of the formulas on this page
\[ 126 = 2 \times 3^{2} \times 7 \]Testing 126 by the primes up to its square root
| Prime | Division | Result |
|---|---|---|
| 2 | 126 ÷ 2 | divides exactly (63) |
| 3 | 126 ÷ 3 | divides exactly (42) |
| 5 | 126 ÷ 5 | leaves 1 |
| 7 | 126 ÷ 7 | divides exactly (18) |
| 11 | 126 ÷ 11 | leaves 5 |
Questions
Is 126 a prime number?
No, 126 is not a prime number. It is divisible by 2: 126 = 2 × 63.
What is the next prime after 126?
127.
What is the prime number before 126?
113.
What are the factors of 126?
1, 2, 3, 6, 7, 9, 14, 18, 21, 42, 63, 126.