<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>7035</id>
  <path>/www/nrich/html/content/id/7035/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;
&lt;p&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;This problem is similar
to&lt;/span&gt; &lt;a href=&quot;http://nrich.maths.org/7044&amp;amp;part=&quot; style=&quot;font-style: italic;&quot;&gt;Light the Lights&lt;/a&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;, but slightly more tricky. 
You may like to try that one first.&lt;/span&gt;&lt;/p&gt;&lt;br&gt;&lt;/br&gt;
Here is a machine with four coloured lights. Each light responds to
a rule. &lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;
When you type in a number, lights go on if their rule is satisfied.
&lt;br&gt;&lt;/br&gt;
If the number satisfies more than one rule, then more than one
colour will light up.&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;
Type in some numbers and see which lights you can switch on.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;

&lt;div style=&quot;background-color:#000;padding:20px;padding-bottom:20px;width:260px;height:280px&quot;&gt;

	&lt;div style=&quot;position:relative;&quot;&gt;
		&lt;label style=&quot;position:absolute;top:10;color:#fff;font-size:12px;font-family:helvetica,arial,sans-serif&quot;&gt;Type in a number&lt;/label&gt;
		
		&lt;input id=&quot;numberText&quot; type=&quot;text&quot; value=&quot;0&quot; name=&quot;number&quot; tabindex=&quot;1&quot; maxlength=&quot;8&quot; size=&quot;8&quot;  style=&quot;position:absolute;top:-10px;left:130px;font-size:1.2em&quot; /&gt;
		
		&lt;img id=&quot;red&quot; src=&quot;red.png&quot; style=&quot;position:absolute;left:20px;top:30px;opacity:0;z-index:1&quot; /&gt;
		&lt;img id=&quot;redOff&quot; src=&quot;redOff.png&quot;
style=&quot;position:absolute;left:20px;top:30px;opacity:1;z-index:0&quot; /&gt;

		&lt;img id=&quot;yellow&quot; src=&quot;yellow.png&quot; style=&quot;position:absolute;left:120px;top:30px;opacity:0;z-index:1&quot; /&gt;
		&lt;img id=&quot;yellowOff&quot; src=&quot;yellowOff.png&quot; style=&quot;position:absolute;left:120px;top:30px;opacity:1;z-index:0&quot; /&gt;

		&lt;img id=&quot;green&quot; src=&quot;green.png&quot; style=&quot;position:absolute;left:20px;top:130px;opacity:0;z-index:1&quot; /&gt;
		&lt;img id=&quot;greenOff&quot; src=&quot;greenOff.png&quot; style=&quot;position:absolute;left:20px;top:130px;opacity:1;z-index:0&quot; /&gt;

		&lt;img id=&quot;blue&quot; src=&quot;blue.png&quot; style=&quot;position:absolute;left:120px;top:130px;opacity:0;z-index:1&quot; /&gt;
		&lt;img id=&quot;blueOff&quot; src=&quot;blueOff.png&quot; style=&quot;position:absolute;left:120px;top:130px;opacity:1;z-index:0&quot; /&gt;

	    &lt;input id=&quot;restartButton&quot; name=&quot;restartButton&quot; type=&quot;button&quot; value=&quot;Restart&quot;  style=&quot;position:absolute;top:260px&quot; /&gt;    

		&lt;br style=&quot;clear:both&quot; /&gt;
	&lt;/div&gt;	
&lt;/div&gt;


 &lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;
What is the smallest number which lights up all the lights?&lt;br&gt;&lt;/br&gt;&lt;br&gt;&lt;/br&gt;


&lt;/mdoxml&gt;
</indexXML>
  <solutionXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Many
 of you arrived at the same correct conclusion that $36$ is
the smallest number which lights up all the lights.&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Some
used trial and improvement, testing out all the numbers from $1$
until they reached $36$. This is one way to answer the question,
but what we'd really like to know is: what are the rules behind the
lights?&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Students in Mrs Keary's Maths Group of Bushloe
High School summed this point up well:&lt;/span&gt; We worked on
this problem for a whole lesson and only just found all of the
reasons right at the end, though we did find $36$ quite quickly!&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;So
what are the rules? Let's start with the Green Light.&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Class
4 of Grampian Primary School said:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
The first pattern we spotted was that all the even numbers would
light the 'Green' light. We experimented with larger numbers to
check that this still worked. We agreed that 'any multiple of $2$
would light the Green light'.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
The second pattern we spotted was that the 'Red' light would light
up when you entered a number that ended in $6$ or $1$. We tested
this with four digit numbers and it still worked. We agreed that
'any number ending in $1$ or $6$ would light up the Red light'.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Year 6
of the Croft School had a good approach which made it easy to
identify the rule for the Red light:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 

