Skip to content
Prime Checker
Menu

Is 289 a Prime Number?

Updated · exact integer math

No, 289 is not a prime number. It's composite.

289 = 17²

Why 289 is not prime

289 is odd and doesn't end in 5, but 17 divides it: 289 ÷ 17 = 17.

Its prime factorization is 17², and it has 3 divisors: 1, 17, 289. Numbers like this look prime at first glance, which is why 289 is a common trick question.

The nearest primes are 283 (below) and 293 (above).

Numbers around 289

NumberPrime?Factorization
284Composite2² × 71
285Composite3 × 5 × 19
286Composite2 × 11 × 13
287Composite7 × 41
288Composite2⁵ × 3²
289Composite17²
290Composite2 × 5 × 29
291Composite3 × 97
292Composite2² × 73
293Prime293
294Composite2 × 3 × 7²

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 293 prime?

Yes, prime

Number of divisors
2
Previous prime
283
Next prime
307

Divisors: 1, 293

Its only divisors are 1 and 293, so it's prime.

See where 289 sits among the first hundred numbers on the prime numbers chart, or browse every number from 1 to 1,000.

Questions people ask

Is 289 a prime number?

No, 289 is not a prime number. It's composite.

What are the factors of 289?

3 factors: 1, 17, 289.

Is 289 prime or composite?

Composite: 289 = 17².

Sources

More prime number tools