<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>7016</id>
  <path>/www/nrich/html/content/id/7016/</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;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;This problem follows on from&lt;/span&gt; &lt;a href=&quot;http://nrich.maths.org/7024&amp;amp;part=&quot; style=&quot;font-style: italic;&quot;&gt;Charlie&amp;#39;s Delightful Machine&lt;/a&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;, so take a look at that first.&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
The rules for turning on the lights of Charlie&amp;#39;s Delightful Machine are all given by linear sequences (like those found in &lt;a href=&quot;/6713&quot;&gt;Shifting Times Tables&lt;/a&gt;).&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
In the first problem, you found efficient strategies for working out the rules controlling each light.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;Now try to make two lights light up at once.&lt;/strong&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;
Once you have made a pair of lights light up simultaneously, can you find another number that will light them both up? And another? And another? ...&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;Is there a connection between the rules that light up each individual light and the rule that lights up the pair?&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Sometimes it&amp;#39;s impossible to switch a pair of lights on simultaneously.&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;How can you decide whether it is possible to switch a pair of lights on simultaneously?&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Now explore turning on three or even all four lights.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If you find an example where it&amp;#39;s impossible to light them all up, try to explain why it&amp;#39;s not possible.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If you find an example where it is possible to light them all up, work out what is special about the sequence of numbers that light up all four lights simultaneously.&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;Zafirah and Folashade suggested some ideas for attacking the problem:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Do not use random numbers when solving this problem go up in a strategic method.  Before trying to work out anything at least get three numbers which light up each light to see if there is any pattern occouring. Look closely at the relationship between the numbers for each colour. Once you find out the relationship between the numbers, start to look if you are able to put the method into a
formula.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Isaac from Bryn Offa school used this method and tried numbers in ascending order until he had enough to spot a pattern.&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Natalie explained how she worked out the rules that turned on the lights:&lt;/span&gt;
&lt;p&gt;The sequences and rules for each light follows:&lt;br&gt;&lt;/br&gt;
Red: $7, 15, 23, 31$     The difference between $7$ and $15$ is $8$ so the beginning&lt;br&gt;&lt;/br&gt;
of the rule is $8n$ and then $1 \times 8$ is $8$, but the first term of the sequence&lt;br&gt;&lt;/br&gt;
is $7$. To change the $8$ to $7$ you subtract $1$. So the rule is $8n - 1$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Yellow: $5, 15, 25$      The difference between $5$ and $15$ is $10$ so the&lt;br&gt;&lt;/br&gt;
beginning of the rule is $10n$. However, the first term of the sequence is $5$&lt;br&gt;&lt;/br&gt;
so to change the $5$ into 10, you add $5$. The rule is $10n + 5$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Green: $10, 20, 30$      The difference between $10$ and $20$ is $10$ so the&lt;br&gt;&lt;/br&gt;
beginning of the rule is $10n$. the first term of the sequence is $10$, so the&lt;br&gt;&lt;/br&gt;
rule doesn&amp;#39;t need to change. The rule is therefore $10n$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Blue: $2, 6, 10, 14, 17, 22, 26, 30, 34$   The difference between $6$ and $10$ is&lt;br&gt;&lt;/br&gt;
$4$ so the beginning of the rule is $4n$. The first term of the sequence is $2$,&lt;br&gt;&lt;/br&gt;
so to change the $4$ to a $2$ you subtract $2$. The rule is $4n - 2$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
The numbers that light 2 lights are:&lt;br&gt;&lt;/br&gt;
10, 15 and 30.&lt;/p&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Some of you found sequences which didn&amp;#39;t ever light both lights. Josh, Christian, Pavan, Alex and Vishaal found one such scenario:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
We found the rules: $3n+1$ and $6n+2$. We have decided that the two are impossible to light up together, as it will never both have the same number. The reason for that is because $3n+1$ will always be one more than a multiple of three whereas $6n+2$ will always two more then a multiple of three.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Rajeev gave some examples when both lights could be lit:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
$8n+3$ and $6n+5$... the number which would turn both lights on is $11$ because $8+3$ and $6+5$ both equal $11$.&lt;br&gt;&lt;/br&gt;
The other numbers which would work are $35, 83,131$.&lt;br&gt;&lt;/br&gt;
The formula is $24n-13$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$11n+10$ and $10n+1$... the number which would turn both lights on is $21$ because $11+10$ and $20+1$ both equal $21$.&lt;br&gt;&lt;/br&gt;
The other numbers are $131,241,351$ and so on.&lt;br&gt;&lt;/br&gt;
The formula is $110n-89$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Jessica and Sam suggested some other combined sequences:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$4n+1$ and $5m-2$ have a combined rule of $20k-7$&lt;br&gt;&lt;/br&gt;
$10n+4$ and $3m-1$ have a combine rule of $30k+14$&lt;br&gt;&lt;/br&gt;
$11n-5$ and $6m-5$ have a combined rule of $66k-5$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
A pattern we can see for the combined rules is that to find the combined rules times the coefficients of $n$ together and then find the common differences in the new sequence.   &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Finally Herschel gave an insight into the method known as the Chinese Remainder Theorem:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
We want to find a number that is part of two Arithmetic Progressions (APs): $an+b$ and $cn+d$. To put it another way, we are searching for a number $x$ that satisfies the congruences $x = b$ (mod$ a$) and $x = d$ (mod $c$). (The &quot;mod $a$&quot; part means that you look at the remainder on each side of the equation after dividing by &quot;$a$&quot;.)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Finding this value of $x$ that will satisfy both equations and hence turn on both lights can be done using Chinese Remainder Theorem, which deals precisely with this problem - solving congruences.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;For more information on the Chinese Remainder Theorem please look at this&lt;/span&gt; &lt;a class=&quot;editorial&quot; href=&quot;http://nrich.maths.org/5466&amp;amp;part=&quot;&gt;article&lt;/a&gt;&lt;span class=&quot;editorial&quot;&gt;.&lt;/span&gt;  &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&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;br&gt;&lt;/br&gt;
&lt;div class=&quot;embed&quot;&gt;
&lt;h2&gt;A Little Light Thinking&lt;/h2&gt;
The rules for turning on the lights of Charlie&amp;#39;s Delightful Machine are all given by linear sequences (like those found in &lt;a href=&quot;/6713&quot;&gt;Shifting Times Tables&lt;/a&gt;).&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
In the first problem, you found efficient strategies for working out the rules controlling each light.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;Now try to make two lights light up at once.&lt;/strong&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;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;Why do this problem?&lt;/h3&gt;
&lt;p&gt;This problem encourages students to think about the properties of numbers. It could be used to consolidate work on linear sequences. The interactivity encourages learners to begin the problem experimentally before working more theoretically as they engage with the main ideas.&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-style: italic;&quot;&gt;This problem follows on from&lt;/span&gt; &lt;a href=&quot;http://nrich.maths.org/7024&amp;amp;part=note&quot; style=&quot;font-style: italic;&quot;&gt;Charlie&amp;#39;s Delightful Machine&lt;/a&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;, so we assume students have a strategy for determining the rule to switch individual lights on.&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&quot;Did anyone find examples where two or more lights switched on simultaneously?&quot;&lt;br&gt;&lt;/br&gt;
&lt;strong&gt;&quot;Our challenge now is to determine how to turn on two lights (or more) simultaneously, if we know the rules for each individual light.&quot;&lt;/strong&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If computers are available, students could work in pairs determining the rules for individual lights, then finding the rule for switching on pairs of lights simultaneously. Remind them of the importance of recording their findings to share with the class.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If computers are not available, this &lt;a class=&quot;pdflink&quot; href=&quot;/content/id/7016/LightThinking.pdf&quot;&gt;worksheet&lt;/a&gt; contains the rules for a collection of sequences that students could explore, searching for examples where two sequences have numbers in common.&lt;br&gt;&lt;/br&gt;
 &lt;/div&gt;
