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.

This activity will require children to have access to computers, 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 simple 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.

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?

Learners could be challenged to find 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.

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