Prime & Composite
Numbers
Master how to identify and classify numbers as prime or composite: the building blocks of all number theory.
What Is a Factor?
A factor of a number \( n \) is any whole number that divides \( n \) evenly, meaning the remainder is \( 0 \). Understanding factors is the key to classifying numbers.
Defining Prime Numbers
A prime number is a whole number greater than \( 1 \) that has exactly two distinct factors: \( 1 \) and itself. No other number divides it evenly.
Defining Composite Numbers
A composite number is a whole number greater than \( 1 \) that has more than two distinct factors. It can be divided evenly by at least one number other than \( 1 \) and itself.
The Special Cases: \( 0 \) and \( 1 \)
The Fundamental Theorem of Arithmetic
This means prime numbers are the building blocks of all integers: every composite number is built by multiplying primes together.
Prime vs. Composite
| Prime | Composite | |
|---|---|---|
| Factor count | Exactly \( 2 \) | More than \( 2 \) |
| Smallest example | \( 2 \) | \( 4 \) |
| Even numbers? | Only \( 2 \) | \( 4, 6, 8, 10, \dots \) |
| Divisible by | \( 1 \) and itself only | At least one other number |
| Role in math | Building blocks | Products of primes |
Divisibility Rules Shortcut
Before testing every possible factor, use divisibility rules to quickly check if a number is composite.
The Square Root Test
Why? If \( n = a \times b \), then at least one of \( a \) or \( b \) must be \(\leq \sqrt{n}\). So if no small factor exists, no factor pair exists at all.
How to Classify a Number
Example: Is \( 51 \) Prime?
Example: Is \( 67 \) Prime?
Example: Is \( 91 \) Prime?
This is a classic trap. The number \( 91 \) looks prime, but let's apply our method carefully.
The Sieve of Eratosthenes
An ancient algorithm for finding all primes up to a given limit: cross out multiples of each prime, starting from \( 2 \).
Common Mistakes
Quick Reference Summary
| Number | Classification | Factors |
|---|---|---|
| \( 1 \) | Neither | \( 1 \) |
| \( 2 \) | Prime | \( 1, 2 \) |
| \( 9 \) | Composite | \( 1, 3, 9 \) |
| \( 29 \) | Prime | \( 1, 29 \) |
| \( 51 \) | Composite | \( 1, 3, 17, 51 \) |
| \( 97 \) | Prime | \( 1, 97 \) |
Question 1 of 5
Which of the following numbers is prime?
Question 2 of 5
Which statement about the number \( 1 \) is correct?
Question 3 of 5
To determine whether \( 113 \) is prime, you need to check divisibility by all primes up to:
Question 4 of 5
How many prime numbers are there between \( 20 \) and \( 40 \) inclusive?
Question 5 of 5
Which of the following is the prime factorization of \( 84 \)?