No—20 has divisors 2, 4, 5, and 10, so it’s composite.
If you’re staring at 20 and wondering whether it counts as prime, you’re asking the right kind of math question: “What rules decide this?” Once you learn the rule, you can sort any whole number into one of two buckets in under a minute.
This article shows exactly why 20 isn’t prime, what primes are, and a few clean tests you can reuse on homework, exams, and mental math. You’ll also see where 20 sits among nearby primes and how its factorization pops up in real school math like fractions and least common multiples.
What Makes A Number Prime?
A prime number is a whole number greater than 1 that has exactly two positive divisors: 1 and itself. That’s it. If a number has any other positive divisor, it’s not prime.
Another way to say the same thing: primes don’t break into a product of two smaller whole numbers (other than 1 times itself). Composites do.
If you want a formal definition from a standard reference, Encyclopaedia Britannica’s entry on prime numbers lines up with the classroom version and the way textbooks use the term.
Is 20 A Prime Number? In Plain Math
To test 20, you just need to see whether anything besides 1 and 20 divides it evenly. Start with the easiest checks.
Factor Pairs Show The Answer Fast
Factor pairs are two whole numbers that multiply to the target number. If 20 were prime, the only factor pair would be 1 and 20.
- 1 × 20 = 20
- 2 × 10 = 20
- 4 × 5 = 20
That’s already more than one pair. Since 20 can be written as 2 × 10 and 4 × 5, it has divisors besides 1 and itself. So 20 is composite.
Quick Division Checks Confirm It
You can also confirm by dividing:
- 20 ÷ 2 = 10 (no remainder)
- 20 ÷ 4 = 5 (no remainder)
- 20 ÷ 5 = 4 (no remainder)
- 20 ÷ 10 = 2 (no remainder)
Any one of those “no remainder” results is enough to rule out primeness.
How To Check If A Number Is Prime
Once you know the definition, you can turn it into a repeatable routine. The trick is to do the least work possible.
Step 1: Handle The Easy Edge Cases
- 0 and 1: not prime.
- 2: prime, and it’s the only even prime.
- Any even number greater than 2: not prime.
That last bullet knocks out a lot of candidates right away. Since 20 is even and greater than 2, you can stop there if you want.
Step 2: Test Divisors Up To The Square Root
If the number is odd and bigger than 2, trial division is a clean, reliable method. You test small primes as possible divisors, but only up to the square root of the number.
Why the square root limit works: if n = a × b and both a and b were bigger than √n, then their product would be bigger than n. That can’t happen, so any composite number must have a factor at or below √n.
With 20, √20 is between 4 and 5. So checking divisors 2, 3, and 4 already tells the full story.
Step 3: Use Divisibility Rules As A Speed Filter
Divisibility rules are like quick “screeners.” They don’t replace the definition, but they help you spot factors fast before you do longer division.
Khan Academy’s lesson on divisibility rules is a solid refresher if you want the standard rules for 2, 3, 5, 9, and more.
Divisibility Checks That Knock Out Non-Primes
Here’s a practical cheat sheet you can apply to many numbers. Use it like a checklist: the moment a rule fits, you’ve found a divisor.
| Check | What To Do | What It Means |
|---|---|---|
| Divisible by 2 | Last digit is 0, 2, 4, 6, or 8 | Number is even, so it has factor 2 |
| Divisible by 3 | Add digits; sum divisible by 3 | Number has factor 3 |
| Divisible by 5 | Last digit is 0 or 5 | Number has factor 5 |
| Divisible by 9 | Add digits; sum divisible by 9 | Number has factor 9 |
| Divisible by 10 | Last digit is 0 | Number has factor 10 |
| Divisible by 4 | Last two digits divisible by 4 | Number has factor 4 |
| Divisible by 6 | Divisible by 2 and by 3 | Number has factor 6 |
| Divisible by 8 | Last three digits divisible by 8 | Number has factor 8 |
| Divisible by 11 | Alternating sum of digits divisible by 11 | Number has factor 11 |
| Prime test shortcut | Check primes up to √n | If none divide evenly, n is prime |
Run those checks on 20 and you get instant hits: it ends in 0, so it’s divisible by 2, 5, and 10. The “last two digits” rule also shows 20 is divisible by 4. That’s plenty of divisors, so 20 is not prime.
Prime Factorization Of 20 And What It Tells You
Prime factorization breaks a number into primes multiplied together. This is where primes stop feeling like trivia and start feeling like a tool.
Write 20 As A Product Of Primes
Start dividing 20 by the smallest prime that works:
- 20 = 2 × 10
- 10 = 2 × 5
So:
20 = 2 × 2 × 5 = 2² × 5
Since 20 breaks into primes, it’s composite by definition.
Where This Shows Up In School Math
That factorization helps in a few common spots:
- Simplifying fractions: If a numerator and denominator share factors, you can cancel them. Knowing 20 = 2² × 5 makes shared factors easy to spot.
- Greatest common factor: Compare prime factorizations and take the shared primes with the smallest exponents.
- Least common multiple: Combine prime factors and take the largest exponents you need to cover both numbers.
Say you’re finding the LCM of 12 and 20. Write them as primes: 12 = 2² × 3 and 20 = 2² × 5. The LCM is 2² × 3 × 5 = 60. No guesswork.
Where 20 Sits Near Nearby Primes
It also helps to see 20 on a number line with its neighbors. Primes thin out as numbers grow, but in the teens and twenties you still see them often.
The primes around 20 are 17, 19, 23, and 29. Notice what happens: 18 and 20 are even, 21 is 3 × 7, 22 is even, 24 is even, 25 is 5 × 5, 26 is even, 27 is 3 × 9, and 28 is even. A lot of numbers get knocked out by small factors.
Prime Or Composite From 15 To 25
This mini chart makes it concrete. You can treat each “reason” as a fast divisor check.
| Number | Prime Or Composite | Reason |
|---|---|---|
| 15 | Composite | 3 × 5 |
| 16 | Composite | 4 × 4 |
| 17 | Prime | Only 1 and 17 divide evenly |
| 18 | Composite | Even (2 × 9) |
| 19 | Prime | Only 1 and 19 divide evenly |
| 20 | Composite | 2 × 10 (also 4 × 5) |
| 21 | Composite | 3 × 7 |
| 22 | Composite | Even (2 × 11) |
| 23 | Prime | Only 1 and 23 divide evenly |
| 24 | Composite | Even (2 × 12) |
| 25 | Composite | 5 × 5 |
Spot the pattern: in this range, most non-primes fall fast to checks for 2, 3, or 5. When a number slips past those, it has a better shot at being prime.
Common Mix-Ups When Deciding If 20 Is Prime
A lot of “prime number” mistakes come from mixing up vocabulary. Here are the ones that show up the most in classwork.
Thinking “Odd” Means Prime
Every prime greater than 2 is odd, so it’s easy to flip the rule by accident. Odd is a requirement for primes above 2, but it’s not a guarantee.
9 is odd and composite. 15 is odd and composite. 21 is odd and composite. Odd just means “not divisible by 2.” You still need to check 3, 5, 7, and so on.
Mixing Up Factors And Multiples
A factor divides a number. A multiple is a number you get by multiplying.
- 2, 4, 5, 10 are factors of 20.
- 20, 40, 60, 80 are multiples of 20.
If you’re checking primeness, you care about factors. Multiples don’t help you decide.
Forgetting That 1 Is Not Prime
This one trips people up because 1 feels special. It is special, but not prime.
If 1 were prime, prime factorization would stop being unique. You could tack extra 1’s onto any factorization and create infinite “different” versions. Keeping 1 out of the prime list keeps the system clean.
Quick Practice You Can Do Without A Calculator
Try these in your head. The goal is to use fast checks, not long division.
Practice Set
- Is 21 prime? If not, name one divisor.
- Is 29 prime? Check primes up to √29.
- Is 37 prime? Check 2, 3, and 5 first, then 7.
- List the prime factors of 84.
Answer Check Hints
- 21 fails the “sum of digits divisible by 3” check.
- √29 is a bit above 5, so checking 2, 3, and 5 is enough.
- √37 is a bit above 6, so checking 2, 3, 5, then 7 covers it.
- 84 is even, so start with 2, then keep breaking it down.
If you can run those checks smoothly, deciding whether a number is prime starts to feel automatic. And once that’s automatic, topics like simplifying fractions and finding LCMs get easier too.
References & Sources
- Encyclopaedia Britannica.“Prime number.”Defines prime numbers and the divisor rule used in this article.
- Khan Academy.“Divisibility rules.”Lists standard divisibility checks used to spot factors quickly.