<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>7293</id>
  <path>/www/nrich/html/content/id/7293/</path>
  <resourceTypeID>1</resourceTypeID>
  <last_published>2011-03-15T11:36:49</last_published>
  <indexXML>&lt;mdoxml version=&quot;1.0&quot;&gt;
  &lt;br /&gt;
  &lt;ul id=&quot;buttonBar&quot;&gt;
    &lt;li&gt;
      &lt;a href=&quot;http://nrich.maths.org/325&amp;amp;part=&quot;&gt;Warm-up
problem&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;http://nrich.maths.org/337&amp;amp;part=&quot;&gt;Try this next&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;https://nrich.maths.org/discus/messages/27/27.html&quot;&gt;Ask
NRICH&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;http://en.wikipedia.org/wiki/Googolplex&quot;&gt;Read all about
it&lt;/a&gt;
    &lt;/li&gt;
    &lt;li&gt;
      &lt;a href=&quot;http://nrich.maths.org/7057&amp;amp;part=solution&quot;&gt;Last week's
solution&lt;/a&gt;
    &lt;/li&gt;
  &lt;/ul&gt;
  &lt;div&gt;
    &lt;br /&gt;
A &lt;span style=&quot;font-style: italic;&quot;&gt;googol&lt;/span&gt; is the number
$10^{100}$. What is the smallest whole number $n$ for which&lt;br /&gt;
$$&lt;br /&gt;
n^4-6n^2&amp;gt; \mbox{googol}?&lt;br /&gt;
$$&lt;br /&gt;
Can you carefully write out the number on the left-hand side of
this inequality for this value of $n$ in base 10?&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
  &lt;/div&gt;
  &lt;div class=&quot;framework&quot;&gt;
    &lt;span style=&quot;font-style: italic;&quot;&gt;Did you
know ... ?&lt;/span&gt;
    &lt;br /&gt;
    &lt;br /&gt;
Although computers are very useful in checking calculations in
number theory, it is very difficult to use them to perform
calculations involving very, very large numbers. A googol is a big
number, but a googolplex, defined to be $10^{\mbox{googol}}$ is
unimaginably larger. Such gigantic numbers do make appearances in
mathematics from time to time and require the power of pure thought
and mathematics to yield to analysis. Rather amusingly, the Googol
Corporation call their headquarters 'the googolplex'.&lt;/div&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;p&gt;The numbers in the problem are too large for computers to deal
with in a straightforward fashion (or, rather, were in 2011), so we
need to use pure mathematics to help us. There are at least two
possible positive ways forwards:&lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 First, you might notice that the inequality is a quadratic in the
variable $n^2$. You could solve the corresponding equality and use
this to work out the minimum value of $n$ by rounding up the answer
to the next largest integer.&lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 Alternatively, you could notice that $10^{100}=(10^{25})^4$. So,
it is quite clear that $n=10^{25}$ is too small.&lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 What about $10^{25}+1$? We can substitute this value and use the
binomial theorem to show that $$ \begin{eqnarray}
(10^{25}+1)^4-6(10^{25}+1)^2&amp;amp;=&amp;amp;\left(10^{100} +4\times
10^{75} + 6\times 10^{50} +4\times 10^{25} + 1\right)\cr
&amp;amp;&amp;amp;\quad\quad- 6\left(10^{50}+2\times 10^{25}+1\right)
\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;=&amp;amp; 10^{100}+4\times 10^{75}-8\times 10^{25}-5&lt;br&gt;&lt;/br&gt;
 \end{eqnarray} $$ It might seem &amp;#39;obvious&amp;#39; that this value is
greater than $10^{100}+1$ but it is a good idea to get into the
habit of writing down precisely why it is obvious - the problem
here is that we are suggesting the that sum of three different
terms is greater than $1$. A simple way forward is to write
out an inequality where we simplify one of the terms at each stage
until we are left with just two terms as follows:&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 \begin{eqnarray}&lt;br&gt;&lt;/br&gt;
 4\times 10^{75}-8\times 10^{25}-5&amp;amp;&amp;gt; &amp;amp; 10^{75}
- 8\times 10^{25}-5\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;&amp;gt; &amp;amp; 10^{75}-10^{26}-5\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;&amp;gt; &amp;amp; 10^{75}-2\times 10^{26}\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;&amp;gt; &amp;amp; 10^{75}-10^{27}\cr &amp;amp;&amp;gt; &amp;amp;1
\end{eqnarray}&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 (Note: you might not see the &amp;#39;point&amp;#39; of these inequality
manipulations: they are useful because it is clear and easy to
verify each individual step. This turns something which might just
be controversial into something that is not at all
controversial.)&lt;/p&gt;

&lt;p&gt;Now for writing out the number $N$ on the left hand side of the
inequality. As the number is so large a computer or a spreadsheet
will not easily help us. Keeping the &amp;#39;+1&amp;#39; part separate for as long
as possible gives us (where $X=10^{25}$)&lt;/p&gt;

&lt;p&gt;$$ \begin{eqnarray} N &amp;amp;=&amp;amp; (X+1)^4-6(X+1)^2 \cr
&amp;amp;=&amp;amp; X^4+4X^3+6X^2+4X+1 - 6(X^2+2X+1)\cr &amp;amp;=&amp;amp;
X^4+4X^3-8X-5 \end{eqnarray} $$ The structure of this number is now
clear to us and includes the problematic negative terms, which we
can deal with one at a time.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Firstly, $8\times 10^{25}$ is represented as $8$ followed by
$25$ zeros. Removing this from the part $4\times 10^{75}$ leaves a
number of the form&lt;/p&gt;

