<?xml version="1.0" encoding="ISO-8859-1" ?>
  <resource>
  <id>6282</id>
  <path>/www/nrich/html/content/id/6282/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-04-27T10:28:22</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;br&gt;&lt;/br&gt;
This challenge is based on the game &lt;a href=&quot;http://nrich.maths.org/1246&amp;amp;part=&quot;&gt;Frogs&lt;/a&gt; which you
may have seen before. &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
There are two green frogs and two brown toads:&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
 &lt;mdo:image width=&quot;452&quot; height=&quot;92&quot; alt=&quot;&quot; src=&quot;TwoFrogs.png&quot;&gt;&lt;/mdo:image&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 A frog or toad can jump over one other creature onto an empty
lilypad or it can slide onto an empty lilypad which is immediately
next to it.  &lt;br&gt;&lt;/br&gt;
Only one creature, at a time, is allowed on each lilypad.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
Now the idea is for the frogs and toads to change places.  So,
the frogs will end up on the side where the toads started and
the toads will end up where the frogs began.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
The challenge is to do this in as few slides and jumps as
possible. &lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
You could use the interactivity below to help you try out your
ideas.&lt;br&gt;&lt;/br&gt;
 &lt;br&gt;&lt;/br&gt;
To move a frog or toad, click on it.  If it is not able to
jump or slide, it won't move. The toads and frogs in the
interactivity only move in the direction they are facing.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This button &lt;mdo:image width=&quot;26&quot; height=&quot;26&quot; src=&quot;Button1.jpg&quot; alt=&quot;button 1&quot;&gt;&lt;/mdo:image&gt;takes you back
to the start.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This button&lt;mdo:image width=&quot;26&quot; height=&quot;26&quot; alt=&quot;button 2&quot; src=&quot;Button%202.jpg&quot;&gt;&lt;/mdo:image&gt;takes you back one step at
a time.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
This &lt;mdo:image width=&quot;108&quot; height=&quot;82&quot; alt=&quot;score&quot; src=&quot;Score.jpg&quot;&gt;&lt;/mdo:image&gt;keeps a record for you - you may
also be interested in the grand total of all four parts added
together.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;a href=&quot;/content/id/6282/frogs.swf&quot;&gt;Full screen
version&lt;/a&gt; &lt;br&gt;&lt;/br&gt;
&lt;mdo:flash height=&quot;400&quot; width=&quot;500&quot;&gt;&lt;param value=&quot;/content/id/6282/frogs.swf&quot; name=&quot;movie&quot; &gt;&lt;/param&gt;&lt;param value=&quot;7&quot; name=&quot;flashplayerversion&quot; &gt;&lt;/param&gt;&lt;/mdo:flash&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
How do you know you have found the smallest possible number of
slides and jumps?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Why not try three frogs and three toads?  &lt;br&gt;&lt;/br&gt;
What is the smallest number of slides and jumps now?&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML>&lt;mdoxml version=&quot;1.0&quot;&gt;
&lt;div&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;Towards the end of August we had some last minute solutions sent in from different countries, namely - England, New Zealand, Australia, China and Denmark. We had a very precise, accurate and well-explained solution sent in earlier, by Hannah from Leicester High School for Girls in the UK. This represents the most exhaustive solution that I have come across for my
particular activities. Well done Hannah! You have good reason to be proud of your work. I hope you will continue to work on some of the activities from this site.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Two Frogs and Two Toads&lt;/em&gt;    &lt;/p&gt;
&lt;p&gt;To keep this simple, let&amp;#39;s assign a letter to each of our adventurous amphibians: from left to right, their names are A, B, C and D. At the start, you are able to move any of the $4$ amphibians. It doesn&amp;#39;t matter whether you move a toad or a frog first, because the layout is symmetrical. Let&amp;#39;s say we move a frog first. Imagine a situation where A jumps over B , we&amp;#39;d be in a right mess because
no amphibian would be able to move anymore. So this means we have to slide B onto the lily pad directly beside it. Now, we can either move A, which would bring us back to the situation mentioned at the beginning, or we could, more sensibly, make C jump over B. Just to recap, our current position is A, C, B, (space), D.&lt;/p&gt;
&lt;p&gt;At this point we can either move B or D. We&amp;#39;ll have to think ahead. Say we move B onto the vacant lily pad. Now we could move either A or D. However, both these moves would bring us to a dead end and a serious congestion. This means we will have to slide D onto the lily pad beside it. From here, the only thing we can do is make B jump over D. Now we can move either A or D. Moving D would bring
us to a congestion that just won&amp;#39;t do, so we are obliged to jump A over C. There is only one move we can make at this point: sliding C onto the left-most lily pad. After this, there still is only one possible move: jumping D over A. From here on it&amp;#39;s quite obvious: just slide A nicely in beside B, and we&amp;#39;ve exchanged the positions of the frogs and toads.&lt;/p&gt;
&lt;p&gt;This is not the only solution: the exact reflection of what I&amp;#39;ve just explained, where the toad moves first, is the other answer.    Altogether, this has taken $8$ moves in total, according to the NRICH interactivity. Each amphibiotic species made exactly two slides and two jumps. I can be sure that this is the lowest possible number of moves because I have worked this out
systematically. However, I have found that solving this puzzle in more than $8$ moves is impossible; from several trials I have discovered that doing it in $8$ moves is the only solution. This means that $8$ moves is also the highest as well as lowest possible number of moves for two frogs and two toads.  &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Three Frogs and Three Toads&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Once again, let&amp;#39;s give each amphibian a letter: from left to right, A, B, and C, which are the frogs, and D, E, and F, which are toads.    To keep things consistent, I&amp;#39;ll start with frogs again, although, again, the puzzle layout is symmetrical. The first part of this puzzle is similar to the previous one, but I&amp;#39;ll explain that bit again anyway; firstly, we want to move one of
the frogs, so that&amp;#39;s either B or C. B will bring us into a mess, so we have to move C. Moving B at this point won&amp;#39;t be a good idea, and neither will moving A, so we&amp;#39;ll settle with jumping D over C. Sliding C onto the empty lily pad will bring a congestion later on so the best idea is to move E. If we slide F, it won&amp;#39;t do any good, so let&amp;#39;s make C hop over E. Moving E one lily pad along will lead
to congestion so B should jump over D. If we move D over, it will lead to trouble, so we should move A onto the vacant lily pad. We now have an alternating pattern of frogs and toads, which is a good sign. From here it should be quite straightforward; the only thing we can do now is jump D over A. Moving A forward will lead to congestion (I apologise that I keep using that word, but it suits the
situation best!) so I would jump E over B. In a similar pattern, let&amp;#39;s jump F over C, and then move C onto the empty lily pad. After that we should jump B over F, and then jump A into the space that B just left. Now we should slide E in beside D, jump F over A and then move A into the spare slot.&lt;/p&gt;
&lt;p&gt;This time the outcome is quite different: the interactivity states that frogs made four slides and four jumps, and that toads made two slides and five jumps. This means that toads made fewer moves than frogs. The total number of moves is $15$. I tried this again starting with the toads, and this time the frogs made two slides and five jumps, and the toads made four of each. I can be assured
that this is the shortest possible number of moves because I worked it out systematically and always chose the one move that would work. I think the key is to make an alternating pattern of frogs and toads, and from then on it&amp;#39;s easy.   &lt;/p&gt;
&lt;p&gt;I worked out the smallest number of moves for one frog and one toad, as well as four frogs and four toads, to see if there was a pattern and whether I could come up with a formula.&lt;/p&gt;
&lt;p&gt;Here are my results: &lt;/p&gt;
&lt;p&gt;$1$ of each type of amphibian, $3$ moves&lt;/p&gt;
&lt;p&gt;$2$ of each type of amphibian, $8$ moves&lt;/p&gt;
&lt;p&gt;$3$ of each type of amphibian, $15$ moves&lt;/p&gt;
&lt;p&gt;$4$ of each type of amphibian, $24$ moves.&lt;/p&gt;
&lt;p&gt;I noticed that the number of moves is the number of each type of amphibian multiplied by itself plus 2. Now, that&amp;#39;s a bit of a mouthful, so here&amp;#39;s the formula that I came up with:  $n(n + 2)$ or $n˛ + 2n$.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;&lt;span class=&quot;editorial&quot;&gt;This might encourage others to write explanations in their own words, describing what they have done and where they got to.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;

