<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>8315</id>
  <path>/www/nrich/html/content/id/8315/</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;div style=&quot;text-align: center;&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;mdo:image src=&quot;icon2.png&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;&quot;The Pied Piper of Hamelin&amp;#39;&amp;#39; is a story you may have heard or read. This man, who is often dressed in very bright colours, drives the many rats out of town by his pipe playing -  and the children follow his tune.&lt;/p&gt;
&lt;p&gt;Suppose that there were $100$ children  and 100 rats. Supposing they all have the usual number of legs, there will be $600$ legs in the town belonging to people and rats.&lt;/p&gt;
&lt;p&gt;But now, what if you were only told that there were 600 legs belonging to people and rats but you did not know how many children/rats there were?&lt;/p&gt;
&lt;p&gt;The challenge is to &lt;em&gt;&lt;strong&gt;investigate how many children/rats there could be if the number of legs was $600$.&lt;/strong&gt;&lt;/em&gt; To start you off, it is not too hard to see that you could have $100$ children and $100$ rats; &lt;em&gt;&lt;strong&gt;or&lt;/strong&gt;&lt;/em&gt; you could have had $250$ children and $25$ rats. See what other numbers you can come up with.&lt;br&gt;&lt;/br&gt;
Remember that you have to have $600$ legs altogether and rats will have $4$ legs and children will have $2$ legs.&lt;/p&gt;
&lt;p&gt;When it&amp;#39;s time to have a look at all the results that you have got and see what things you notice you might write something like this:&lt;/p&gt;
&lt;p&gt;a) $100$ Children and $100$ Rats  - the same number of both,&lt;br&gt;&lt;/br&gt;
b) $150$ Children and $75$ Rats - twice as many Children as rats,&lt;br&gt;&lt;/br&gt;
c) $250$ Children and $25$ Rats -   ten times as many Children as Rats.&lt;/p&gt;
&lt;p&gt;This seems as if it could be worth looking at more deeply. I guess there are other things which will &quot;pop up&amp;#39;&amp;#39;, to explore.&lt;/p&gt;
&lt;p&gt;Then there is the chance to put the usual question &quot;I wonder what would happen if ...?&amp;#39;&amp;#39;&lt;br&gt;&lt;/br&gt;
 &lt;/p&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;span class=&quot;editorial&quot;&gt;We had a good number of solutions sent in, thank you.  Here we will feature those of you who&amp;#39;ve looked at many possibilities. From &lt;span class=&quot;editorial&quot;&gt;George at Linton Heights Junior School  we had the following:&lt;/span&gt;&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
a) $0$ rats and $300$ children&lt;br&gt;&lt;/br&gt;
b) $1$ rat and $298$ children&lt;br&gt;&lt;/br&gt;
c) $5$ rats and $290$ children&lt;br&gt;&lt;/br&gt;
d) $10$ rats and $280$ children&lt;br&gt;&lt;/br&gt;
e) $25$ rats and $250$ children&lt;br&gt;&lt;/br&gt;
f) $50$ rats and $200$ children&lt;br&gt;&lt;/br&gt;
g) $100$ rats and $100$ children&lt;br&gt;&lt;/br&gt;
h) $125$ rats and $50$ children&lt;br&gt;&lt;/br&gt;
i) $150$ rats and $0$ children &lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;From &lt;/span&gt;&lt;span class=&quot;editorial&quot;&gt;Patrick at Manorcroft Primary School we had this good explanation, well done: &lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
There are $148$ different combinations of child and rat because I figured out that you could replace $1$ rat with $2$ children (because one rat has twice as many legs as a child) so the maximum possible children to rats are $298$ children to $1$ rat and the maximum possible rats to children is $149$ rats to $2$ children. If you take $1$ from $149$ to get $148$
possiblities.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;Year $5 $ pupils from St Ambrose Catholic Primary School said;&lt;br&gt;&lt;/br&gt;
 &lt;/span&gt;&lt;br&gt;&lt;/br&gt;
