All topic guides
MathsDaily › Topic guides › Prime numbers

Prime numbers

A prime number is a whole number greater than 1 with exactly two factors: 1 and itself. The prime numbers up to 100 are 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. There are 25 of them. 1 is not prime, and 2 is the only even prime.

Primes are the building blocks of every whole number: any number above 1 is either prime or can be written as a product of primes. Children meet primes in Years 5 and 6, and prime factors, HCF and LCM are core GCSE skills.

Year 5Year 6Year 7GCSE Foundation

Prime numbers 1 to 100

The highlighted numbers are prime.

12345678910
11121314151617181920
21222324252627282930
31323334353637383940
41424344454647484950
51525354555657585960
61626364656667686970
71727374757677787980
81828384858687888990
919293949596979899100

Every other number from 4 to 100 is composite: it has more than two factors. 1 is neither prime nor composite, because it has only one factor.

How to check if a number is prime

  1. Rule out the easy cases. 2 is prime. Any other even number, and any number ending in 5 (other than 5), is not.
  2. Find the square root. You only need to test divisors up to the square root of the number.
  3. Test the primes up to it. Try 3, 5, 7, 11 and so on. If any divides exactly, the number is not prime.
  4. Decide. If none of them divides exactly, the number is prime.
Is 91 prime? Is 97 prime?
√91 is a little under 10, so test 2, 3, 5 and 7. 91 ÷ 7 = 13 exactly, so 91 = 7 × 13.
√97 is also just under 10. 97 is odd, its digits add to 16 (not a multiple of 3), it does not end in 0 or 5, and 97 ÷ 7 = 13 remainder 6.
91 is not prime; 97 is prime

Prime factors: writing a number as a product of primes

Every whole number greater than 1 can be written as a product of prime numbers in exactly one way. Split the number into any factor pair, then keep splitting until every branch ends in a prime. This is a factor tree.

Write 60 as a product of its prime factors
60 = 6 × 10. Then 6 = 2 × 3 and 10 = 2 × 5.
Collect the primes: 2 × 2 × 3 × 5.
60 = 2² × 3 × 5

Using prime factors to find the HCF and LCM

Write both numbers as products of primes. The highest common factor (HCF) uses the primes they share, each to the lower power. The lowest common multiple (LCM) uses every prime that appears, each to the higher power.

Find the HCF and LCM of 60 and 72
60 = 2² × 3 × 5 and 72 = 2³ × 3².
HCF: shared primes at the lower power: 2² × 3 = 12.
LCM: every prime at the higher power: 2³ × 3² × 5 = 360.
HCF = 12, LCM = 360 (check: 12 × 360 = 60 × 72 = 4320)

Common mistakes

Calling 1 a prime number. It has only one factor, so it is not prime.

Forgetting that 2 is prime because it is even. It is the only even prime.

Assuming every odd number is prime. 9, 15, 21, 27, 51, 57 and 91 are all odd but composite.

Leaving a composite number in a factor tree, such as 60 = 2 × 5 × 6. Keep splitting until every factor is prime.

Try five prime number questions

Untimed practice with worked answers. Every answer is a whole number. This extra activity does not count towards your daily progress.

  1. Worked answer for question 1

    They are 2, 3, 5, 7, 11, 13, 17 and 19: eight primes.

  2. Worked answer for question 2

    48, 50 and 52 are even, 49 = 7 × 7 and 51 = 3 × 17. 53 has no factor between 2 and 7, so it is prime.

  3. Worked answer for question 3

    91 is odd, so 2 is not a factor. 9 + 1 = 10 is not a multiple of 3, and 91 does not end in 0 or 5. 91 ÷ 7 = 13, so the smallest prime factor is 7.

  4. Worked answer for question 4

    The primes between 20 and 30 are 23 and 29. 23 + 29 = 52.

  5. Worked answer for question 5

    60 = 2² × 3 × 5 and 72 = 2³ × 3². The shared primes at the lower power are 2² × 3 = 12.

Continue with Year 6 MathsDaily

Practise this every day

MathsDaily sets ten fresh questions a day across the whole curriculum, with new numbers every morning. Primes, factors and multiples come up regularly in the Year 5 to Year 8 and GCSE sets, with a tip and a worked solution if you get stuck.

Start Year 6 MathsDaily →
Free. No sign-up. Progress saved on your device.

Common questions

Is 1 a prime number?

No. A prime number has exactly two factors, 1 and itself. 1 has only one factor, so it is not prime. It is not composite either.

Is 2 a prime number?

Yes. 2 has exactly two factors, 1 and 2. It is the smallest prime and the only even prime: every other even number has 2 as a factor.

How many prime numbers are there between 1 and 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 0 a prime number?

No. Prime numbers must be greater than 1, and 0 has infinitely many factors.

What is a prime factor?

A prime factor is a factor of a number that is also prime. The prime factors of 60 are 2, 3 and 5, because 60 = 2² × 3 × 5.

Related topics

Printable worksheets for this topic

Free A4 PDFs with worked answers. See every printable, Year 1 to A-level.