&lt;p&gt;$$&lt;br&gt;&lt;/br&gt;
 100\dots 0039\dots 9200\dots 00&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 Removing the $5$ from this gives a number of the form&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 100\dots 0039\dots 9199\dots 995&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 The trick is now to get the $1$s and the $3$ in the correct place.
If we consider the number as a string of digits, counted from the
right, then the first $1$ with be in the 101st place, the $3$ in
the 76th place and the second 1 in the 26th place.&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 8px;&quot;&gt;10,000,000,000,000,000,000,000,003,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,919,999,999,999,999,999,999,999,995&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Phew! Who would have thought that place value could be so
tricky? If you are planning on entering a career in finance or
science then part of your computer programming will be to ensure
that large numbers that you enter into your code are accurate. A
lot could rest on this accuracy, so patient and careful detail are
the key skills required.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;&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;&lt;p&gt;The numbers in the problem are too large for computers to deal
with in a straightforward fashion (or, rather, were in 2011), so we
need to use pure mathematics to help us. There are at least two
possible positive ways forwards:&lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 First, you might notice that the inequality is a quadratic in the
variable $n^2$. You could solve the corresponding equality and use
this to work out the minimum value of $n$ by rounding up the answer
to the next largest integer.&lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 Alternatively, you could notice that $10^{100}=(10^{25})^4$. So,
it is quite clear that $n=10^{25}$ is too small.&lt;br&gt;&lt;/br&gt;
  &lt;br&gt;&lt;/br&gt;
 What about $10^{25}+1$? We can substitute this value and use the
binomial theorem to show that $$ \begin{eqnarray}
(10^{25}+1)^4-6(10^{25}+1)^2&amp;amp;=&amp;amp;\left(10^{100} +4\times
10^{75} + 6\times 10^{50} +4\times 10^{25} + 1\right)\cr
&amp;amp;&amp;amp;\quad\quad- 6\left(10^{50}+2\times 10^{25}+1\right)
\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;=&amp;amp; 10^{100}+4\times 10^{75}-8\times 10^{25}-5&lt;br&gt;&lt;/br&gt;
 \end{eqnarray} $$ It might seem &amp;#39;obvious&amp;#39; that this value is
greater than $10^{100}+1$ but it is a good idea to get into the
habit of writing down precisely why it is obvious - the problem
here is that we are suggesting the that sum of three different
terms is greater than $1$. A simple way forward is to write
out an inequality where we simplify one of the terms at each stage
until we are left with just two terms as follows:&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 \begin{eqnarray}&lt;br&gt;&lt;/br&gt;
 4\times 10^{75}-8\times 10^{25}-5&amp;amp;&amp;gt; &amp;amp; 10^{75}
- 8\times 10^{25}-5\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;&amp;gt; &amp;amp; 10^{75}-10^{26}-5\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;&amp;gt; &amp;amp; 10^{75}-2\times 10^{26}\cr&lt;br&gt;&lt;/br&gt;
 &amp;amp;&amp;gt; &amp;amp; 10^{75}-10^{27}\cr &amp;amp;&amp;gt; &amp;amp;1
\end{eqnarray}&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 (Note: you might not see the &amp;#39;point&amp;#39; of these inequality
manipulations: they are useful because it is clear and easy to
verify each individual step. This turns something which might just
be controversial into something that is not at all
controversial.)&lt;/p&gt;

&lt;p&gt;Now for writing out the number $N$ on the left hand side of the
inequality. As the number is so large a computer or a spreadsheet
will not easily help us. Keeping the &amp;#39;+1&amp;#39; part separate for as long
as possible gives us (where $X=10^{25}$)&lt;/p&gt;

&lt;p&gt;$$ \begin{eqnarray} N &amp;amp;=&amp;amp; (X+1)^4-6(X+1)^2 \cr
&amp;amp;=&amp;amp; X^4+4X^3+6X^2+4X+1 - 6(X^2+2X+1)\cr &amp;amp;=&amp;amp;
X^4+4X^3-8X-5 \end{eqnarray} $$ The structure of this number is now
clear to us and includes the problematic negative terms, which we
can deal with one at a time.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Firstly, $8\times 10^{25}$ is represented as $8$ followed by
$25$ zeros. Removing this from the part $4\times 10^{75}$ leaves a
number of the form&lt;/p&gt;

&lt;p&gt;$$&lt;br&gt;&lt;/br&gt;
 100\dots 0039\dots 9200\dots 00&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 Removing the $5$ from this gives a number of the form&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 100\dots 0039\dots 9199\dots 995&lt;br&gt;&lt;/br&gt;
 $$&lt;br&gt;&lt;/br&gt;
 The trick is now to get the $1$s and the $3$ in the correct place.
If we consider the number as a string of digits, counted from the
right, then the first $1$ with be in the 101st place, the $3$ in
the 76th place and the second 1 in the 26th place.&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size: 8px;&quot;&gt;10,000,000,000,000,000,000,000,003,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,999,919,999,999,999,999,999,999,999,995&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;Phew! Who would have thought that place value could be so
tricky? If you are planning on entering a career in finance or
science then part of your computer programming will be to ensure
that large numbers that you enter into your code are accurate. A
lot could rest on this accuracy, so patient and careful detail are
the key skills required.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>0</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Weekly Challenge 34: Googol</title>
  <description>Find the smallest value for which a particular sequence is greater
than a googol.</description>
  <spec_group>Admin
    <specifier>Short problems</specifier>
  </spec_group>
  <spec_group>Sequences, Functions and Graphs
    <specifier>Sequences</specifier>
  </spec_group>
  <spec_group>Advanced Algebra
    <specifier>Summation of series</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Powers &amp; roots</specifier>
  </spec_group>
  <spec_group>Collections
    <specifier>Weekly Challenge</specifier>
  </spec_group>
</resource>