The essentials
- 1 is not prime: it has only one factor. Numbers with more than two factors are called composite.
- 2 is the only even prime number: every other even number can be divided by 2.
- To check a number up to 100, try dividing it by 2, 3, 5 and 7: if none of them works, the number is prime.
The 25 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
Look at the list: after 2 and 5, every prime number ends in 1, 3, 7 or 9. That does not make every number ending in 1, 3, 7 or 9 prime, though: 21 = 3 × 7 and 51 = 3 × 17 are composite.
Interactive Sieve of Eratosthenes
Eratosthenes, a Greek scholar who lived more than 2,000 years ago, found a way to sort the primes without testing each number one by one. Write the numbers from 1 to 100, set 1 aside, then cross out the multiples of 2 (except 2), of 3 (except 3), of 5 and of 7. Every number left is prime. There is no need to go further than 7, because 11 × 11 = 121 is already more than 100.
The sieve begins: 1 is neither prime nor composite. Next, cross out the multiples of 2.
Tap any number on the chart to see whether it is prime or composite; for a composite number, the chart shows a multiplication that proves it.
How to tell if a number is prime
Three quick divisibility tests do most of the work. A number is divisible by 2 when it is even, by 5 when it ends in 0 or 5, and by 3 when the sum of its digits is a multiple of 3. For 7, divide and check.
Example 1
Is 51 prime?
- 51 is odd, so it is not divisible by 2.
- Its digits add up to 5 + 1 = 6, a multiple of 3: 51 ÷ 3 = 17.
Answer: No: 51 = 3 × 17, so 51 is composite.
Example 2
Is 91 prime?
- Not even, does not end in 0 or 5, and 9 + 1 = 10 is not a multiple of 3.
- Try 7: 91 ÷ 7 = 13.
Answer: No: 91 = 7 × 13, so 91 is composite.
Example 3
Is 97 prime?
- Not divisible by 2 or 5; 9 + 7 = 16 is not a multiple of 3.
- 97 ÷ 7 = 13 remainder 6: not divisible by 7 either.
Answer: Yes: 97 is prime.
Prime factorization
Every composite number can be written as a product of prime numbers, in only one way if you ignore the order: 12 = 2 × 2 × 3. A factor tree finds it: split the number into two factors, then split each factor again until only primes are left. These questions come from the factor trees of Filou Land’s “Fraction forge”.
Show the answer
Answer: 3 × 5 × 11
165 = 11 × 15; 15 = 3 × 5. The leaves are prime: 165 = 3 × 5 × 11. Any other correct tree gives the same leaves.
Show the answer
Answer: 2 × 3 × 3 × 3
54 = 6 × 9; 6 = 2 × 3; 9 = 3 × 3. The leaves are prime: 54 = 2 × 3 × 3 × 3. Any other correct tree gives the same leaves.
Show the answer
Answer: 2 × 7 × 13
182 = 13 × 14; 14 = 2 × 7. The leaves are prime: 182 = 2 × 7 × 13. Any other correct tree gives the same leaves.
Show the answer
Answer: 2 × 2 × 2 × 2 × 2 × 5
160 = 10 × 16; 10 = 2 × 5; 16 = 4 × 4; 4 = 2 × 2. The leaves are prime: 160 = 2 × 2 × 2 × 2 × 2 × 5. Any other correct tree gives the same leaves.
Show the answer
Answer: 2 × 2 × 2 × 2 × 3 × 3
144 = 12 × 12; 12 = 3 × 4; 4 = 2 × 2. The leaves are prime: 144 = 2 × 2 × 2 × 2 × 3 × 3. Any other correct tree gives the same leaves.
Common mistakes
- Counting 1 as a prime number: it has only one factor.
- Thinking every odd number is prime: 9, 15, 21, 27… are odd and composite.
- Stopping at 2 and 5: 51, 57, 87 and 91 hide a factor of 3 or 7.
Play with Filou
In Filou Land, Grade 6 students build factor trees and recognize prime numbers in the Fraction forge, where prime factors also help simplify fractions.
- « Fraction forge »Grades 5 to 6
Frequently asked questions
How many prime numbers are there from 1 to 100?
There are 25: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89 and 97.
Is 1 a prime number?
No. A prime number has exactly two different factors, and 1 has only one. It is neither prime nor composite.
What is the difference between prime and composite numbers?
A prime number has exactly two factors, 1 and itself. A composite number has more than two: 6 has 1, 2, 3 and 6.
Is 2 a prime number?
Yes. 2 is the smallest prime number and the only even one.