Loadingโฆ
Identify prime and composite numbers
Learn step-by-step with practice exercises built right in.
A prime number is a number that has EXACTLY TWO factors: 1 and itself.
Examples of prime numbers:
Key fact: Prime numbers can ONLY be divided evenly by 1 and themselves!
A composite number is a number that has MORE than two factors.
Examples of composite numbers:
Key fact: Composite numbers can be divided evenly by numbers OTHER than just 1 and themselves!
Is 7 a prime number or a composite number?
To determine if 7 is prime, check if it has exactly two factors: 1 and itself.
Factors of 7: 1 ร 7 = 7
That's it! 7 only has two factors: 1 and 7.
Answer: 7 is a PRIME number.
Is 12 a prime number or a composite number?
Review key concepts with our flashcard system
Explore more Grade 5 Math topics
1 is NEITHER prime nor composite!
Why? Because 1 only has ONE factor (itself).
1 is special and gets its own category!
2 is the ONLY even prime number!
2 is the smallest prime number!
Here are all the prime numbers from 1 to 100:
2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97
That's 25 prime numbers from 1 to 100!
Notice:
Method: Test for factors
Example: Is 17 prime?
Step 1: Try dividing by 2 17 รท 2 = 8.5 โ (not evenly)
Step 2: Try dividing by 3 17 รท 3 = 5.67... โ (not evenly)
Step 3: Try dividing by 4 17 รท 4 = 4.25 โ (not evenly)
Step 4: Try dividing by 5 17 รท 5 = 3.4 โ (not evenly)
We can stop here! (Why? If there are no factors by now, there won't be any)
17 is PRIME! โ (only factors are 1 and 17)
You only need to test up to the square root of the number!
Example: Is 29 prime?
Square root of 29 โ 5.4
Test divisors: 2, 3, 4, 5 (stop at 5!)
29 is PRIME! โ
Is 2 prime? Factors: 1, 2 Yes! โ
Is 3 prime? Factors: 1, 3 Yes! โ
Is 4 prime? Factors: 1, 2, 4 No - it's composite! (has more than 2 factors)
Is 5 prime? Factors: 1, 5 Yes! โ
Is 6 prime? Factors: 1, 2, 3, 6 No - it's composite!
Is 7 prime? Factors: 1, 7 Yes! โ
Is 8 prime? Factors: 1, 2, 4, 8 No - it's composite!
Is 9 prime? Factors: 1, 3, 9 No - it's composite!
Is 10 prime? Factors: 1, 2, 5, 10 No - it's composite!
Divisible by 2? (even number) โ Composite!
Divisible by 3? (digit sum divisible by 3) โ Composite!
Divisible by 5? (ends in 0 or 5) โ Composite!
Exception: 2, 3, and 5 themselves ARE prime!
| Number | Factors | Prime or Composite? |
|---|---|---|
| 1 | 1 | Neither |
| 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 |
| 11 | 1, 11 | Prime โ |
| 12 | 1, 2, 3, 4, 6, 12 | Composite |
Prime numbers are the "building blocks" of all numbers!
Every composite number can be broken down into prime factors.
Example: 12 = 2 ร 2 ร 3
This is called prime factorization (you'll learn more later)!
โ Mistake 1: Thinking 1 is prime 1 is NEITHER prime nor composite! โ
โ Mistake 2: Thinking 2 is composite because it's even 2 IS prime (the only even prime)! โ
โ Mistake 3: Thinking all odd numbers are prime 9, 15, 21, 25, 27 are odd but composite! โ
Remember the first few primes: "2, 3, 5, 7, 11, 13 went to 17 to buy 19, 23 happy 29 year-olds 31 books..."
Or just remember: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29
To determine if a number is prime or composite:
Step 1: Is it 1? โ Neither Step 2: Is it 2? โ Prime Step 3: Is it even? โ Composite Step 4: Try dividing by small primes (2, 3, 5, 7...) Step 5: If no factors found โ Prime!
Cryptography (Internet Security): Prime numbers are used to keep your passwords and credit card info safe online!
Nature: Some cicadas come out every 13 or 17 years (both prime numbers) - this helps them survive!
Twin primes are prime numbers that differ by 2.
Examples:
Cool pattern! โ
An ancient method to find all primes up to a certain number!
How it works (for numbers 1-30):
Numbers left circled are all prime! โ
Example 1: Is 13 prime or composite?
Example 2: Is 15 prime or composite?
Example 3: Is 23 prime or composite?
Prime Number:
Composite Number:
Neither:
Every whole number greater than 1 is either prime or composite!
Prime: Building blocks (can't be broken down further) Composite: Made up of primes (can be broken down)
Remember:
To test: Find all factors. If there are exactly 2 (1 and itself), it's prime! โ
Check the factors of 12.
Factors of 12: 1 ร 12 = 12 2 ร 6 = 12 3 ร 4 = 12
12 has more than two factors: 1, 2, 3, 4, 6, 12
Answer: 12 is a COMPOSITE number.
List all prime numbers between 20 and 30.
Check each number between 20 and 30:
20: Composite (divisible by 2, 4, 5, 10) 21: Composite (divisible by 3, 7) 22: Composite (divisible by 2, 11) 23: Prime (only divisible by 1 and 23) 24: Composite (divisible by 2, 3, 4, 6, 8, 12) 25: Composite (divisible by 5) 26: Composite (divisible by 2, 13) 27: Composite (divisible by 3, 9) 28: Composite (divisible by 2, 4, 7, 14) 29: Prime (only divisible by 1 and 29) 30: Composite (divisible by 2, 3, 5, 6, 10, 15)
Answer: 23 and 29
Is 1 a prime number, composite number, or neither?
Let's check the definition:
Prime number: Has EXACTLY two factors (1 and itself) Composite number: Has MORE than two factors
Factors of 1: Just 1 (because 1 ร 1 = 1)
1 only has ONE factor, not two.
Answer: 1 is NEITHER prime nor composite. It's a special number!
Explain why 51 is NOT a prime number.
To prove 51 is not prime, we need to find a factor other than 1 and 51.
Check if 51 is divisible by small primes:
51 รท 3 = 17
So 51 = 3 ร 17
Factors of 51: 1, 3, 17, 51
Answer: 51 is composite because it has factors other than 1 and itself. Specifically, 51 = 3 ร 17.