<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>1966</id>
  <path>/www/nrich/html/content/98/08/15plus1/</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;
Find the values of $n$ for which $1^n + 8^n - 3^n - 6^n$ is
divisible by 6. &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;
&lt;span class=&quot;editorial&quot;&gt;Murat from Turkey sent the following solution.&lt;/span&gt;
&lt;p&gt;If $g(n)=(1+8^n-3^n)$ is divisible by 6, then $(1+8^n-3^n-6^n)$ is also divisble by 6. It can be verified that&lt;/p&gt;
&lt;p&gt;$$g(n)-73g(n-2)+576g(n-4)=504$$&lt;/p&gt;
&lt;p&gt;for all positive integers $n&amp;amp;gt; 3$. Since $g(1)$ and $g(3)$ are divisible by 6, it follows that $g(5)$ is also. By induction, it can be shown that for all odd $n$, $g(n)$ is divisible by 6. Since $g(2)$ and $g(4)$ are not divisible by 6, this is not the case for even $n$.&lt;/p&gt;
&lt;p&gt;An alternative approach is to use the facts that powers of odd numbers are always odd; powers of even numbers are always even; also the difference of two odd numbers is even. Hence $N=1^n+8^n-3^n-6^n$ is even (odd + even - odd - even).&lt;/p&gt;
&lt;p&gt;It remains to decide whether or not $N$ is divisible by 3.&lt;/p&gt;
&lt;p&gt;$N \equiv 1 + (-1)^n - 0 - 0$ (mod 3)&lt;/p&gt;
&lt;p&gt;This shows that $N \equiv 0$ (mod 3) if $n$ is odd and hence $N$ will be divisible by 6 for all odd values of $n$. However, $N \equiv 2$ (mod 3) if $n$ is even and so $N$ cannot be divisible by 6 for even values of $n$.&lt;/p&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;br&gt;&lt;/br&gt;
&lt;h3&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Why do&lt;/span&gt; &lt;a style=&quot;font-weight: bold;&quot; href=&quot;http://nrich.maths.org/public/viewer.php?obj_id=1966&quot;&gt;this
problem&lt;/a&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;?&lt;/span&gt;&lt;/h3&gt;
As a simple exercise using modulus arithmetic where learners can
make and test their own conjectures. By trying small values of n
learners may make their own conjectures about when the expression
is divisible by 6 and when it is not.&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
&lt;h3&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Key question&lt;/span&gt;&lt;/h3&gt;
How can we write the expression as an equivalent expression modulo
3?&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;&lt;br&gt;&lt;/br&gt;
Consider separately when $N = 1^n + 8^n - 3^n - 6^n$ is divisible
by $2$ and when it is divisible by $3$. &lt;br&gt;&lt;/br&gt;&lt;/mdoxml&gt;</clueXML>
  <canonXML/>
  <end_user_role>2</end_user_role>
  <difficulty>3</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Obviously?</title>
  <description>Find the values of n for which 1^n + 8^n - 3^n - 6^n is divisible
by 6.</description>
  <spec_group>Numbers and the Number System
    <specifier>Divisibility</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Mathematical induction</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Modulus arithmetic</specifier>
  </spec_group>
  <spec_group>Admin
    <specifier>Short problems</specifier>
  </spec_group>
  <spec_group>Secondary Mapping Document
    <specifier>MD Factors, multiples and primes</specifier>
  </spec_group>
</resource>