There are many possible answers to this question, to find out how many children, you can start with the number of rats. You can go from $1$ rat to $149$ rats to work out how many children.  The rule is: multiply by $4$, take away from $600$, divide by $2$. &lt;br&gt;&lt;/br&gt;
For example, $1$ rat= $298$ children because $1$x$4=4 600-4=596, 596$ divided by $2=298$.&lt;br&gt;&lt;/br&gt;
If we start with the number of children the rule is: multiply by $2$, take away from $600$, divide by $4$.&lt;br&gt;&lt;/br&gt;
For example, $2$ children $ = 149$ rats because $2$x$2=4$, $600-4= 596, 596$ divided by $4= 149$.&lt;br&gt;&lt;/br&gt;
There are some patterns that we noticed, such as: If you take $1$ away from the amount of rats, it adds $2$ to the amount of children. For example: $86$ children, $107$ rats; $106$ rats, $88$ children.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;James , who calls his school  &quot;BG&quot;  sent in the following good explanation:&lt;/span&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
When working out the pattern for children/rats, I thought it would be a good idea to start with either everything as children or everything as rats. I decided to start with everything as children, which would be $300$ children and $0$ rats, since $600$ halved is $300$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Then, I knew if I wanted to get all possible solutions, I&amp;#39;d need to come up with a pattern. My pattern was adding some of the children&amp;#39;s legs, to the rats each time. But of course, since rats have twice as many legs as children, that wouldn&amp;#39;t work, so I took away two children for every rat I added, as shown in the pattern below:&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;hr&gt;&lt;/hr&gt;
&lt;table style=&quot;width: 500px;border-spacing:1px;&quot; border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Children&lt;/td&gt;
&lt;td&gt;Rats&lt;/td&gt;
&lt;td&gt;Legs&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$300$&lt;/td&gt;
&lt;td&gt;$0$&lt;/td&gt;
&lt;td&gt;$600 + 0$&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$298$&lt;/td&gt;
&lt;td&gt;$1$&lt;/td&gt;
&lt;td&gt;$596+ 4$&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$296$&lt;/td&gt;
&lt;td&gt;$2$&lt;/td&gt;
&lt;td&gt;$592 + 8$&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$294$&lt;/td&gt;
&lt;td&gt;$3$&lt;/td&gt;
&lt;td&gt;$588 + 12$&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
I did that on and on, until I was certain, that every time, the legs would total up to $600$. By looking at the number of children, and noticing that it started at $300$, and got $2$ fewer each time, I divided $300$ by $2$, and then added on the $1$ possibilty, with $0$ children, to work out there would be $151$ possible solutions for this.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;span class=&quot;editorial&quot;&gt;These solutions are really good. Well done, keep submitting solutions to other activities.&lt;/span&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;This Pied Piper of Hamelin&lt;/h2&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br&gt;&lt;/br&gt;
&lt;mdo:image alt=&quot;image&quot; height=&quot;196&quot; src=&quot;images.jpg&quot; width=&quot;177&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;p&gt;&quot;The Pied Piper of Hamelin&amp;#39;&amp;#39; is a story you may have heard or read. This man, who is often dressed in very bright colours, drives the many rats out of town by his pipe playing -  and the children follow his tune.&lt;/p&gt;
&lt;p&gt;Suppose that there were $100$ children  and 100 rats. Supposing they all have the usual number of legs, there will be $600$ legs in the town belonging to people and rats.&lt;/p&gt;
&lt;p&gt;But now, what if you were only told that there were 600 legs belonging to people and rats but you did not know how many children/rats there were?&lt;/p&gt;
&lt;p&gt;The challenge is to &lt;em&gt;&lt;strong&gt;investigate how many children/rats there could be if the number of legs was $600$.&lt;/strong&gt;&lt;/em&gt; To start you off, it is not too hard to see that you could have $100$ children and $100$ rats; &lt;em&gt;&lt;strong&gt;or&lt;/strong&gt;&lt;/em&gt; you could have had $250$ children and $25$ rats. See what other numbers you can come up with.&lt;br&gt;&lt;/br&gt;
Remember that you have to have $600$ legs altogether and rats will have $4$ legs and children will have $2$ legs.&lt;/p&gt;
&lt;p&gt;When it&amp;#39;s time to have a look at all the results that you have got and see what things you notice you might write something like this:&lt;/p&gt;
&lt;p&gt;a) $100$ Children and $100$ Rats  - the same number of both,&lt;/p&gt;
&lt;p&gt;b) $150$ Children and $75$ Rats - twice as many Children as rats,&lt;br&gt;&lt;/br&gt;
c) $250$ Children and $25$ rates -   ten times as many Children as Rats.&lt;/p&gt;
&lt;p&gt;This seems as if it could be worth looking at more deeply. I guess there are other things which will &quot;pop up&amp;#39;&amp;#39;, to explore.&lt;/p&gt;
&lt;p&gt;Then there is the chance to put the usual question &quot;I wonder what would happen if ...?&amp;#39;&amp;#39;&lt;br&gt;&lt;/br&gt;
 &lt;/p&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;This &lt;a href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=1996&amp;amp;part=&quot;&gt;activity,&lt;/a&gt; based on the well-known story, opens the door to opportunities for doing mathematical calculations that can be explored with or without a spreadsheet. The story scenario is motivating and gives the children a meaningful context in which to make sense of these calculations. It can be extended by
