No, 1 is not a prime number. A prime number must have exactly two different factors, 1 and itself, and the number 1 only has one. It is not a composite number either. It sits in a group of its own.
That might sound like a technicality, and many people suspect that mathematicians simply made up a rule to leave 1 out. There is a much better reason than that, and once you see it, keeping 1 off the list starts to look like the only sensible choice.
What is a prime number?
A prime number is a whole number greater than 1 that can only be divided evenly by 1 and by itself. In other words, it has exactly two factors.
- 7 is prime. Its only factors are 1 and 7.
- 6 is not prime. Its factors are 1, 2, 3 and 6.
A whole number greater than 1 that has more than two factors is called composite. So 6, 8, 9 and 10 are composite.
Here is how the first few numbers sort themselves out:
| Number | Factors | How many factors? | Type |
|---|---|---|---|
| 1 | 1 | 1 | Neither |
| 2 | 1, 2 | 2 | Prime |
| 3 | 1, 3 | 2 | Prime |
| 4 | 1, 2, 4 | 3 | Composite |
| 5 | 1, 5 | 2 | Prime |
| 6 | 1, 2, 3, 6 | 4 | Composite |
| 7 | 1, 7 | 2 | Prime |
| 8 | 1, 2, 4, 8 | 4 | Composite |
| 9 | 1, 3, 9 | 3 | Composite |
Look at the first row. The number 1 is divisible by 1 and by itself, but "1" and "itself" are the same number. It has one factor, not two, so it fails the test.
The real reason 1 is left out
If the definition were the only issue, you could just rewrite it. The deeper reason has to do with what prime numbers are for.
Prime numbers are the building blocks of all other whole numbers. Every whole number greater than 1 can be made by multiplying primes together, and there is only one way to do it, apart from the order you write them in.
- 12 = 2 × 2 × 3
- 30 = 2 × 3 × 5
- 84 = 2 × 2 × 3 × 7
This idea is so important that it has a grand name: the fundamental theorem of arithmetic. It is the reason primes are useful in everything from simplifying fractions to keeping online payments secure.
Now imagine that 1 counted as prime. Suddenly 12 could be written as 2 × 2 × 3, or 1 × 2 × 2 × 3, or 1 × 1 × 2 × 2 × 3, and so on forever. The "only one way" rule would collapse. Every theorem about primes would need an extra line saying "except 1". It is far tidier to leave 1 out of the club.
So what kind of number is 1?
Mathematicians call 1 a unit: a number that divides every whole number. It is neither prime nor composite. Zero is also neither prime nor composite, so the full picture for whole numbers looks like this:
- 0 and 1: neither prime nor composite
- 2, 3, 5, 7, 11 ...: prime
- 4, 6, 8, 9, 10 ...: composite
Was 1 ever a prime number?
Interestingly, yes. The ancient Greeks did not treat 1 as a number at all. To them, it was the unit that other numbers were built from. Later, some mathematicians did count 1 as prime, and some printed tables of prime numbers from the early 1900s still started with 1.
As mathematics developed, it became clear that leaving 1 out made the important theorems much simpler to state. By the middle of the 20th century, the definition we use today was standard. So if an older relative remembers being told that 1 is prime, they are not imagining it. The definition really did change.
Prime numbers from 1 to 100
There are 25 prime numbers up to 100. They are highlighted in the chart below, with 1 marked separately because it is neither prime nor composite.
A few things jump out:
- 2 is the only even prime. Every other even number is divisible by 2.
- Apart from 2 and 5, no prime ends in 0, 2, 4, 5, 6 or 8. Every prime after that ends in 1, 3, 7 or 9.
- Primes thin out as numbers get bigger, but they never stop. More than 2,000 years ago, Euclid proved that there are infinitely many of them.
How to check if a number is prime
You do not need to test every number below it. Try dividing by the primes 2, 3, 5, 7 and so on, but stop once the prime you are testing, multiplied by itself, is bigger than your number.
- Is 97 prime? We only need to test 2, 3, 5 and 7, because 11 × 11 = 121 is bigger than 97. None of them divides 97 evenly, so 97 is prime.
- Is 91 prime? It looks prime, and it fools a lot of people. But 91 = 7 × 13, so it is composite.
Knowing your times tables makes this much faster, because spotting factors is really just multiplication in reverse.
How to explain it to a child
Try the "factor friends" idea. Every number has friends that divide into it evenly. Prime numbers are picky: they have exactly two friends, 1 and themselves. The number 7 has two friends, 1 and 7. The number 1 is so lonely that its only friend is itself, so it does not make the prime club.
You can also use counters or blocks. Ask a child to arrange 12 counters into a rectangle. They can make 2 rows of 6, 3 rows of 4, or 1 row of 12. Now try 7 counters: the only option is one long line. Numbers like 7, which can only make a single line, are prime.
Quick quiz: prime, composite or neither?
| Number | Answer | Why |
|---|---|---|
| 1 | Neither | Only one factor |
| 2 | Prime | Factors 1 and 2 |
| 9 | Composite | 3 × 3 |
| 17 | Prime | Factors 1 and 17 |
| 51 | Composite | 3 × 17 |
| 91 | Composite | 7 × 13 |
| 97 | Prime | No prime up to 7 divides it |
Spotting factors quickly comes down to knowing your multiplication facts. Our Multiplication game and Division game are a fun way to build that speed in 60-second rounds.
Multiplication GameSharpen the multiplication facts you need to spot factors fast.Play free →The bottom line
1 is not a prime number. It has only one factor, while primes need exactly two. More importantly, leaving 1 out is what lets every whole number be built from primes in exactly one way, which is the main reason primes matter. So 1 stands alone: not prime, not composite, but a factor of every number there is.