Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 2 · Factors, multiples, primes and powers
GCSE Maths · Factors, Multiples and Primes · Foundation · Lesson 2.2

GCSE Maths: Prime numbers (Foundation)

Part of the GCSE Maths factors, multiples and primes chapter (Foundation). Chapter overview · Higher version of this lesson · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
2.2

Prime numbers

Edexcel 1MA1: N4
Grade 2-4

Some numbers have lots of factors. 12 has six: 1, 2, 3, 4, 6 and 12. Other numbers have very few. The number 7 can only be made by 1 × 7, so its only factors are 1 and 7. A number like this is called a prime number.

A prime number is a whole number that has exactly two factors: 1 and itself. The first few primes are 2, 3, 5, 7, 11, 13, 17, 19 ... A number with more than two factors, such as 12, is called a composite number.

Two numbers cause trouble. 1 is not prime, because it has only one factor (1 itself). 2 is prime, and it is the only even prime, because every other even number is also divisible by 2, giving it a third factor.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
The Sieve of Eratosthenes: cross out 1, then every multiple of 2 (except 2), every multiple of 3 (except 3), every multiple of 5 and 7. What is left, shaded orange, is the 25 primes up to 100.

To find the primes this way, shade 2 then cross out all its multiples, move to the next number not crossed out (3), shade it and cross out its multiples, and so on. Any number left must be prime. You should learn the primes up to 50: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47.

How can you test a larger number such as 91 without writing out all its factors? Factors come in pairs, one small and one large. If a number has a factor bigger than its square root, its partner is smaller than the square root. So we only need to test primes up to the square root. For 91, 9 × 9 = 81 and 10 × 10 = 100, so the square root is between 9 and 10. We test 2, 3, 5 and 7. Since 91 = 7 × 13, it is not prime.

Key ideas

  • A prime has exactly two factors: 1 and itself.
  • 1 is not prime. 2 is the only even prime.
  • A number with more than two factors is composite.
  • Primes up to 50: 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47.
  • To test a number, divide by the primes up to its square root. If none goes in exactly, it is prime.
Worked example 2.2.1
Is 29 a prime number? Show your working.

Key words. A prime number has exactly two factors: 1 and itself (2, 3, 5, 7, 11 ...). A composite number has more than two factors. 1 is neither prime nor composite because it has only one factor.

Method. Test whether any prime up to √29 divides into 29.

  1. Remember what prime means. A prime has exactly two factors: 1 and itself. So if any other number divides into it, it is not prime.
    To show 29 is not prime we need one extra factor.
  2. Decide which numbers to test. Factors come in pairs. If 29 had a factor bigger than √29, its partner would be smaller than √29 and we would meet it first. Here 5 × 5 = 25 < 29 and 6 × 6 = 36 > 29, so we only need to test the primes up to 5. We test primes only, because any other divisor is built from primes.
    Primes up to 5: 2, 3, 5
  3. Divide by each of these primes in turn. Stop if one goes in exactly. One exact division proves that the number is not prime.
    29 ÷ 2 = 14 remainder 1, so 2 is not a factor.
    29 ÷ 3 = 9 remainder 2, so 3 is not a factor.
    29 ÷ 5 = 5 remainder 4, so 5 is not a factor.
  4. Decide. None of the primes up to 5 divides into 29, so 29 has no factors except 1 and itself.
    29 is prime.

Check. Its only factors are 1 and 29. ✓

Watch out. You only need to test primes, and only up to the square root. Do not forget that 2 is prime (the only even prime).

Worked example 2.2.2
Is 91 a prime number? Show your working.

Key words. A prime number has exactly two factors: 1 and itself (2, 3, 5, 7, 11 ...). A composite number has more than two factors. 1 is neither prime nor composite because it has only one factor.

Method. Test whether any prime up to √91 divides into 91.

  1. Remember what prime means. A prime has exactly two factors: 1 and itself. So if any other number divides into it, it is not prime.
    To show 91 is not prime we need one extra factor.
  2. Decide which numbers to test. Factors come in pairs. If 91 had a factor bigger than √91, its partner would be smaller than √91 and we would meet it first. Here 9 × 9 = 81 < 91 and 10 × 10 = 100 > 91, so we only need to test the primes up to 9. We test primes only, because any other divisor is built from primes.
    Primes up to 9: 2, 3, 5, 7
  3. Divide by each of these primes in turn. Stop if one goes in exactly. One exact division proves that the number is not prime.
    91 ÷ 2 = 45 remainder 1, so 2 is not a factor.
    91 ÷ 3 = 30 remainder 1, so 3 is not a factor.
    91 ÷ 5 = 18 remainder 1, so 5 is not a factor.
    91 ÷ 7 = 13 exactly, so 7 is a factor.
  4. Decide. 7 is a factor other than 1 and 91, so there are more than two factors.
    91 = 7 × 13, so 91 is not prime.