&lt;/mdoxml&gt;</solutionXML>
  <noteXML>&lt;mdoxml version=&quot;1.0&quot;&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/6282&amp;amp;part=&quot;&gt;This game&lt;/a&gt;
allows pupils to think strategically in an engaging context. They
will need to work very systematically and may also want to develop
their own recording system.  With very young pupils it helps
to re-inforce the following of rules.&lt;/div&gt;

&lt;br&gt;&lt;/br&gt;
 

&lt;h3&gt;Possible approach&lt;/h3&gt;

&lt;div&gt;You could introduce this challenge using the interactivity,
but it works just as well to have pupils replacing the frogs and
toads.  The four chosen children can be sat on chairs with the
rest of the group offering ideas. Having a go at the initial
challenge as a whole class to begin with will help reinforce the
rules and may also bring about the need for some sort of
recording.&lt;/div&gt;

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

&lt;div&gt;Having got the idea, learners could work in pairs or small
groups.  At this stage, depending on your focus, you may offer
them the interactivity, or some pupils will prefer to have a
physical representation in front of them in the manner of small
counters, blocks etc. to move around. Keep a watch out for pupils
who don't have set places or items representing the lilypads, as it
is easy to lose the empty place!&lt;/div&gt;

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

&lt;div&gt;Emphasise that you are looking out for those pairs/groups who
are able to justify their thinking and convince everyone that there
really isn't a way of doing it in fewer moves.  &lt;/div&gt;