One way they could record their work is by creating a table with sequence rules along the top and down the side, and indicating with a tick or a cross in each cell whether both lights could light up simultaneously. When appropriate, they could also indicate numbers which successfully switch on both lights.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;Remind the class that the task is not simply to find examples, but to find a way of determining, by just looking at the sequence rules, whether or not a pair of lights will ever light up simultaneously.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;When trying to produce convincing arguments, ideas from the problem &lt;a href=&quot;http://nrich.maths.org/2669&amp;amp;part=&quot;&gt;Stars&lt;/a&gt; might be useful.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
Leave some time for the class to come together to share examples of rules where more than one light could be switched on simultaneously, and examples where it was impossible, together with their reasoning.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;p&gt;What is true about any pair of rules where it is &lt;span style=&quot;font-weight: bold;&quot;&gt;not&lt;/span&gt; possible to light up both lights?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If two sequences are described by the rules $an+b$ and $cn+d$, can you explain the conditions for determining whether the lights will ever switch on together?&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;h3&gt;Possible extension&lt;/h3&gt;
&lt;p&gt;Some students may wish to use ideas of modular arithmetic to prove their findings; reading &lt;a href=&quot;http://nrich.maths.org/4350&amp;amp;part=&quot;&gt;this article&lt;/a&gt; first may help.&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;h3&gt;Possible support&lt;/h3&gt;
&lt;p&gt;The problem &lt;a href=&quot;http://nrich.maths.org/6713&amp;amp;part=&quot;&gt;Shifting Times Tables&lt;/a&gt; offers an introductory challenge for exploring linear sequences.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
In the &lt;a href=&quot;/7016/clue&quot;&gt;Hint&lt;/a&gt; there is a version of the interactivity with just two lights which students might find more accessible.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Students could use a 100 square (&lt;a href=&quot;/content/id/7016/1-100_NumberGrid.doc&quot;&gt;Word&lt;/a&gt;, &lt;a href=&quot;/content/id/7016/1-100_NumberGrid.pdf&quot;&gt;pdf&lt;/a&gt;) as a visual way to record sequences and see where (if) they coincide.&lt;br&gt;&lt;/br&gt;
 &lt;/p&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;&lt;br&gt;&lt;/br&gt;
