<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>618</id>
  <path>/www/nrich/html/content/99/01/six1/</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;
Can you find what the last two digits of the number 4&lt;sup&gt;1999&lt;/sup&gt; are?&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;
&lt;span class=&quot;editorial&quot;&gt;The last two digits of the number 41999 are
44. The fact that this problem focuses on the last two digits
suggests we should use 'clock' or modulus arithmetic where we are
only interested in the remainders after division by 100.&lt;/span&gt; 
&lt;p class=&quot;editorial&quot;&gt;Well done all of you who explained carefully
how you found the pattern in the last two digits of powers of 4 and
decided that the answer must be 44. Congratulations to the
following people for their solutions: Claire and Rhona of Madras
College, St Andrew's; Angela, Geoffrey, Rachel, David and James of
Hethersett High School, Norwich; Bithian and Guobin of The Chinese
High School, Singapore; and The Key Stage 3 Maths Club at Strabane
Grammar School.&lt;/p&gt;
&lt;p&gt;Proving that the pattern really does go on repeating itself
indefinitely amounts to looking at multiples of 100 plus the last
two digits, in other words, using arithmetic modulo 100.&lt;/p&gt;
&lt;p&gt;We write 4 &lt;sup&gt;&lt;em&gt;a&lt;/em&gt;&lt;/sup&gt; = 100 &lt;em&gt;b&lt;/em&gt; + &lt;em&gt;c&lt;/em&gt;
where &lt;em&gt;a&lt;/em&gt; , &lt;em&gt;b&lt;/em&gt; and &lt;em&gt;c&lt;/em&gt; are whole numbers and
0 &lt;mdo:image alt=&quot;leq&quot; src=&quot;lte.gif&quot;&gt;&lt;/mdo:image&gt; &lt;em&gt;c&lt;/em&gt;
&amp;lt; 99.&lt;/p&gt;
&lt;p&gt;The first few terms in the cyclic pattern are:&lt;/p&gt;
 
&lt;table border=&quot;0&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Power of 4 ( &lt;em&gt;a&lt;/em&gt; )&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;&lt;em&gt;b&lt;/em&gt;&lt;/th&gt;
&lt;th&gt;&lt;em&gt;c&lt;/em&gt;&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;1&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;4&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;2&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;64&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;4&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;256&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;2&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;56&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;5&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;1024&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;10&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;6&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;4096&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;40&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;96&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;16384&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;163&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;84&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;8&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;65536&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;655&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;36&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;9&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;262144&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;2621&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;44&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;10&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;1048576&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;10485&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;76&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;11&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;4194304&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;41943&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;12&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;16777216&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;167772&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;13&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;67108864&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;671088&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;64&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;14&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;268435456&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;2684354&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;56&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;...&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;br&gt;&lt;/br&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;br&gt;&lt;/br&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;...&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;10k&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;br&gt;&lt;/br&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;br&gt;&lt;/br&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;76&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;right&quot;&gt;10k+1&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;br&gt;&lt;/br&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;&lt;br&gt;&lt;/br&gt;&lt;/td&gt;
&lt;td align=&quot;right&quot;&gt;4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The steps in the argument, given in words and in the language of
modulus arithmetic, are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;4 &lt;sup&gt;1991&lt;/sup&gt; is some multiple of 100 (say b) plus 4, i.e.
4 &lt;sup&gt;1991&lt;/sup&gt; is congruent to 4 modulo 100, which is written 4
&lt;sup&gt;1991&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt; 4 (mod 100).&lt;/li&gt;
&lt;li&gt;4 &lt;sup&gt;8&lt;/sup&gt; is some multiple of 100 (say B) plus 36, i.e. 4
&lt;sup&gt;8&lt;/sup&gt; is congruent to 36 modulo 100, which is written 4
&lt;sup&gt;8&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt;
36 (mod 100).&lt;/li&gt;
&lt;li&gt;4 &lt;sup&gt;1999&lt;/sup&gt; is 4 &lt;sup&gt;1991&lt;/sup&gt; multiplied by 4
&lt;sup&gt;8&lt;/sup&gt; , or (100b+4)(100B+36).&lt;/li&gt;
&lt;li&gt;Hence 4 &lt;sup&gt;1999&lt;/sup&gt; is some multiple of 100, plus 4 times
36, giving 44 as the last two digits.&lt;/li&gt;
&lt;li&gt;4 &lt;sup&gt;1999&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt; 4 &lt;sup&gt;1991&lt;/sup&gt; x 4 &lt;sup&gt;8&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt; 4 x 4 &lt;sup&gt;8&lt;/sup&gt;
&lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt; 4
&lt;sup&gt;9&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt;
44 (mod 100).&lt;/li&gt;
&lt;/ul&gt;
&lt;span class=&quot;editorial&quot;&gt;To prove this rigorously needs a proof that
4&lt;/span&gt; &lt;sup class=&quot;editorial&quot;&gt;10k+1&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt; &lt;span class=&quot;editorial&quot;&gt;4 (mod 100) which can be done using the axiom of
mathematical induction or by other methods. It also requires the
use of some simple algebra to show that 4&lt;/span&gt; &lt;sup class=&quot;editorial&quot;&gt;1999&lt;/sup&gt; &lt;mdo:image src=&quot;congruent.gif&quot; alt=&quot;&quot;&gt;&lt;/mdo:image&gt; &lt;span class=&quot;editorial&quot;&gt;4&lt;/span&gt; &lt;sup class=&quot;editorial&quot;&gt;9&lt;/sup&gt; &lt;span class=&quot;editorial&quot;&gt;(mod 100) as outlined
in the bullet points above. Some students may like to write a full
account of this argument for publication in the NRICH
'Inspirations' section.&lt;/span&gt; &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</solutionXML>
  <noteXML/>
  <clueXML/>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>5</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>1</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>0</keystage4plus>
  <title>Diggits</title>
  <description>Can you find what the last two digits of the number 4^1999 are?</description>
  <spec_group>Numbers and the Number System
    <specifier>Factors and multiples</specifier>
  </spec_group>
  <spec_group>Calculations and Numerical Methods
    <specifier>Multiplication &amp; division</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Powers &amp; roots</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Workshop</specifier>
  </spec_group>
</resource>