&lt;br&gt;&lt;/br&gt;
 

&lt;h3&gt;Key questions&lt;/h3&gt;

&lt;div&gt;Tell me about what you are thinking.&lt;/div&gt;

&lt;div&gt;Why that move?&lt;/div&gt;

&lt;div&gt;You seem to have some system going on can you tell me about
it?&lt;/div&gt;

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

&lt;br&gt;&lt;/br&gt;
 

&lt;h3&gt;Possible extension&lt;/h3&gt;

&lt;div&gt;Some learners will be keen to try larger numbers of frogs and
toads.  Being able to predict the total number of slides and
jumps needed for a given number of frogs/toads is not
straightforward but there is still value in encouraging pupils to
convince you there is no quicker way to complete the
challenge.&lt;/div&gt;

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

&lt;div&gt;Some children may be intrigued by the Towers of Hanoi problem,
which is similar in the necessity to work systematically. 
There are three pegs, and on the first peg is a stack of discs of
different sizes, arranged in order of descending size. The object
of the game is to move all of the discs to another peg. However,
only one disc can be moved at a time, and a disc cannot be placed
on top of a smaller disc.  The &lt;a href=&quot;http://nrich.maths.org/6690&amp;amp;part=&quot;&gt;interactivity in
this problem&lt;/a&gt; might help.&lt;/div&gt;

&lt;br&gt;&lt;/br&gt;
 

&lt;h3&gt;Possible support&lt;/h3&gt;

&lt;div&gt;Some pupils may need reminding of the rules but the
interactivity may help in this respect.&lt;/div&gt;

&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</noteXML>
  <clueXML>&lt;mdoxml version=&quot;1.0&quot;&gt;You could use counters or blocks to represent the frogs and toads
if you're not using the interactivity.&lt;br&gt;&lt;/br&gt;
How will you keep track of the moves you've made?&lt;br&gt;&lt;/br&gt;
Where &lt;span style=&quot;font-style: italic;&quot;&gt;could&lt;/span&gt; you move that
frog/toad?  What would happen next?  So which move might
be better/best?&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML/>
  <end_user_role>5</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>1</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>
Junior Frogs

</title>
  <description>
Have a go at this well-known challenge. Can you swap the frogs and toads in as few slides and jumps as possible?

</description>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Working systematically</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Recording mathematics</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Trial and improvement</specifier>
  </spec_group>
  <spec_group>Information and Communications Technology
    <specifier>Interactivities</specifier>
  </spec_group>
</resource>