&lt;div&gt;We started off using
guess and check and wrote down what lights lit up. We found that
$36$ lit all the lights but we did not know why. We decided to try
the lights from $1$, and to colour in a hundred square to look for
patterns for each colour. We noticed the red squares formed columns
downwards, like the $5$ times table does, but they are not $5$
times table, you start with $1$ and add $5$ each time.&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;editorial&quot;&gt;Class 4 continued:&lt;/span&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;The Yellow and Blue
lights were much more difficult to spot. We started to look at the
number sequences and looked at what you had to do to one number to
get to the next number. We spotted a pattern and could then say
what the next number would be. We tested these in the problem. Here
is a copy of our recordings.&lt;/div&gt;

&lt;div&gt;&lt;mdo:image width=&quot;552&quot; height=&quot;387&quot; src=&quot;Light%20the%20lights%20again%20recordings.PNG&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;editorial&quot;&gt;Many of you correctly identified the numbers in
the Yellow column as the Triangular numbers and the numbers in the
Blue column as the Square numbers.&lt;/span&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;editorial&quot;&gt;Finlay and Ben of St Andrew's School wrote down
all the formulae which lit up all the lights:&lt;/span&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div style=&quot;margin-left: 40px;&quot;&gt;Green   = Even number  
         = $2n$&lt;/div&gt;

&lt;div style=&quot;margin-left: 40px;&quot;&gt;Yellow  = Triangular numbers =
$n(n+1)\over 2$&lt;/div&gt;

&lt;div style=&quot;margin-left: 40px;&quot;&gt;Blue      = Square number
        = $n^2$&lt;/div&gt;

&lt;div style=&quot;margin-left: 40px;&quot;&gt;Red       = Every
five number   = $5n+1$ &lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt;&lt;span class=&quot;editorial&quot;&gt;Here are some more pictures sent into us
by Class 4 of Grampian Primary School investigating triangular
numbers and square numbers with counters.&lt;/span&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;div&gt; &lt;mdo:image width=&quot;348&quot; height=&quot;261&quot; src=&quot;Light%20the%20lights%20again%20counters%202a.PNG&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt;&lt;mdo:image width=&quot;369&quot; height=&quot;275&quot; alt=&quot;&quot; src=&quot;light%20the%20lights%20again%20ish.jpg&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;

&lt;div&gt; &lt;/div&gt;