Check. 7 × 13 = 91. ✓

Watch out. You only need to test primes, and only up to the square root. Do not forget that 2 is prime (the only even prime).

Worked example 2.2.3
Write down all the prime numbers between 40 and 60.

Key words. A prime number has exactly two factors: 1 and itself (2, 3, 5, 7, 11 ...). A composite number has more than two factors. 1 is neither prime nor composite because it has only one factor.

Method. Check each number from 40 to 60: if a small prime divides it, it is not prime.

  1. List the numbers to check. Every number in the range must be tested.
    40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60
  2. Test each one. Look for a factor other than 1 and the number itself (try 2, 3, 5, 7 ...).
    40 = 2 × 20, not prime
    41: no prime up to √41 divides it, so prime ✓
    42 = 2 × 21, not prime
    43: no prime up to √43 divides it, so prime ✓
    44 = 2 × 22, not prime
    45 = 3 × 15, not prime
    46 = 2 × 23, not prime
    47: no prime up to √47 divides it, so prime ✓
    48 = 2 × 24, not prime
    49 = 7 × 7, not prime
    50 = 2 × 25, not prime
    51 = 3 × 17, not prime
    52 = 2 × 26, not prime
    53: no prime up to √53 divides it, so prime ✓
    54 = 2 × 27, not prime
    55 = 5 × 11, not prime
    56 = 2 × 28, not prime
    57 = 3 × 19, not prime
    58 = 2 × 29, not prime
    59: no prime up to √59 divides it, so prime ✓
    60 = 2 × 30, not prime
  3. Write the primes.
    41, 43, 47, 53, 59

Check. Count: 5 primes in the range. ✓

Watch out. Even numbers bigger than 2 are never prime, and numbers ending in 5 (bigger than 5) are never prime.

Worked example 2.2.4
Without working out the value, explain why 3 × 5 × 7 + 7 is not a prime number.

Key words. A prime number has exactly two factors: 1 and itself (2, 3, 5, 7, 11 ...). A composite number has more than two factors. 1 is neither prime nor composite because it has only one factor.

Method. Look for a common factor. If the whole expression has a factor other than 1 and itself, it cannot be prime.

  1. Look at the two parts of the sum. There are two terms: 3 × 5 × 7 and 7. Both contain a 7.
    3 × 5 × 7 + 7
  2. Take the common factor out. Both terms are multiples of 7, so we can write the sum as 7 times a number.
    3 × 5 × 7 + 7 = 7 × (3 × 5 + 1) = 7 × 16
  3. Explain. The number has a factor of 7, which is neither 1 nor the number itself.
    It is a multiple of 7 that is bigger than 7, so it is not prime.

Check. 3 × 5 × 7 + 7 = 105 + 7 = 112, and 112 = 7 × 16. ✓

Watch out. “Explain” needs a sentence naming the factor, not just the value.

Watch out

Do not forget that 1 is not prime and 2 is prime. Also, a number is not prime just because it is odd: 9, 15, 21, 25, 27 and 91 are odd but have other factors. And 91 looks prime but it is 7 × 13.

Exercise 2B  Prime numbers

Non-calculator
1
FWrite down the prime numbers in each list.
(a)2, 9, 11, 15, 17
(b)1, 4, 13, 21, 23
(c)27, 29, 31, 33
(d)35, 37, 39, 41
(e)43, 45, 47, 49
(f)51, 53, 55, 57
2
FList the prime numbers between 10 and 30.
3
FIs each number prime? If not, write it as a product of two smaller numbers.
(a)51
(b)57
(c)61
(d)77
(e)87
(f)89
4
FIs each number prime? Use the test with primes up to the square root.
(a)101
(b)119
(c)133
(d)143
(e)149
(f)157
5
FFind the prime number that is:
(a)the only even prime number
(b)between 90 and 100
(c)one more than 42
(d)the smallest prime number greater than 50
(e)the largest prime number less than 30
(f)a factor of 35 that is bigger than 5
6
PSRaffle tickets are numbered 1 to 30. A prime-numbered ticket wins a prize. How many tickets win?
7
PSTwo different prime numbers multiply to give the number shown. Find the two primes and add them.
(a)77
(b)143
8
RExplain why 2 is the only even prime number.
9
RZoe says: “All odd numbers are prime.” Give an example to show she is wrong.
10
RSam says: “1 is a prime number, because its only factors are 1 and itself.” Explain his mistake.
11
RTwo prime numbers p and q have p + q = 24 and p × q = 143. Find p and q.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings