<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>9434</id>
  <path>/www/nrich/html/content/id/9434/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2012-09-18T12:42:42</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;
Three monkeys Barry, Harry and Larry met for tea in their favourite cafe, taking off their hats as they arrived.&lt;br&gt;&lt;/br&gt;
When they left, they each put on one of the hats at random.&lt;br&gt;&lt;/br&gt;
What is the probability that none of them left wearing the same hat as when they arrived?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
If you liked this problem, &lt;a href=&quot;/4308&quot;&gt;here is an NRICH task&lt;/a&gt; which challenges you to use similar mathematical ideas.&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;</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;
Let the hats of B, H and L be b, h and l respectively. Draw a table showing the ways in which the monkeys can select hats.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
In only two of the six ways do none of the monkeys have the same hat as when they arrived, hence the required probability is&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
$\frac{2}{6}=\frac{1}{3}$.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
Alternatively, there are $3\times2\times1=6$ possible ways to choose the three hats.&lt;br&gt;&lt;/br&gt;
There are two hats that B could choose.&lt;br&gt;&lt;/br&gt;
If B chose h, then L would have to choose b and H would have to choose l.&lt;br&gt;&lt;/br&gt;
If B chose l, then H would have to choose b and L would have to choose h.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
So once B has chosen his hat the other two are fixed. So there are just the two possible alternatives out of six ways.&lt;br&gt;&lt;/br&gt;
So the probability is $\frac{2}{6}=\frac{1}{3}$.&lt;/mdoxml&gt;</solutionXML>
  <noteXML/>
  <clueXML/>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;Probability - Stage 3 Short Problem, UKMT 2009-2010 p24 QA4&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>1</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Weekly Problem 47 - 2012</title>
  <description>Weekly Problem 47 - 2012</description>
  <spec_group>Secondary Mapping Document
    <specifier>Probability LS</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>DisplayCabinet</specifier>
  </spec_group>
</resource>