allowing pupils to create further questions to answer.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible approach&lt;/h3&gt;
&lt;div&gt;Reading a version of The Pied Piper of Hamlin with the children so that they are familiar with the story before starting this investigation is a good way to start.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;Then you could use the story to talk about the number of legs at particular times. You could also pose some theoretical questions, such as asking the children to imagine you&amp;#39;ve opened the book at a page which had 10 legs on it in total. How many people and how many rats could there have been? Learners could work on this in pairs using mini-whiteboards and then you can talk about the
possiblities as a whole group. This will lead into general conversations about the number of animals/people and how the number of each affects the other.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;You might also want to spend some time sharing ways of recording what the children are doing. Some might be drawing pictures or symbols for the rats/people, others might be recording numbers only. It is worth talking about the different ways and the advantages/disadvantages of each. You may find that after some discussion, a few children adopt a different way of recording to the one they
started with.&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Key questions&lt;/h3&gt;
&lt;div&gt;How many legs do your rats have?&lt;/div&gt;
&lt;div&gt;What could you replace a rat with?&lt;/div&gt;
&lt;div&gt;Can you tell me about the way you are working out so many possibilities?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div&gt;(And for the pupils who have gone much further)&lt;/div&gt;
&lt;div&gt;What have you noticed about all your results so far?&lt;/div&gt;
&lt;div&gt;Can you explain why . . . . . has happened?&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;Possible extension&lt;/h3&gt;
&lt;div&gt;Setting different target numbers of legs offers the chance to explore multiples of 2 and 4 and how they are related. Each target number will have a range of possible solutions. Encourage the children to generalise about how the numbers of rats and people are related.&lt;br&gt;&lt;/br&gt;
Another avenue for extension woul be to look at animals with other numbers of legs and perhaps three types of different-legged animals at the same time - eg. birds, spiders and pigs. This option links with &lt;a href=&quot;http://nrich.maths.org/136&quot;&gt;Noah&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 may find the large numbers being considered in the presentation of the problem too high to make sense of so start them off with lower targets such as 20 or 30 legs. &lt;a href=&quot;http://nrich.maths.org/136&quot;&gt;Noah&lt;/a&gt; is a similar problem involving fewer legs. Some toys or pictures representing the different animals may help some pupils to get started. Modelling clay bodies with straw
legs can also be very helpful. Children could be given 20 lengths of straw and work on sharing them between people and rats as a way in to dealing with the larger numbers in a more abstract way.&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;If you had one fewer rat, what could you replace it with to keep the number of legs the same?&lt;br&gt;&lt;/br&gt;
How are you keeping track of what you have done?&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;&lt;br&gt;&lt;/br&gt;
Here is just a taste of the results with 720 qne 600 legs showing the ratios of rats to humans nad humans to rats.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;mdo:image alt=&quot;pic 1&quot; height=&quot;423&quot; src=&quot;Picture%201.jpg&quot; width=&quot;372&quot;&gt;&lt;/mdo:image&gt;&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
Lara, John-Anthony, Harry and Richard of Loretto Junior say: If you start with 100 rats and 100 humans and then do the following: Humans 98 and rats 101 Humans 96 and rats 102 And so on -- then you get a lot of combinations!! Yes - you&amp;#39;re right, well done. That&amp;#39;s a great way to start. So, everytime you have one more rat, you need to lose two humans so that the total number of legs stays at 600.
Is it possible to have more than 100 humans then and fewer than 100 rats? We&amp;#39;d love to hear from you if you&amp;#39;ve investigated this problem further.Please don&amp;#39;t worry that your solution is not &quot;complete&quot; - we&amp;#39;d like to hear about anything you have tried.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Thanks to all who sent in solutions. Here are some from Oakley School and St. George&amp;#39;s school. This is what Emily sent us;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If you TAKE 1 rat you have to ADD 2 people&lt;br&gt;&lt;/br&gt;
E.G&lt;br&gt;&lt;/br&gt;
2 people + 196 rats 98 people + 101 rats&lt;br&gt;&lt;/br&gt;
4 people + 195 rats 96 people + 102 rats&lt;br&gt;&lt;/br&gt;
6 people + 194 rats&lt;br&gt;&lt;/br&gt;
8 people + 193 rats&lt;br&gt;&lt;/br&gt;
10 people + 192 rats&lt;br&gt;&lt;/br&gt;
etc.&lt;br&gt;&lt;/br&gt;
Hope this helps!&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Ben, Hannah &amp;amp; Scott sent in these thoughts;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
We figured that if you add 1 rat and take 2 people. For example 108 rats and 84 people, 109 rats and 82 people and 110 rats and 80 people.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Otis, Jason &amp;amp; Sophis sent their solutions for 600 legs;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
our solutions are:&lt;br&gt;&lt;/br&gt;
298 people, 1 rat&lt;br&gt;&lt;/br&gt;
298x2 = 596 legs&lt;br&gt;&lt;/br&gt;
1 rat = 4 legs&lt;br&gt;&lt;/br&gt;
298 people(596 legs) + 1 rat(4 legs)&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
150x2 = 300 legs&lt;br&gt;&lt;/br&gt;
75x4 = 300 legs&lt;br&gt;&lt;/br&gt;
150 people(300 legs) + 75 rats(300 legs)&lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>1</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>This Pied Piper of Hamelin</title>
  <description>This problem is based on the story of the Pied Piper of Hamelin. Investigate the different numbers of people and rats there could have been if you know how many legs there are altogether!</description>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Working systematically</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Upper primary mapping document</specifier>
  </spec_group>
</resource>