Junior Cycle Maths · Free game

Prime Smash

60 seconds. Spot the primes, build the factor trees and crack HCF and LCM. Is 51 prime? (No: 51 = 3 × 17.) If one bus comes every 12 minutes and another every 18, when do they next arrive together? Stuck? The rules are just below the game.

Play

Choose your round

Tip: work it out on paper first, then tap. You can also answer with the keys 1, 2, 3 and 4. No calculator! In Prime Smash, every 5 in a row gives you 3 bonus seconds.

Junior Cycle Maths learning outcome: N.1d (2018 specification)
Need a refresher?

Factors, multiples and primes

Spot the pattern

Here are some numbers and all of their factors (the numbers that divide into them exactly).

61, 2, 3, 671, 7
81, 2, 4, 8111, 11
91, 3, 9131, 13
101, 2, 5, 1011

What do 7, 11 and 13 have in common that 6, 8, 9 and 10 don't? And is 1 more like the left group or the right group?

Show me

7, 11 and 13 have exactly two factors: 1 and themselves. Those are the prime numbers. 6, 8, 9 and 10 have more than two factors: they are composite. And 1 has only one factor, so it fits neither group: 1 is not a prime number.

Factors and multiples

WordMeansExample
Factora number that divides in exactly, with no remainderThe factors of 12 are 1, 2, 3, 4, 6, 12
Multiplea number in its times tableThe multiples of 6 are 6, 12, 18, 24, 30 …

Find all the factors in pairs so you don't miss any. For 36: 1 × 36, 2 × 18, 3 × 12, 4 × 9, 6 × 6. Stop when the pairs meet. So 36 has 9 factors: 1, 2, 3, 4, 6, 9, 12, 18, 36.

Remember: factors are small (they fit into the number), multiples are big (the number fits into them). Every number is a factor and a multiple of itself.

Prime numbers

A prime has exactly two factors: 1 and itself. The primes up to 50 are:

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47

  • 2 is the only even prime (every other even number divides by 2).
  • 1 is not prime: it has only one factor.
  • Watch out for odd numbers that look prime: 51 = 3 × 17, 57 = 3 × 19, 91 = 7 × 13, 87 = 3 × 29.
  • Quick checks: divides by 3 if its digits add to a multiple of 3 (5 + 1 = 6, so 51 divides by 3); by 5 if it ends in 0 or 5. To test a number, you only need to try primes up to its square root: for 91, try 2, 3, 5, 7.

Products of primes: factor trees

Every whole number bigger than 1 can be written as a product of primes in exactly one way. Split the number into any two factors, and keep splitting until every branch ends in a prime.

360 = 10 × 3610 = 2 × 536 = 4 × 9 = 2 × 2 × 3 × 3

So 360 = 2 × 2 × 2 × 3 × 3 × 5. In index form: 360 = 2³ × 3² × 5. Start the tree any way you like: you always end up with the same primes.

Watch out: 2² × 15 equals 60, but it isn't finished: 15 isn't prime (15 = 3 × 5). The answer is 60 = 2² × 3 × 5. And 2³ means 2 × 2 × 2 = 8, not 2 × 3 = 6.

HCF and LCM

Means12 and 18
HCFHighest Common Factor: the biggest number that goes into bothFactors of 12: 1, 2, 3, 4, 6, 12 · of 18: 1, 2, 3, 6, 9, 18 → HCF = 6
LCMLowest Common Multiple: the smallest number both go intoMultiples of 12: 12, 24, 36 … · of 18: 18, 36 … → LCM = 36

Bigger numbers? Use the primes. 84 = 2² × 3 × 7 and 90 = 2 × 3² × 5.

  • HCF: take the primes they share, with the smaller power: 2 × 3 = 6.
  • LCM: take every prime, with the bigger power: 2² × 3² × 5 × 7 = 1260.
  • Check: HCF × LCM = the two numbers multiplied: 6 × 1260 = 7560 = 84 × 90 ✓
Which one does the question want? "Together again", "at the same time", "the first time both…" → LCM. "Biggest equal groups", "largest size", "share out with nothing left over" → HCF. The HCF is never bigger than the smaller number; the LCM is never smaller than the bigger number.
Exam corner

Where this shows up in the exam

Primes, factors, HCF and LCM usually come up as a short part of a Number question: write a number as a product of primes, find the HCF or LCM, or solve a timing or sharing problem. They are also the tools behind other topics: the LCM gives the common denominator when you add fractions, and the HCF is how you factorise in algebra (6x + 9 = 3(2x + 3)).

How marks are won and lost

  • Show the factor tree or the division. A correct method with one slip still earns part marks; a bare wrong answer earns nothing.
  • Finish the job: "as a product of primes" means every factor must be prime. Write it in index form if the question says so (2³ × 3², not 2 × 2 × 2 × 3 × 3).
  • Check your product by multiplying back: 2³ × 3² × 5 = 8 × 9 × 5 = 360 ✓
  • Answer the question asked. If buses leave together at 7:30 and the LCM is 60 minutes, the answer is 8:30, not "60".

Try these exam-style questions

Written by Léim in the style of the exam (not taken from past papers). Try each one on paper first.

  1. Product of primes. Write 360 as a product of prime numbers. Give your answer in index form.
    Show the worked answer

    360 = 10 × 36 = (2 × 5) × (4 × 9) = 2 × 5 × 2 × 2 × 3 × 3.
    Put the primes in order: 2 × 2 × 2 × 3 × 3 × 5 = 2³ × 3² × 5.
    Check: 8 × 9 × 5 = 72 × 5 = 360 ✓

  2. HCF and LCM. 84 = 2² × 3 × 7 and 90 = 2 × 3² × 5. Find (a) the HCF and (b) the LCM of 84 and 90.
    Show the worked answer

    (a) Shared primes, smaller power: 2 and 3 → HCF = 2 × 3 = 6.
    (b) Every prime, bigger power: 2² × 3² × 5 × 7 = 4 × 9 × 35 = 1260.
    Check: 6 × 1260 = 7560 and 84 × 90 = 7560 ✓

  3. The buses. The 208 bus leaves the station every 12 minutes and the 220 leaves every 20 minutes. Both leave at 7:30 a.m. When is the next time they both leave together?
    Show the worked answer

    "Together again" → LCM. 12 = 2² × 3 and 20 = 2² × 5, so LCM = 2² × 3 × 5 = 60.
    (Or list: 12, 24, 36, 48, 60 and 20, 40, 60.)
    60 minutes after 7:30 → 8:30 a.m.

  4. Party bags. Orla has 48 red sweets and 60 blue sweets. She wants to make identical party bags, using every sweet. What is the greatest number of bags she can make, and what is in each bag?
    Show the worked answer

    Identical groups, nothing left over → HCF. 48 = 2⁴ × 3 and 60 = 2² × 3 × 5, so HCF = 2² × 3 = 12 bags.
    Each bag: 48 ÷ 12 = 4 red and 60 ÷ 12 = 5 blue.

Came up in: we'll link the past-paper questions that use this topic here soon.

3 pages: rules, 34 practice questions, answers. Free to print for home or class.

Teachers: want a full class lesson on this? Get the Factors, Multiples & Primes Teacher Pack (€5): Sieve of Eratosthenes, Number Detective clue cards, HCF & LCM Dominoes, poster and worksheet.

Tick this topic off on your Maths checklist →

Parents: get the free guide

How to Get Your Child into College: CAO points, the Maths bonus, entry requirements and every other route in, in plain English.

Get the free guide