Copyright © University of Cambridge. All rights reserved.

'Light the Lights' printed from https://nrich.maths.org/

Show menu

Light the Lights

Here is a machine with four coloured lights. Each light responds to a rule.

When you type in a number, lights go on if their rule is satisfied.
If the number satisfies more than one rule, then more than one colour will light up.

Type in some numbers and see which lights you can switch on.

Do you get any surprises?

 
Type in a number










 



What are the four rules?
What is the smallest number which lights them all up?
 

 

Why do this problem?

This problem has the potential to surprise children and make them curious about the 'machine', thereby providing a motivating context in which they use their knowledge of number properties. Learners will have to make sense of information and work in a systematic way. 

 

Possible approach

This activity will require children to have access to computers or tablets, ideally in pairs.
 
You could start by dividing the board into two columns, one headed with a tick and the other headed with a cross. Ask learners to suggest numbers, and write each suggestion in the appropriate column according to a rule of your own choice. Make it clear to the class that the activity is designed to model working like a scientist - there is no-one to say whether they have the right answer or not. So they can come up with a hypothesis for your rule, but you will not confirm their hypothesis, you will only place numbers in the appropriate column.
 
Here are some suggestions for rules:
  • Odd numbers
  • Numbers bigger than 20
  • Multiples of 10
Once the class has tried the activity with a couple of rules and everyone is reasonably convinced their hypothesis holds, move on to the main task.
 
To introduce the main task, show the interactive and demonstrate entering a couple of numbers to see what lights up. Make sure learners understand that more than one light may be lit up at once, and that each light is governed by its own rule. Learners should work in pairs at a computer, and their challenge is to try to light up all the lights.
 
While the class is working, watch out for any moments of surprise and ask those children to try to explain why they were suprised.  As you wander round the room, note any particularly good ways of recording or working systematically, and highlight them to the rest of the class.
 
Towards the end of the time working on the problem, leave some time for the class to come together to share what they have done. As well as discussing the number that lit up all the lights, encourage children to explain how they approached the problem. What are the four rules that govern the four lights?

 

Key questions

Which numbers have you tried? What happened?
Which number would be good to try next? Why?
How will you remember which lights each number lights up?

 

Possible support

Some children might find it helpful to use a hundred square to record their findings.
 
 

Possible extension

Learners could be challenged to create some rules so that it would be impossible to light all four lights. If appropriate, they might also have a go at this similar problem which uses slightly higher-level mathematics.