Prime & Composite Numbers
A prime number has exactly two positive factors: 1 and itself. The first primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29 — worth memorising through at least 30. Two facts trip people up: 1 is not prime (it has only one factor), and 2 is the only even prime (every other even number has 2 as a third factor). A composite number has more than two factors. To test whether n is prime, you only need to try prime divisors up to √n — if none divides n, it is prime; for example, to check 97 you test 2, 3, 5, 7 (since 7² = 49 < 97 < 121 = 11²) and stop. On the GRE, "prime" is a favourite constraint in Quantitative Comparison because it quietly forces 2 into the picture as the lone even case that can break a pattern.
✅ Solved examples
✏️ Practice — try these, take hints as needed
📝 Topic test — 8 questions
Auto-graded with full solutions; saved to your dashboard. Use the calculator and formula sheet (top-right) any time.
Formula Reference Sheet
Primes & factorization
| Prime | exactly two factors: 1 and itself |
|---|---|
| Smallest / only even prime | 2 |
| Fundamental Theorem | unique prime factorization for n > 1 |
| Primality check up to | √n (test primes ≤ √n) |
Counting from exponents
| n = p^a · q^b · r^c | number of factors = (a+1)(b+1)(c+1) |
|---|---|
| Perfect square | every prime exponent is even |
| Perfect cube | every prime exponent is a multiple of 3 |
| Odd number of factors ⇔ | n is a perfect square |