Is 217 a Prime Number?
Updated · exact integer math
No, 217 is not a prime number. It's composite.
217 = 7 × 31
Why 217 is not prime
217 is odd and doesn't end in 5, but 7 divides it: 217 ÷ 7 = 31.
Its prime factorization is 7 × 31, and it has 4 divisors: 1, 7, 31, 217. Numbers like this look prime at first glance, which is why 217 is a common trick question.
The nearest primes are 211 (below) and 223 (above).
Numbers around 217
| Number | Prime? | Factorization |
|---|---|---|
| 212 | Composite | 2² × 53 |
| 213 | Composite | 3 × 71 |
| 214 | Composite | 2 × 107 |
| 215 | Composite | 5 × 43 |
| 216 | Composite | 2³ × 3³ |
| 217 | Composite | 7 × 31 |
| 218 | Composite | 2 × 109 |
| 219 | Composite | 3 × 73 |
| 220 | Composite | 2² × 5 × 11 |
| 221 | Composite | 13 × 17 |
| 222 | Composite | 2 × 3 × 37 |
Check another number
Any whole number up to 24 digits. Commas are fine.
Try 1,000,003 or 561. Want a list instead? See the list of prime numbers.
Is 223 prime?
Yes, prime
Divisors: 1, 223
Its only divisors are 1 and 223, so it's prime.
See where 217 sits among the first hundred numbers on the prime numbers chart, or browse every number from 1 to 1,000.
Questions people ask
Is 217 a prime number?
No, 217 is not a prime number. It's composite.
What are the factors of 217?
4 factors: 1, 7, 31, 217.
Is 217 prime or composite?
Composite: 217 = 7 × 31.