&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;div class=&quot;embed&quot;&gt;
&lt;h2&gt;Light the Lights Again&lt;/h2&gt;
&lt;p&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;This problem is similar to&lt;/span&gt; &lt;a href=&quot;http://nrich.maths.org/7044&amp;amp;part=&quot; style=&quot;font-style: italic;&quot;&gt;Light the Lights&lt;/a&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;, but slightly more tricky. You may like to try that one first.&lt;/span&gt;&lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
Here is a machine with four coloured lights. Each light responds to a rule.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
When you type in a number, lights go on if their rule is satisfied.&lt;br&gt;&lt;/br&gt;
If the number satisfies more than one rule, then more than one colour will light up.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Type in some numbers and see which lights you can switch on.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div style=&quot;background-color:#000;padding:20px;padding-bottom:20px;width:260px;height:280px&quot;&gt;
&lt;div style=&quot;position:relative;&quot;&gt;&lt;label style=&quot;position:absolute;top:10;color:#fff;font-size:12px;font-family:helvetica,arial,sans-serif&quot;&gt;Type in a number&lt;/label&gt; &lt;input id=&quot;numberText&quot; maxlength=&quot;8&quot; name=&quot;number&quot; size=&quot;8&quot; style=&quot;position:absolute;top:-10px;left:130px;font-size:1.2em&quot; tabindex=&quot;1&quot; type=&quot;text&quot; value=&quot;0&quot;&gt;&lt;/input&gt; &lt;mdo:image id=&quot;red&quot; src=&quot;red.png&quot; style=&quot;position:absolute;left:20px;top:30px;opacity:0;z-index:1&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;redOff&quot; src=&quot;redOff.png&quot; style=&quot;position:absolute;left:20px;top:30px;opacity:1;z-index:0&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;yellow&quot; src=&quot;yellow.png&quot; style=&quot;position:absolute;left:120px;top:30px;opacity:0;z-index:1&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;yellowOff&quot; src=&quot;yellowOff.png&quot; style=&quot;position:absolute;left:120px;top:30px;opacity:1;z-index:0&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;green&quot; src=&quot;green.png&quot; style=&quot;position:absolute;left:20px;top:130px;opacity:0;z-index:1&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;greenOff&quot; src=&quot;greenOff.png&quot; style=&quot;position:absolute;left:20px;top:130px;opacity:1;z-index:0&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;blue&quot; src=&quot;blue.png&quot; style=&quot;position:absolute;left:120px;top:130px;opacity:0;z-index:1&quot;&gt;&lt;/mdo:image&gt; &lt;mdo:image id=&quot;blueOff&quot; src=&quot;blueOff.png&quot; style=&quot;position:absolute;left:120px;top:130px;opacity:1;z-index:0&quot;&gt;&lt;/mdo:image&gt; &lt;input id=&quot;restartButton&quot; name=&quot;restartButton&quot; style=&quot;position:absolute;top:260px&quot; type=&quot;button&quot; value=&quot;Restart&quot;&gt;&lt;/input&gt;&lt;br style=&quot;clear:both&quot;&gt;&lt;/br&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
What is the smallest number which lights up all the lights?&lt;br&gt;&lt;/br&gt;
 &lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Why do this problem?&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;&lt;a href=&quot;http://nrich.maths.org/7035&amp;amp;part=&quot;&gt;This problem&lt;/a&gt; requires children to make sense of information and work in a systematic way, thereby modelling the process of scientific enquiry. It is a motivating context in which use their knowledge of number properties.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;This activity will require children to have access to computers, ideally in pairs.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;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.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Here are some suggestions for rules:&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Multiples of $3$&lt;/li&gt;
&lt;li&gt;Prime numbers&lt;/li&gt;
&lt;li&gt;One less than a multiple of 10&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;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.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;To introduce the main task, show the interactivity and demonstrate entering a couple of numbers to see what lights up. Make sure learners understand that more than one light can light 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.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;While the class is working, note any particularly good ways of recording or working systematically, and highlight them to the rest of the class.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;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.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;div&gt;Which numbers have you tried? What happened?&lt;/div&gt;
&lt;div&gt;Which number would be good to try next? Why?&lt;/div&gt;
&lt;div&gt;How will you remember which lights each number lights up?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible extension&lt;/h3&gt;
&lt;div&gt;Some children may want to try a harder version of this problem, &lt;a href=&quot;http://nrich.maths.org/7024&quot;&gt;Charlie&amp;#39;s Delightful Machine&lt;/a&gt;.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible support&lt;/h3&gt;
&lt;div&gt;Some children might find it helpful to use a &lt;a href=&quot;/content/id/7035/1-100_NumberGrid.pdf&quot;&gt;hundred square&lt;/a&gt; to record their findings. They also might like to try &lt;a href=&quot;http://nrich.maths.org/7044&quot;&gt;this version&lt;/a&gt; of the problem which uses slightly lower-level mathematics.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;How will you keep track of which lights light up for each
number?&lt;br&gt;&lt;/br&gt;
You may find &lt;a href=&quot;/content/id/7035/1-100_NumberGrid.pdf&quot;&gt;this
hundred square&lt;/a&gt; useful.&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;Even, square, 5n+1, triangular&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>1</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Light the Lights Again</title>
  <description>Each light in this interactivity turns on according to a rule. What
happens when you enter different numbers? Can you find the smallest
number that lights up all four lights?</description>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Making and testing hypotheses</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Interactivities</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Properties of numbers</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Factors and multiples</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Square numbers</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Triangle numbers</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Upper primary mapping document</specifier>
  </spec_group>
</resource>