Prime & Composite
Numbers
Learn how to determine whether a number is prime or composite by examining its factors.
SHSAT Math
First, What Is a Factor?
A factor of a whole number is a number that divides it evenly, leaving no remainder. Factors always come in pairs that multiply to give the number.
Prime vs. Composite
Prime Number
A whole number greater than 1 with exactly two factors: 1 and itself.
Composite Number
A whole number greater than 1 with more than two factors.
A Visual Way to See It
A prime number's objects can only form a single row. A composite number can be arranged into a rectangle with more than one row.
The Core Rule
Two Special Cases
The Number 1
Has only one factor (itself). Since prime requires exactly two factors, 1 is neither prime nor composite.
The Number 2
The only even prime. Its factors are just 1 and 2. Every other even number is composite.
How to Test a Number
1
Check the basics. If the number is \( 0 \) or \( 1 \), it is neither. If it is \( 2 \), it is prime.
2
Test small divisors. Try dividing by \( 2, 3, 5, 7, \dots \) — the primes in order.
3
Found a divisor? If any prime divides it evenly, the number is composite.
4
Stop at \( \sqrt{n} \). If no prime up to \( \sqrt{n} \) divides it, the number is prime.
Fast Divisibility Checks
| Divisible by | Quick Test |
|---|---|
| 2 | Last digit is even (0,2,4,6,8) |
| 3 | Digit sum is divisible by 3 |
| 5 | Last digit is 0 or 5 |
| 9 | Digit sum is divisible by 9 |
| 10 | Last digit is 0 |
Example 1: Is 17 Prime?
Example 2: Is 51 Prime?
Example 3: Is 29 Prime?
Common Mistakes
✕ Calling 1 prime
1 has only one factor, so it is neither prime nor composite.
✕ Assuming odd = prime
Numbers like 9, 15, 21, and 51 are odd but composite.
✕ Forgetting 2 is prime
2 is the only even prime — don't rule it out for being even.
Know These Primes by Heart
Summary Table
| Prime | Composite | |
|---|---|---|
| Number of factors | Exactly 2 | More than 2 |
| Smallest example | 2 | 4 |
| Even examples | Only 2 | 4, 6, 8, 10, … |
| Odd examples | 3, 5, 7, 11 | 9, 15, 21, 51 |
| Special: 0 and 1 | Neither | Neither |
Question 1 of 5
Which of the following numbers is prime?
23 has no factors other than 1 and 23. The others factor as \( 21=3\times7 \), \( 33=3\times11 \), and \( 27=3\times9 \), making them composite.
Question 2 of 5
The number \( 1 \) is best described as:
A prime number needs exactly two factors. The number 1 has only one factor (itself), so it is neither prime nor composite.
Question 3 of 5
Which statement about the number \( 2 \) is true?
The factors of 2 are only 1 and 2, so it is prime. Since every other even number is divisible by 2, 2 is the only even prime.
Question 4 of 5
How many factors does a composite number have?
A composite number has more than two factors. For example, \( 12 \) has factors 1, 2, 3, 4, 6, and 12.
Question 5 of 5
Which number is composite?
\( 91 = 7 \times 13 \), so it has extra factors and is composite. The numbers 41, 43, and 47 are all primes — a common SHSAT trap!
You've Got the Key Ideas
1
Prime = exactly two factors (1 and itself).
2
Composite = more than two factors.
3
0 and 1 are neither; 2 is the only even prime.
4
Test divisibility by primes up to \( \sqrt{n} \) to decide.