<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>5624</id>
  <path>/www/nrich/html/content/id/5624/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-02-01T00:00:01</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;

&lt;div style=&quot;text-align: center;&quot;&gt;&lt;mdo:image width=&quot;362&quot; height=&quot;362&quot; src=&quot;knights1.gif&quot; alt=&quot;Picture of knights on board&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
Two white and two black knights are positioned on part of a chess
board as shown. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
A knight can only move in the usual way &lt;span style=&quot;font-weight: bold;&quot;&gt;*&lt;/span&gt; and can only land on an empty square.
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Swap the positions of the white and black knights. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Can you prove you have succeeded in the minimum number of
moves?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span style=&quot;font-weight: bold;&quot;&gt;*&lt;/span&gt; A knight can move two
squares horizontally and one square vertically, or two squares
vertically and one square horizontally. The complete move therefore
looks like the letter 'L'. &lt;br&gt;&lt;/br&gt;
Unlike all other standard chess pieces, the knight can 'jump over'
all other pieces on route to its destination square.&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;While it may be tempting, and fun, to simply try to do the puzzle as it for a while, there is a rather nice way of simplifying the problem.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;By joining up each of the squares that are connected by a knights move, we can reduce the problem down to a graph, where the knights can move along connected nodes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;&lt;mdo:image alt=&quot;Knights image&quot; src=&quot;knightsimg.jpg&quot; style=&quot;float: left; width: 198px; height: 160px;&quot;&gt;&lt;/mdo:image&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;mdo:image alt=&quot;&quot; src=&quot;knightsgraph2.jpg&quot; style=&quot;width: 255px; height: 106px;&quot;&gt;&lt;/mdo:image&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;The graph turns out to be rather simple! All of the squares end up on a single line, with the single square &amp;#39;B&amp;#39; branching off.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;Clearly, by moving the pieces along one node at a time, the only place where any swapping can happen is at B. The quickest way would be to swap W1 and B1 , and swap W2 and B2 (otherwise there would be even more swapping. There are two ways of doing this:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;Swapping W1 and B1, then W2 and B2: &lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W2: 6 to 7&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W1: 2 to 6&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B1: B to 2&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W1: 6 to 3 (we&amp;#39;ve now swapped W1 and B1, making room for the next swap)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W2: 7 to B&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B2: 8 to 4&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W2: B to 8&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B2: 4 to 6.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W1: 3 to B.&lt;font class=&quot;Apple-style-span&quot; color=&quot;#222222&quot;&gt; &lt;/font&gt;Done! 28 moves&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;Swapping W2 and B2, then W1 and B1:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B1: B to 3&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W2: 6 to B&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B2: 8 to 4&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W2: B to 8&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B2: 4 to 7 (we&amp;#39;ve swapped W2 and B2, making room for the next swap)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B1: 3 to 6&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;W1: 2 to B&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B1: 6 to 2 (we&amp;#39;ve now swapped W1 and B1)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;editorial&quot;&gt;B2: 7 to 6. Done! 28 moves&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;So the minimum number of moves is 28.&lt;/span&gt;&lt;/p&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
This is the sort of problem that needs a lot of thinking
time.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Present it and leave it for a week or so before returning to it
...&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If no one has made much progress - what have they managed to
do?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
At some stage it may be worth mentioning that the solution requires
more than 20 moves.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
What recording methods have people come up with?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Then the big question:&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
How can you know you have managed to swap the knights in the
minimum number of moves? This will certainly need a convincing
recording system.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
Where can you move first?&lt;br&gt;&lt;/br&gt;
What are the possibilities for your second move?&lt;br&gt;&lt;/br&gt;
What for the third?&lt;br&gt;&lt;/br&gt;
...&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Think about how a counter can move around the board.&lt;br&gt;&lt;/br&gt;
Some squares offer you less choice. Is this significant?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Is there another way you can visualise this problem?&lt;br&gt;&lt;/br&gt;
How will you record what you have done?&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;mdo:image width=&quot;314&quot; height=&quot;258&quot; src=&quot;Kights%20move.gif&quot; alt=&quot;Solution diagrams&quot;&gt;&lt;/mdo:image&gt;&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>5</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Knights moving</title>
  <description>Can you swap the black knights with the white knights in the minimum number of moves?</description>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Recording mathematics</specifier>
  </spec_group>
  <spec_group>Transformations and their Properties
    <specifier>Translations</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Working systematically</specifier>
  </spec_group>
</resource>