The problem &lt;a href=&quot;http://nrich.maths.org/2669&amp;amp;part=&quot;&gt;Stars&lt;/a&gt; has a visual way of looking at relationships between numbers which might be useful in this problem.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;The problem &lt;a href=&quot;http://nrich.maths.org/6713&amp;amp;part=&quot;&gt;Shifting Times Tables&lt;/a&gt; offers an introductory challenge for exploring linear sequences.&lt;/p&gt;
&lt;p&gt;You may prefer to experiment with this two-light version of the interactivity first.&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;div style=&quot;background-color:#000;padding:20px;padding-bottom:20px;width:260px;height:180px&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;blue&quot; src=&quot;blue.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;blueOff&quot; src=&quot;blueOff.png&quot; style=&quot;position:absolute;left:120px;top:30px;opacity:1;z-index:0&quot;&gt;&lt;/mdo:image&gt; &lt;input id=&quot;restartButton&quot; name=&quot;restart&quot; onclick=&quot;restart()&quot; style=&quot;position:absolute;top:160px&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;script src=&quot;Twolights.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&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;&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Zafirah and Folashade suggested some ideas for attacking the problem:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Do not use random numbers when solving this problem go up in a strategic method.  Before trying to work out anything at least get three numbers which light up each light to see if there is any pattern occouring. Look closely at the relationship between the numbers for each colour. Once you find out the relationship between the numbers, start to look if you are able to put the method into a
formula.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Dylan and Ashara followed on with these thoughts:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Try to display the rules algebraicly. Our sequence which goes $3, 9, 15$ could be described as &quot;going up by $6$ from the number $3$&quot;, or could be described as $6n - 3$, $n$ being the number in the sequence. If you&amp;#39;re having difficulty displaying your results algebraically, why not try to imagine a numberline. $+ 1$ merely describes you shifting all the numbers up by one. Once you have found out
the rules for Red &amp;amp; Blue, finding out the combined rule shouldn&amp;#39;t prove difficult. At times, the combined rule could also be the rule for either Red or Blue! Just try loads of number, and don&amp;#39;t think too hard. Sometimes the easiest, most simple answers are also the correct ones.  &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Some of you found sequences which didn&amp;#39;t ever light both lights. Josh, Christian, Pavan, Alex and Vishaal found one such scenario:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
We concluded to the rules: $3n+1$ and $6n+2$. We have decided that the two are impossible to solve, as it will never both have the same number. The reason for that is because $3n+1$ will always be one more than a multiple of three whereas $6n+2$ will always two more then a multiple of three.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Rajeev of Fairfield Junior School gave some examples when both lights could be lit:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
$8n+3$ and $6n+5$... the number which would turn both lights on is $11$ because $8+3$ and $6+5$ both equal $11$.&lt;br&gt;&lt;/br&gt;
The other numbers which would work are $35, 83,131$.&lt;br&gt;&lt;/br&gt;
The formula is $24n-13$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$11n+10$ and $10n+1$... the number which would turn both lights on is $21$ because $11+10$ and $20+1$ both equal $21$.&lt;br&gt;&lt;/br&gt;
The other numbers are $131,241,351$ and so on.&lt;br&gt;&lt;/br&gt;
The formula is $110n-89$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
In the above you have to find the lowest common multiple of both sequences and that number minus another number so the resulting number would turn both lights on.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Jessica and Sam suggested some other combined sequences:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$4n+1$ and $5m-2$ have a combined rule of $20k-7$&lt;br&gt;&lt;/br&gt;
$10n+4$ and $3m-1$ have a combine rule of $30k+14$&lt;br&gt;&lt;/br&gt;
$11n-5$ and $6m-5$ have a combined rule of $66k-5$&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
A pattern we can see for the combined rules is that to find the combined rules times the gradients together and then find the common differences in the new sequence.   &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Finally Herschel of the European School of Varese gave an insight into the method known as the Chinese Remainder Theorem:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
We want to find a number that is part of two Arithmetic Progressions (APs): $an+b$ and $cn+d$. To put it another way, we are searching for a number $x$ that satisfies the congruences $x = b$ (mod$ a$) and $x = d$ (mod $c$). (The &quot;mod $a$&quot; part means that you look at the remainder on each side of the equation after dividing by &quot;$a$&quot;.)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Finding this value of $x$ that will satisfy both equations and hence turn on both lights can be done using Chinese Remainder Theorem, which deals precisely with this problem - solving congruences.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;For more information on the Chinese Remainder Theorem please look at this&lt;/span&gt; &lt;a class=&quot;editorial&quot; href=&quot;http://nrich.maths.org/5466&amp;amp;part=&quot;&gt;article&lt;/a&gt;&lt;span class=&quot;editorial&quot;&gt;.&lt;/span&gt;  &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>A little light thinking</title>
  <description>Here is a machine with four coloured lights. Can you make two lights switch on at once? Three lights? All four lights?</description>
  <spec_group>Numbers and the Number System
    <specifier>Properties of numbers</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Number theory</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Arithmetic sequence</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Sequences</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Making and proving conjectures</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>Patterns and sequences US</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>DisplayCabinet</specifier>
  </spec_group>
  <spec_group>ajk44
    <specifier>solution needs editing</specifier>
  </spec_group>
</resource>