Prime Numbers and Prime Factorization
A prime number is a whole number greater than 1 that has exactly two factors: 1 and itself. A composite number has more than two factors. Prime factorization breaks any composite number down into a product of primes — like finding the atomic building blocks of a number.
Prime vs. Composite
| Number | Factors | Type |
|---|---|---|
| 2 | 1, 2 | Prime |
| 3 | 1, 3 | Prime |
| 4 | 1, 2, 4 | Composite |
| 5 | 1, 5 | Prime |
| 6 | 1, 2, 3, 6 | Composite |
| 7 | 1, 7 | Prime |
| 8 | 1, 2, 4, 8 | Composite |
| 9 | 1, 3, 9 | Composite |
| 10 | 1, 2, 5, 10 | Composite |
Special cases:
- 1 is neither prime nor composite (it has only one factor)
- 2 is the only even prime number (every other even number is divisible by 2)
Prime Numbers Under 100
That is 25 prime numbers under 100. The rest (other than 1) are composite.
How to Test if a Number Is Prime
To check whether a number is prime, try dividing by every prime up to . If none divide evenly, the number is prime.
Example 1: Is 29 prime?
, so check primes up to 5: 2, 3, 5.
- — not divisible
- — not divisible
- — not divisible
No prime factor found. 29 is prime.
Example 2: Is 51 prime?
, so check primes up to 7: 2, 3, 5, 7.
- — no
- — yes!
. 51 is composite.
Prime Factorization
Every composite number can be written as a product of prime numbers. This representation is unique (up to the order of the factors) — this is called the Fundamental Theorem of Arithmetic.
The Factor Tree Method
- Write the number at the top
- Split it into any two factors
- If a factor is prime, circle it (it is done)
- If a factor is composite, split it again
- Continue until all branches end in primes
Example 3: Prime Factorization of 60
Start:
Split 6: (both prime)
Split 10: (both prime)
Example 4: Prime Factorization of 72
Start:
Split 8:
Split 9:
Example 5: Prime Factorization of 180
Start:
The Division Method (Alternative)
Divide by the smallest prime that works, then divide the quotient, and repeat:
Both methods give the same result.
Why Prime Factorization Matters
Prime factorization is the key to:
- Finding the GCF and LCM of two or more numbers
- Simplifying fractions efficiently
- Understanding number relationships in algebra
Practice Problems
Test your understanding with these problems. Click to reveal each answer.
Problem 1: Is 37 prime or composite?
. Check 2, 3, 5: none divide 37 evenly.
37 is prime.
Problem 2: Is 87 prime or composite?
. Divisible by 3.
87 is composite ().
Problem 3: Find the prime factorization of 48
Problem 4: Find the prime factorization of 150
, , ,
Problem 5: Find the prime factorization of 360
, , , , ,
Key Takeaways
- Prime numbers have exactly 2 factors (1 and themselves); composite numbers have more
- 1 is neither prime nor composite; 2 is the only even prime
- To test for primality, check divisibility by primes up to
- Prime factorization expresses any composite number as a product of primes
- Use the factor tree or division method — both give the same result
- Every number has exactly one prime factorization (Fundamental Theorem of Arithmetic)
Return to Arithmetic for more foundational math topics.
Next Up in Arithmetic
Last updated: March 29, 2026