Prime and Composite Numbers
Introduction
You have reached the final lesson of **Foundations of Factors and Multiples ** — and it is the one that gives the course its name. Over the first three lessons, you mastered factors, factor pairs, complete factor lists, and multiples. Each of those skills was a stepping stone leading here.
Now we put them to work. In this lesson, we will sort every whole number greater than into one of two categories — prime or composite — based on how many factors it has. We will also settle the question of where belongs and discover why prime numbers earn the title of "building blocks" for all other numbers.
A Quick Look Back at Factor Counts
Recall from Lesson 2 that every whole number has a complete factor list. Some lists are short and some are long. Let's line up a few familiar examples:
| Number | Complete factor list | How many factors? |
|---|---|---|
Notice the pattern: some numbers have exactly two factors, others have many more, and stands alone with just one. That difference in factor count is precisely what separates prime numbers from composite numbers, and it is the focus of everything that follows.
Prime Numbers
A prime number is a whole number greater than that has exactly two factors: and the number itself. No other whole number divides it evenly.
Consider . If we test every whole number from up to , none of them divides without a remainder. The only factors are and , giving us exactly two, so is prime. The first several prime numbers are:
A couple of things worth noting. First, is the smallest prime and also the only even prime, because every other even number is divisible by and therefore has at least three factors. Second, being prime is not about being odd or "looking special." It comes down to one simple test: does the number have exactly two factors?
Composite Numbers
A composite number is a whole number greater than that has more than two factors. That means at least one whole number besides and the number itself divides it evenly.
Take . Its complete factor list is — six factors in total. Since that is more than two, is composite. Here are a few more examples:
| Number | Factors | Factor count | Classification |
|---|---|---|---|
| Composite | |||
| Composite | |||
| Composite | |||
| Composite |
Every composite number has at least one factor pair beyond the guaranteed pair of and the number itself. For instance, , so and are factors that make composite. If you ever find even one factor other than and the number, you can stop — the number is composite.
Where Does 1 Fit?
The number is a common source of confusion. It might feel like a prime because it cannot be broken into smaller whole-number factors. However, recall the definition: a prime must have exactly two factors. The only factor of is itself, so its factor count is just one.
Because has fewer than two factors, it does not qualify as prime. And because it does not have more than two factors, it is not composite either. Mathematicians therefore classify as neither prime nor composite — a special case we will revisit at the end of the lesson when we see why this choice matters.

Checking Larger Numbers
For small numbers like through , you can probably classify them from memory. But what about a number like or ? The technique is the same systematic approach from Lesson 2: test potential factors starting from .
Let's check . We try : since is odd, does not divide it. We try : with no remainder. We found a factor other than and , so is composite — no need to keep testing.
Now let's check . We test (no, is odd), ( remainder ), (skip — if didn't work, won't either), and ( does not end in or ) — none divide evenly. Because , we only needed to test up to ; once the test factor squared exceeds the number, any remaining factor pair would already have been found. So is prime.
This shortcut saves real work with bigger numbers. To check whether is prime, for instance, you only need to test — because .
Actually, you only need to test the prime numbers below that limit (). You can skip , and because if didn't divide , then no multiple of (like , or ) will divide it either. This makes the prime test even faster! After confirming none of those primes divide evenly, you know it is prime.
Primes as Building Blocks
Here is the most important idea in this lesson. Every composite number can be written as a product of prime numbers. Let's see this in action with :
The factor is still composite, so we split it further:
And is also composite:
Now every factor in the product () is prime, and the process stops. It must stop, because a prime number cannot be split into smaller whole-number factors. That is exactly what makes primes irreducible: they are the endpoint of any splitting process.
Think of it like building with LEGO bricks. Composite numbers are the assembled structures — they can always be taken apart into smaller pieces. Primes are the individual bricks that cannot be broken down any further. No matter what composite number you start with, the breaking-apart process always ends at primes.
This idea has a formal name: the Fundamental Theorem of Arithmetic. It states that every whole number greater than is either prime itself or can be expressed as a product of primes in exactly one way (apart from rearranging the order). This is also why is excluded from the primes — if were considered prime, we could slip as many s as we like into any product, and the "exactly one way" guarantee would fall apart.
Conclusion and Next Steps
In this lesson, you classified every whole number greater than as prime (exactly two factors) or composite (more than two factors) and established that is neither. You also discovered the deeper reason primes matter: they are the irreducible pieces from which every composite number is built, a principle captured by the Fundamental Theorem of Arithmetic.
Now it is time to put your understanding to the test. In the practice exercises ahead, you will classify numbers on sight, sort them into prime and composite groups, hunt for primes in unfamiliar ranges, and break a composite number all the way down to its prime building blocks. Jump in and see how solid your number sense has become!
