M3.1.5 Chapter 5
Prime numbers
Why can 7 stones go in only one row, but 6 stones can make two rows?
Your guess
Pick one before you read on. It is fine to be wrong.
By the end you can
- Say if a number up to 100 is prime
- Find all primes up to 100 by crossing out multiples
Mei has 7 stones. She tries to lay them out in equal rows. She can make 1 row of 7. She cannot make 2 rows, or 3, or 4. Her friend has 6 stones and can make 2 rows of 3.
A prime number has exactly two factors: 1 and itself. 7 is prime, because its only factors are 1 and 7. A composite number has more than two factors. 6 is composite. Its factors are 1, 2, 3 and 6.
1 is neither prime nor composite. It has only one factor, which is itself. 2 is prime. It is the only even prime. Every other even number divides by 2, so it has at least three factors.
The primes below 20 are 2, 3, 5, 7, 11, 13, 17 and 19. The other numbers from 4 to 18 are composite.
To find every prime up to 100, cross out numbers in a hundred square. This method is called a sieve. Like a kitchen sieve, it keeps the numbers you want and lets the others fall out.
In the pictures, a crossed out number has a line through its cell and is shaded. A prime has a ring round it and bold digits.
Draw it first
Find the primes up to 100 with a sieve
1 Cross out 1, which is not prime. Ring 2, the first prime.
2 Cross out every multiple of 2 after 2. Ring 3. Cross out every multiple of 3 after 3.
3 Do the same for 5 and 7. Every number left is a prime. Ring them all.
Why stop at 7? The next prime is 11, and 11 × 11 = 121 is more than 100. A composite number up to 100 has a factor of 10 or less, other than 1. That factor is 2, 3, 5 or 7, or divides by one of them. So the sieve has crossed it out.
You can also test one number from 2 to 100 without a sieve. Divide it by 2, 3, 5 and 7. If none of them divides it exactly, it is prime. This test only works up to 100.
Worked example
Is 91 prime?
- Test 2, 3, 5 and 7. 91 is odd, so 2 fails. For 3, the digit sum is 9 + 1 = 10.
- 10 is not in the 3 times table, so 3 fails. 91 does not end in 0 or 5, so 5 fails.
- Now try 7. 91 ÷ 7 = 13, with nothing left over. So 7 is a factor and 91 is not prime.
Answer: No, 91 = 7 × 13.
Worked example
Is 59 prime?
- 59 is odd, so 2 fails. For 3, the digit sum is 5 + 9 = 14.
- 14 is not in the 3 times table, so 3 fails. 59 ends in 9, so 5 fails.
- For 7, look at 7 × 8 = 56 and 7 × 9 = 63.
- Neither is 59, so 7 fails. No test finds a factor, so 59 is prime.
Answer: Yes, 59 is prime.
See it three ways
With things
Take 7 stones. Try to make equal rows. Only one row of 7 works. Now take 6 stones. You can make 2 rows of 3, or 3 rows of 2.
As a picture
In symbols
7 has two factors, 1 and 7, so it is prime. 6 has four factors, 1, 2, 3 and 6, so it is composite.
Try it
Make a sieve to 50
You need: a sheet of paper, a pencil, a ruler or a straight edge.
- Write the numbers 1 to 50 in rows of 10.
- Cross out 1. Ring 2. Cross out every second number after 2.
- Ring 3. Cross out every third number after 3. Do the same for 5 and 7.
- Ring every number that is left. Count the rings.
What you will see: There are 15 rings. The first ten primes are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. After them come 31, 37, 41, 43 and 47.
A wrong idea many people have
Every odd number is prime.
Why it feels right: All the even numbers after 2 are composite. So the odd numbers look like the ones that are left.
The test that breaks it: Try 9. 9 = 3 × 3, so it has three factors. Try 15. 15 = 3 × 5. Try 21 and 25 too.
What is true: Odd numbers can be composite. 9, 15, 21, 25 and 27 are all odd and composite. Only the numbers with exactly two factors are prime.
Key words
- prime number
- a number with exactly two factors, 1 and itself.
- composite number
- a number with more than two factors.
- sieve
- a way to find primes by crossing out multiples.
Back to your guess
The answer is B: A prime number has exactly two factors: 1 and itself.
A prime number has exactly two factors, 1 and itself. 9 is odd but 3 divides it, so 9 is not prime. And 2 is prime, even though it is in the 2 times table.
Check yourself
Try each one before you look. A wrong answer tells you where to go next.
Is 51 prime? Say why.
See the answer
No, 51 = 3 × 17.
The digit sum is 5 + 1 = 6, which is in the 3 times table. So 3 divides 51, and 51 = 3 × 17.
Which of these numbers is prime?
See the answer
59
Test 2, 3, 5 and 7 on 59. None divides it exactly. The other three each have a factor from that list.
- If you chose B: 65 ends in 5, so 5 divides it. 65 = 5 × 13. Go to M3.1.5.
- If you chose C: You may think every odd number is prime. The digit sum of 57 is 12, so 3 divides it. 57 = 3 × 19. Go to M3.1.5.
- If you chose D: 63 is in the 7 times table and in the 9 times table. It has more than two factors. Go to M3.1.5.
Which of these statements is true?
See the answer
The number 2 is the only even prime.
Every even number after 2 divides by 2, so it has at least three factors. Only 2 has just two factors, 1 and 2.
The picture shows a sieve to 30 after 2 and 3. Which numbers do you cross out next?
See the answer
The multiples of 5
The first number not crossed out after 3 is 5. It is prime. Ring 5, then cross out the other multiples of 5.
Why do we cross out only multiples of 2, 3, 5 and 7 up to 100?
See the answer
The next prime is 11, and 11 × 11 = 121 is more than 100.
A composite number up to 100 has a factor of 10 or less, other than 1. Every such factor is 2, 3, 5 or 7, or divides by one of them.
What is the smallest prime factor of 91?
See the answer
7
2, 3 and 5 do not divide 91, but 7 × 13 = 91.
How many primes are there from 1 to 30?
See the answer
10 primes
The primes are 2, 3, 5, 7, 11, 13, 17, 19, 23 and 29. That makes 10.
Look at the last picture of the sieve in "Draw it first". Count the ringed numbers. How many primes are there up to 100?
See the answer
25 primes
Count the rings row by row: 4, 4, 2, 2, 3, 2, 2, 3, 2 and 1. They add up to 25.
From an earlier chapter
Is 8 124 divisible by 3? Use the digit sum.
See the answer
Yes, because the digit sum is 15.
8 + 1 + 2 + 4 = 15, and 15 = 3 × 5. So 8 124 is divisible by 3.
Keep it
Copy this into your exercise book.
A prime has exactly two factors, 1 and itself. 1 is not prime. 2 is the only even prime. There are 25 primes up to 100. For a number from 2 to 100, test with 2, 3, 5 and 7.
Draw: A square of the numbers 1 to 30 in rows of 10. Cross out the composite numbers and ring the primes.