Is 1218 a prime number?
No, 1218 is not a prime number. It is divisible by 2: 1218 = 2 × 609.
Is 1218 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 √1218 ≈ 34.90. If none of them divides 1218, it is prime.
- 3
2 divides 1218 exactly, so it is not prime. Its prime factorisation is
LaTeX source of the formulas on this page
\[ 1218 = 2 \times 3 \times 7 \times 29 \]
Testing 1218 by the primes up to its square root
| Prime | Division | Result |
|---|---|---|
| 2 | 1218 ÷ 2 | divides exactly (609) |
| 3 | 1218 ÷ 3 | divides exactly (406) |
| 5 | 1218 ÷ 5 | leaves 3 |
| 7 | 1218 ÷ 7 | divides exactly (174) |
| 11 | 1218 ÷ 11 | leaves 8 |
| 13 | 1218 ÷ 13 | leaves 9 |
| 17 | 1218 ÷ 17 | leaves 11 |
| 19 | 1218 ÷ 19 | leaves 2 |
| 23 | 1218 ÷ 23 | leaves 22 |
| 29 | 1218 ÷ 29 | divides exactly (42) |
| 31 | 1218 ÷ 31 | leaves 9 |
Questions
Is 1218 a prime number?
No, 1218 is not a prime number. It is divisible by 2: 1218 = 2 × 609.
What is the next prime after 1218?
1223.
What is the prime number before 1218?
1217.
What are the factors of 1218?
1, 2, 3, 6, 7, 14, 21, 29, 42, 58, 87, 174, 203, 406, 609, 1218.