<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://michaelnielsen.org/polymath/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mark+Bennet</id>
	<title>Polymath Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://michaelnielsen.org/polymath/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mark+Bennet"/>
	<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Special:Contributions/Mark_Bennet"/>
	<updated>2026-04-07T15:08:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3220</id>
		<title>Imo 2010</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3220"/>
		<updated>2010-07-26T12:04:33Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Compound moves */ typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the wiki page for the mini-polymath2 project, which seeks solutions to Question 5 of the 2010 International Mathematical Olympiad.   &lt;br /&gt;
&lt;br /&gt;
The project will start at [http://www.timeanddate.com/worldclock/fixedtime.html?year=2010&amp;amp;month=7&amp;amp;day=8&amp;amp;hour=16&amp;amp;min=0&amp;amp;sec=0&amp;amp;p1=0 16:00 UTC July 8], and is hosted at the [http://polymathprojects.org/ polymath blog].  A discussion thread is hosted at [http://terrytao.wordpress.com Terry Tao&#039;s blog].&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
This project will follow the [http://polymathprojects.org/general-polymath-rules/ usual polymath rules].  In particular:&lt;br /&gt;
&lt;br /&gt;
* Everyone is welcome to participate, though people who have already seen an external solution to the problem should probably refrain from giving spoilers throughout the experiment.&lt;br /&gt;
* This is a team effort, not a race between individuals.  Rather than work for extended periods of time in isolation from the rest of the project, the idea is to come up with short observations (or to carry an observation of another participant further) and then report back what one gets to the rest of the team.  Partial results or even failures can be worth reporting.&lt;br /&gt;
* Participants are encouraged to update the wiki, or to summarise progress within threads, for the benefit of others.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
Discussion and planning:&lt;br /&gt;
&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/12/future-mini-polymath-project-2010-imo-q6/ Future mini-polymath project: 2010 IMO Q6?]  June 12, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/21/organising-mini-polymath2/ Organising mini-polymath2] June 21, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/27/mini-polymath2-start-time/ Mini-polymath2 start time], June 27, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/07/08/mini-polymath2-discussion-thread/ Mini-polymath2 discussion thread], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
Research:&lt;br /&gt;
&lt;br /&gt;
* [http://polymathprojects.org/2010/07/08/minipolymath2-project-imo-2010-q5/ Minipolymath2 project: IMO 2010 Q5], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
== The question ==&lt;br /&gt;
&lt;br /&gt;
The question to be solved is Question 5 of the [http://www.imo-official.org/problems.aspx 2010 International Mathematical Olympiad]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Problem&#039;&#039;&#039; In each of six boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5, B_6&amp;lt;/math&amp;gt; there is initially one coin. There are two types of operation allowed:&lt;br /&gt;
: &lt;br /&gt;
: &#039;&#039;Type 1:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j \leq 5&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; and add two coins to &amp;lt;math&amp;gt;B_{j+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: &#039;&#039;Type 2:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq k \leq 4&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; and exchange the contents of (possibly empty) boxes &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: Determine whether there is a finite sequence of such operations that results in boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5&amp;lt;/math&amp;gt;  being empty and box &amp;lt;math&amp;gt;B_6&amp;lt;/math&amp;gt; containing exactly &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt; coins. (Note that &amp;lt;math&amp;gt;a^{b^c} := a^{(b^c)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== Observations and partial results ==&lt;br /&gt;
&lt;br /&gt;
* If the left-most box &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; becomes empty, then it cannot ever become non-empty again.  Furthermore, the left-most box can never have more than one coin; it can be touched exactly once.&lt;br /&gt;
* Define the &#039;&#039;worth&#039;&#039; W of a state to be &amp;lt;math&amp;gt;W = B_6 + 2 B_5 + 4 B_4 + 8 B_3 + 16 B_2 + 32 B_1&amp;lt;/math&amp;gt;.  Then the initial worth is 63, the final desired worth is &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, and the Type 1 move does not affect the worth.  On the other hand, the Type 2 move increases the worth when &amp;lt;math&amp;gt;B_{j+2} - B_{j+1} \geq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Once one has a large number of coins in one of the first four boxes, say &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt;, one can apply the Type 2 move repeatedly to remove coins from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; while swapping &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt; repeatedly.  This suggests that it is relatively easy to remove coins from the system; the difficulty is in adding coins to the system.&lt;br /&gt;
* The total number of coins in the system is bounded.  Indeed, let &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; be the maximum number of coins that one can end up with starting with N boxes with at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; coins in them.  Thus for instance &amp;lt;math&amp;gt;f(1,\Sigma)=\Sigma&amp;lt;/math&amp;gt;.  By considering the times when one touches the left-most box, we can bound &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; by at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; iterations of the map &amp;lt;math&amp;gt;n \mapsto f(N-1,n)+2&amp;lt;/math&amp;gt; starting with &amp;lt;math&amp;gt;n=\Sigma&amp;lt;/math&amp;gt;.  This gives an Ackermann-type bound on &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt;.  We need f(6,6) to be less than &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, but this bound is likely to be too large.&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
* Split the problem into two pieces.  Part I: try to show the weaker result that the number of coins in the system can eventually be as large as &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  Part II: Show that once one has a lot of coins, one can move to the final state where &amp;lt;math&amp;gt;B_1=\ldots=B_5=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_6 = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* Try to show that a quantity such as the worth increases or decreases in a controlled manner as one applies the Type 1 and Type 2 moves.&lt;br /&gt;
* We know that the first box can never contain more than one coin.  What can we say about the second box, third box, etc.?&lt;br /&gt;
** There may be a recursive formula for the maximal size of box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt;, possibly requiring one to solve the five-box, four-box, etc. problems first.&lt;br /&gt;
* Work backwards?&lt;br /&gt;
* Try to completely solve the three-box problem (say) first: starting from &amp;lt;math&amp;gt;[X,Y,Z]&amp;lt;/math&amp;gt;, what is the most number of coins one can generate?&lt;br /&gt;
&lt;br /&gt;
== Compound moves ==&lt;br /&gt;
&lt;br /&gt;
Here we use Type 1 move &amp;lt;math&amp;gt;[a,b] \to [a-1,b+2]&amp;lt;/math&amp;gt; and the Type 2 move &amp;lt;math&amp;gt;[a,b,c] \to [a-1,c,b]&amp;lt;/math&amp;gt; to create more advanced moves.&lt;br /&gt;
&lt;br /&gt;
# We can create the move &amp;lt;math&amp;gt;[a,b] \to [0,b+2a]&amp;lt;/math&amp;gt; from repeated application of Type 1.&lt;br /&gt;
# We have &amp;lt;math&amp;gt;[1,a,b] \to [0,0,a+2b]&amp;lt;/math&amp;gt; by applying Type 2 once and then Type 1 b times.&lt;br /&gt;
#* Or, by using advanced move 1 first, the move &amp;lt;math&amp;gt;[1, a, b] \to [1, 0, b+2a] \to [0, b+2a, 0] \to [0, 0, 2b+4a]&amp;lt;/math&amp;gt;.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,0,0] \to [0,2^a,0]&amp;lt;/math&amp;gt; via &amp;lt;math&amp;gt;[a,0,0] \to [a-1,2,0] \to [a-1,0,4] \to [a-2,4,0] \to [a-2,0,8] \to \ldots \to [1, 0, 2^a] \to [0,2^a,0]&amp;lt;/math&amp;gt;.&lt;br /&gt;
#* Note that, except for the first move, the coins in the left-most box here are only being used for Type 2 swaps, and otherwise compound move 1 is being applied to the second two boxes.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a,b \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-1, 2^b, 0, 0]&amp;lt;/math&amp;gt;. This follows from the previous compound move together with a Type 2 swap.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 2&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-2, 2^{b+2}, 0, 0]&amp;lt;/math&amp;gt;, which is valid for &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; as well. This follows from applying a Type 1 move to &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; and then applying the previous compound move.&lt;br /&gt;
&lt;br /&gt;
The last two moves seems to be the key to the solutions so far discovered, since it allows one to introduce an exponential at only a linear cost.&lt;br /&gt;
&lt;br /&gt;
Note that we have (and if someone can fix the arrows here and below that would be good)&lt;br /&gt;
&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0] \to [0,2n]&amp;lt;/math&amp;gt;&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0,0] \to [0,2^n,0] \to [0,0,2*2^n ]&amp;lt;/math&amp;gt;&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0] \to [n-1,2,0] \to [n-1,0,4] \to [n-2,4,0]&amp;lt;/math&amp;gt; by repeated applications of 1a&lt;br /&gt;
#a   &amp;lt;math&amp;gt; [n,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^n,0,0] &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^(2^^n),0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2*2^(2^^n)]&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0,0] \to [n-1,2,0,0] \to [n-1,0,2^2,0] \to [n-2,2^2,0,0]\to [n-2,0,2^{2^2},0] \to [n-3,2^{2^2},0,0]&amp;lt;/math&amp;gt; by repeated applications of 2a, giving [0,2^^n,0,0]&lt;br /&gt;
#a   similarly &amp;lt;math&amp;gt; [n,0,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^^n,0,0,0] etc&lt;br /&gt;
&lt;br /&gt;
== World records ==&lt;br /&gt;
&lt;br /&gt;
To make the second box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [1,0,3] \mapsto [0,3,0]&amp;lt;/math&amp;gt; places 3 coins in box 2.&lt;br /&gt;
&lt;br /&gt;
To make the third box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [0,3,1] \mapsto [0,0,7]&amp;lt;/math&amp;gt; places 7 coins in box 3.  (Here we use advanced move 2).&lt;br /&gt;
&lt;br /&gt;
To make the fourth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1,1] \to [0,3,0,3] \to [0,2,2,3] \to [0,2,0,7] \to [0,1,7,0] \to [0,1,0,14]&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; \to [0,0,14,0] \to [0,0,0,28]&amp;lt;/math&amp;gt; gives 28 coins in box 4.&lt;br /&gt;
&lt;br /&gt;
Note that 28 is 2*(2*7), and that the penultimate step has the 14=2*7 as far left as possible.&lt;br /&gt;
&lt;br /&gt;
To make the  fifth box as big as possible&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[1,1,1,1,1] \to [1,0,0,14,0] \to [0,2,0,14,0] \to [0,1,14,0,0] \to [0,1,0,2^{14},0]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; \to [0,0,2^{14},0,0]  \to [0,0,0,2^{2^{14}},0] \to [0,0,0,0,2*2^{2^{14}}]&amp;lt;/math&amp;gt; with a record of &amp;lt;math&amp;gt;2*2^{2^{14}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The structure is more evident if you write 14=2*7. The process is take 7, multiply by 2, do 2 to power [result], do 2 to power [result], multiply by 2.&lt;br /&gt;
&lt;br /&gt;
The first item on the second row has &amp;lt;math&amp;gt;2^{14}&amp;lt;/math&amp;gt; as far left as possible and is used  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the sixth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* Using the move we identified we get to &amp;lt;math&amp;gt; \to [1,0,0,2^{14},0,0]  \to [0,2,0,2^{14},0,0] \to [0,1,2^{14},0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorry can&#039;t see how to do a double Knuth uparrow&lt;br /&gt;
&lt;br /&gt;
* Then we get &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;  [0,1,0,2^^(2^(14)),0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^^(2^(14)),0,0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2^^(2^^(2^(14))),0,0]&lt;br /&gt;
&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;[0,0,0,0,2^(2^^(2^^(2^(14)))),0] to [0,0,0,0,0,2*2^(2^^(2^^(2^(14))))]&lt;br /&gt;
The structure Take 7, multiply by two, do 2 to power [result], do 2 double up-arrow [result], do 2 double up-arrow [result], do 2 to power [result], multiply by 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TO MAKE THE FINAL BOX AS SMALL AS POSSIBLE WITH ALL OTHERS ZERO&lt;br /&gt;
&lt;br /&gt;
I reckon the answer is:&lt;br /&gt;
&lt;br /&gt;
[1] - last box is 1&lt;br /&gt;
&lt;br /&gt;
[1,1]  last box is 3 (only move)&lt;br /&gt;
&lt;br /&gt;
[1,1,1] last box is 3 (do type 2 with first box)&lt;br /&gt;
&lt;br /&gt;
[1,1,1,1] to [1,1,0,3] to [1,0,3,0] to [0,3,0,0] to [0,0,0,0] (type 2 moves exchanging zeros) last box is zero&lt;br /&gt;
&lt;br /&gt;
[1,1,1,1,1] do type 2 with first box (exchanging 1s) to [0,1,1,1,1] then as before [0,0,0,0,0] ... etc&lt;br /&gt;
&lt;br /&gt;
== Completed solutions ==&lt;br /&gt;
&lt;br /&gt;
=== First solution ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;T = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We will be done if we can obtain the configuration &amp;lt;math&amp;gt;[0,0,0,T/4,0,0]&amp;lt;/math&amp;gt;, for then we can apply two compound move 1s to get the &amp;lt;math&amp;gt;[0,0,0,0,0,T]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get this configuration it is enough to get a configuration &amp;lt;math&amp;gt;[0,0,0,X,0,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X \geq T/4&amp;lt;/math&amp;gt;, because we can then apply Type 2 moves until the number of coins in the fourth box is reduced to &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, one can obtain such a configuration using compound move 4. First note that we can get &amp;lt;math&amp;gt;[0,0, 140, 0, 0 ,0]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[1,1,1,1,1,1] \to [0,2,2,2,2,3] \to [0,2,1,1,8,3] \to [0,2,1,1,0,19] \to [0,1,19,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\to [0,1,1,36,0,0] \to [0,1,1,1,0,140] \to [0,0,140,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get &amp;lt;math&amp;gt;[0,0, 139, 2, 0 ,0]&amp;lt;/math&amp;gt;, and then by applying compound move 4 139 times we get &amp;lt;math&amp;gt;[0,0, 0, X, 0 ,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; much, much bigger than &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;, and so we are done.&lt;br /&gt;
&lt;br /&gt;
=== Second solution ===&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3207</id>
		<title>Imo 2010</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3207"/>
		<updated>2010-07-20T20:06:10Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* World records */  Correcting inaccurate statement and clarifying formulae&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the wiki page for the mini-polymath2 project, which seeks solutions to Question 5 of the 2010 International Mathematical Olympiad.   &lt;br /&gt;
&lt;br /&gt;
The project will start at [http://www.timeanddate.com/worldclock/fixedtime.html?year=2010&amp;amp;month=7&amp;amp;day=8&amp;amp;hour=16&amp;amp;min=0&amp;amp;sec=0&amp;amp;p1=0 16:00 UTC July 8], and is hosted at the [http://polymathprojects.org/ polymath blog].  A discussion thread is hosted at [http://terrytao.wordpress.com Terry Tao&#039;s blog].&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
This project will follow the [http://polymathprojects.org/general-polymath-rules/ usual polymath rules].  In particular:&lt;br /&gt;
&lt;br /&gt;
* Everyone is welcome to participate, though people who have already seen an external solution to the problem should probably refrain from giving spoilers throughout the experiment.&lt;br /&gt;
* This is a team effort, not a race between individuals.  Rather than work for extended periods of time in isolation from the rest of the project, the idea is to come up with short observations (or to carry an observation of another participant further) and then report back what one gets to the rest of the team.  Partial results or even failures can be worth reporting.&lt;br /&gt;
* Participants are encouraged to update the wiki, or to summarise progress within threads, for the benefit of others.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
Discussion and planning:&lt;br /&gt;
&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/12/future-mini-polymath-project-2010-imo-q6/ Future mini-polymath project: 2010 IMO Q6?]  June 12, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/21/organising-mini-polymath2/ Organising mini-polymath2] June 21, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/27/mini-polymath2-start-time/ Mini-polymath2 start time], June 27, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/07/08/mini-polymath2-discussion-thread/ Mini-polymath2 discussion thread], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
Research:&lt;br /&gt;
&lt;br /&gt;
* [http://polymathprojects.org/2010/07/08/minipolymath2-project-imo-2010-q5/ Minipolymath2 project: IMO 2010 Q5], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
== The question ==&lt;br /&gt;
&lt;br /&gt;
The question to be solved is Question 5 of the [http://www.imo-official.org/problems.aspx 2010 International Mathematical Olympiad]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Problem&#039;&#039;&#039; In each of six boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5, B_6&amp;lt;/math&amp;gt; there is initially one coin. There are two types of operation allowed:&lt;br /&gt;
: &lt;br /&gt;
: &#039;&#039;Type 1:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j \leq 5&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; and add two coins to &amp;lt;math&amp;gt;B_{j+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: &#039;&#039;Type 2:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq k \leq 4&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; and exchange the contents of (possibly empty) boxes &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: Determine whether there is a finite sequence of such operations that results in boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5&amp;lt;/math&amp;gt;  being empty and box &amp;lt;math&amp;gt;B_6&amp;lt;/math&amp;gt; containing exactly &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt; coins. (Note that &amp;lt;math&amp;gt;a^{b^c} := a^{(b^c)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== Observations and partial results ==&lt;br /&gt;
&lt;br /&gt;
* If the left-most box &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; becomes empty, then it cannot ever become non-empty again.  Furthermore, the left-most box can never have more than one coin; it can be touched exactly once.&lt;br /&gt;
* Define the &#039;&#039;worth&#039;&#039; W of a state to be &amp;lt;math&amp;gt;W = B_6 + 2 B_5 + 4 B_4 + 8 B_3 + 16 B_2 + 32 B_1&amp;lt;/math&amp;gt;.  Then the initial worth is 63, the final desired worth is &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, and the Type 1 move does not affect the worth.  On the other hand, the Type 2 move increases the worth when &amp;lt;math&amp;gt;B_{j+2} - B_{j+1} \geq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Once one has a large number of coins in one of the first four boxes, say &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt;, one can apply the Type 2 move repeatedly to remove coins from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; while swapping &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt; repeatedly.  This suggests that it is relatively easy to remove coins from the system; the difficulty is in adding coins to the system.&lt;br /&gt;
* The total number of coins in the system is bounded.  Indeed, let &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; be the maximum number of coins that one can end up with starting with N boxes with at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; coins in them.  Thus for instance &amp;lt;math&amp;gt;f(1,\Sigma)=\Sigma&amp;lt;/math&amp;gt;.  By considering the times when one touches the left-most box, we can bound &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; by at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; iterations of the map &amp;lt;math&amp;gt;n \mapsto f(N-1,n)+2&amp;lt;/math&amp;gt; starting with &amp;lt;math&amp;gt;n=\Sigma&amp;lt;/math&amp;gt;.  This gives an Ackermann-type bound on &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt;.  We need f(6,6) to be less than &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, but this bound is likely to be too large.&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
* Split the problem into two pieces.  Part I: try to show the weaker result that the number of coins in the system can eventually be as large as &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  Part II: Show that once one has a lot of coins, one can move to the final state where &amp;lt;math&amp;gt;B_1=\ldots=B_5=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_6 = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* Try to show that a quantity such as the worth increases or decreases in a controlled manner as one applies the Type 1 and Type 2 moves.&lt;br /&gt;
* We know that the first box can never contain more than one coin.  What can we say about the second box, third box, etc.?&lt;br /&gt;
** There may be a recursive formula for the maximal size of box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt;, possibly requiring one to solve the five-box, four-box, etc. problems first.&lt;br /&gt;
* Work backwards?&lt;br /&gt;
* Try to completely solve the three-box problem (say) first: starting from &amp;lt;math&amp;gt;[X,Y,Z]&amp;lt;/math&amp;gt;, what is the most number of coins one can generate?&lt;br /&gt;
&lt;br /&gt;
== Compound moves ==&lt;br /&gt;
&lt;br /&gt;
Here we use Type 1 move &amp;lt;math&amp;gt;[a,b] \to [a-1,b+2]&amp;lt;/math&amp;gt; and the Type 2 move &amp;lt;math&amp;gt;[a,b,c] \to [a-1,c,b]&amp;lt;/math&amp;gt; to create more advanced moves.&lt;br /&gt;
&lt;br /&gt;
# We can create the move &amp;lt;math&amp;gt;[a,b] \to [0,b+2a]&amp;lt;/math&amp;gt; from repeated application of Type 1.&lt;br /&gt;
# We have &amp;lt;math&amp;gt;[1,a,b] \to [0,0,a+2b]&amp;lt;/math&amp;gt; by applying Type 2 once and then Type 1 b times.&lt;br /&gt;
#* Or, by using advanced move 1 first, the move &amp;lt;math&amp;gt;[1, a, b] \to [1, 0, b+2a] \to [0, b+2a, 0] \to [0, 0, 2b+4a]&amp;lt;/math&amp;gt;.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,0,0] \to [0,2^a,0]&amp;lt;/math&amp;gt; via &amp;lt;math&amp;gt;[a,0,0] \to [a-1,2,0] \to [a-1,0,4] \to [a-2,4,0] \to [a-2,0,8] \to \ldots \to [1, 0, 2^a] \to [0,2^a,0]&amp;lt;/math&amp;gt;.&lt;br /&gt;
#* Note that, except for the first move, the coins in the left-most box here are only being used for Type 2 swaps, and otherwise compound move 1 is being applied to the second two boxes.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a,b \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-1, 2^b, 0, 0]&amp;lt;/math&amp;gt;. This follows from the previous compound move together with a Type 2 swap.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 2&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-2, 2^{b+2}, 0, 0]&amp;lt;/math&amp;gt;, which is valid for &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; as well. This follows from applying a Type 1 move to &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; and then applying the previous compound move.&lt;br /&gt;
&lt;br /&gt;
The last two moves seems to be the key to the solutions so far discovered, since it allows one to introduce an exponential at only a linear cost.&lt;br /&gt;
&lt;br /&gt;
Note that we have (and if someone can fix the arrows here and below that would be good)&lt;br /&gt;
&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0] \to [0,2n]&amp;lt;/math&amp;gt;&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0,0] \to [0,2^n,0] \to [0,0,2*2^n ]&amp;lt;/math&amp;gt;&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0] \to [n-1,2,0] \to [n-1,0,4] \to [n-2,4,0]&amp;lt;/math&amp;gt; by repeated applications of 1a&lt;br /&gt;
#a   &amp;lt;math&amp;gt; [n,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^n,0] &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^(2^^n),0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2*2^(2^^n)]&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0,0] \to [n-1,2,0,0] \to [n-1,0,2^2,0] \to [n-2,2^2,0,0]\to [n-2,0,2^{2^2},0] \to [n-3,2^{2^2},0,0]&amp;lt;/math&amp;gt; by repeated applications of 2a, giving [0,2^^n,0,0]&lt;br /&gt;
#a   similarly &amp;lt;math&amp;gt; [n,0,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^^n,0,0,0] etc&lt;br /&gt;
&lt;br /&gt;
== World records ==&lt;br /&gt;
&lt;br /&gt;
To make the second box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [1,0,3] \mapsto [0,3,0]&amp;lt;/math&amp;gt; places 3 coins in box 2.&lt;br /&gt;
&lt;br /&gt;
To make the third box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [0,3,1] \mapsto [0,0,7]&amp;lt;/math&amp;gt; places 7 coins in box 3.  (Here we use advanced move 2).&lt;br /&gt;
&lt;br /&gt;
To make the fourth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1,1] \to [0,3,0,3] \to [0,2,2,3] \to [0,2,0,7] \to [0,1,7,0] \to [0,1,0,14]&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; \to [0,0,14,0] \to [0,0,0,28]&amp;lt;/math&amp;gt; gives 28 coins in box 4.&lt;br /&gt;
&lt;br /&gt;
Note that 28 is 2*(2*7), and that the penultimate step has the 14=2*7 as far left as possible.&lt;br /&gt;
&lt;br /&gt;
To make the  fifth box as big as possible&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[1,1,1,1,1] \to [1,0,0,14,0] \to [0,2,0,14,0] \to [0,1,14,0,0] \to [0,1,0,2^{14},0]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; \to [0,0,2^{14},0,0]  \to [0,0,0,2^{2^{14}},0] \to [0,0,0,0,2*2^{2^{14}}]&amp;lt;/math&amp;gt; with a record of &amp;lt;math&amp;gt;2*2^{2^{14}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The structure is more evident if you write 14=2*7. The process is take 7, multiply by 2, do 2 to power [result], do 2 to power [result], multiply by 2.&lt;br /&gt;
&lt;br /&gt;
The first item on the second row has &amp;lt;math&amp;gt;2^{14}&amp;lt;/math&amp;gt; as far left as possible and is used  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the sixth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* Using the move we identified we get to &amp;lt;math&amp;gt; \to [1,0,0,2^{14},0,0]  \to [0,2,0,2^{14},0,0] \to [0,1,2^{14},0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorry can&#039;t see how to do a double Knuth uparrow&lt;br /&gt;
&lt;br /&gt;
* Then we get &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;  [0,1,0,2^^(2^(14)),0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^^(2^(14)),0,0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2^^(2^^(2^(14))),0,0]&lt;br /&gt;
&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;[0,0,0,0,2^(2^^(2^^(2^(14)))),0] to [0,0,0,0,0,2*2^(2^^(2^^(2^(14))))]&lt;br /&gt;
The structure Take 7, multiply by two, do 2 to power [result], do 2 double up-arrow [result], do 2 double up-arrow [result], do 2 to power [result], multiply by 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TO MAKE THE FINAL BOX AS SMALL AS POSSIBLE WITH ALL OTHERS ZERO&lt;br /&gt;
&lt;br /&gt;
I reckon the answer is:&lt;br /&gt;
&lt;br /&gt;
[1] - last box is 1&lt;br /&gt;
&lt;br /&gt;
[1,1]  last box is 3 (only move)&lt;br /&gt;
&lt;br /&gt;
[1,1,1] last box is 3 (do type 2 with first box)&lt;br /&gt;
&lt;br /&gt;
[1,1,1,1] to [1,1,0,3] to [1,0,3,0] to [0,3,0,0] to [0,0,0,0] (type 2 moves exchanging zeros) last box is zero&lt;br /&gt;
&lt;br /&gt;
[1,1,1,1,1] do type 2 with first box (exchanging 1s) to [0,1,1,1,1] then as before [0,0,0,0,0] ... etc&lt;br /&gt;
&lt;br /&gt;
== Completed solutions ==&lt;br /&gt;
&lt;br /&gt;
=== First solution ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;T = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We will be done if we can obtain the configuration &amp;lt;math&amp;gt;[0,0,0,T/4,0,0]&amp;lt;/math&amp;gt;, for then we can apply two compound move 1s to get the &amp;lt;math&amp;gt;[0,0,0,0,0,T]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get this configuration it is enough to get a configuration &amp;lt;math&amp;gt;[0,0,0,X,0,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X \geq T/4&amp;lt;/math&amp;gt;, because we can then apply Type 2 moves until the number of coins in the fourth box is reduced to &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, one can obtain such a configuration using compound move 4. First note that we can get &amp;lt;math&amp;gt;[0,0, 140, 0, 0 ,0]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[1,1,1,1,1,1] \to [0,2,2,2,2,3] \to [0,2,1,1,8,3] \to [0,2,1,1,0,19] \to [0,1,19,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\to [0,1,1,36,0,0] \to [0,1,1,1,0,140] \to [0,0,140,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get &amp;lt;math&amp;gt;[0,0, 139, 2, 0 ,0]&amp;lt;/math&amp;gt;, and then by applying compound move 4 139 times we get &amp;lt;math&amp;gt;[0,0, 0, X, 0 ,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; much, much bigger than &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;, and so we are done.&lt;br /&gt;
&lt;br /&gt;
=== Second solution ===&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3204</id>
		<title>Imo 2010</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3204"/>
		<updated>2010-07-16T21:48:51Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* World records */ lowest scores&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the wiki page for the mini-polymath2 project, which seeks solutions to Question 5 of the 2010 International Mathematical Olympiad.   &lt;br /&gt;
&lt;br /&gt;
The project will start at [http://www.timeanddate.com/worldclock/fixedtime.html?year=2010&amp;amp;month=7&amp;amp;day=8&amp;amp;hour=16&amp;amp;min=0&amp;amp;sec=0&amp;amp;p1=0 16:00 UTC July 8], and is hosted at the [http://polymathprojects.org/ polymath blog].  A discussion thread is hosted at [http://terrytao.wordpress.com Terry Tao&#039;s blog].&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
This project will follow the [http://polymathprojects.org/general-polymath-rules/ usual polymath rules].  In particular:&lt;br /&gt;
&lt;br /&gt;
* Everyone is welcome to participate, though people who have already seen an external solution to the problem should probably refrain from giving spoilers throughout the experiment.&lt;br /&gt;
* This is a team effort, not a race between individuals.  Rather than work for extended periods of time in isolation from the rest of the project, the idea is to come up with short observations (or to carry an observation of another participant further) and then report back what one gets to the rest of the team.  Partial results or even failures can be worth reporting.&lt;br /&gt;
* Participants are encouraged to update the wiki, or to summarise progress within threads, for the benefit of others.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
Discussion and planning:&lt;br /&gt;
&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/12/future-mini-polymath-project-2010-imo-q6/ Future mini-polymath project: 2010 IMO Q6?]  June 12, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/21/organising-mini-polymath2/ Organising mini-polymath2] June 21, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/27/mini-polymath2-start-time/ Mini-polymath2 start time], June 27, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/07/08/mini-polymath2-discussion-thread/ Mini-polymath2 discussion thread], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
Research:&lt;br /&gt;
&lt;br /&gt;
* [http://polymathprojects.org/2010/07/08/minipolymath2-project-imo-2010-q5/ Minipolymath2 project: IMO 2010 Q5], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
== The question ==&lt;br /&gt;
&lt;br /&gt;
The question to be solved is Question 5 of the [http://www.imo-official.org/problems.aspx 2010 International Mathematical Olympiad]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Problem&#039;&#039;&#039; In each of six boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5, B_6&amp;lt;/math&amp;gt; there is initially one coin. There are two types of operation allowed:&lt;br /&gt;
: &lt;br /&gt;
: &#039;&#039;Type 1:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j \leq 5&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; and add two coins to &amp;lt;math&amp;gt;B_{j+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: &#039;&#039;Type 2:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq k \leq 4&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; and exchange the contents of (possibly empty) boxes &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: Determine whether there is a finite sequence of such operations that results in boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5&amp;lt;/math&amp;gt;  being empty and box &amp;lt;math&amp;gt;B_6&amp;lt;/math&amp;gt; containing exactly &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt; coins. (Note that &amp;lt;math&amp;gt;a^{b^c} := a^{(b^c)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== Observations and partial results ==&lt;br /&gt;
&lt;br /&gt;
* If the left-most box &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; becomes empty, then it cannot ever become non-empty again.  Furthermore, the left-most box can never have more than one coin; it can be touched exactly once.&lt;br /&gt;
* Define the &#039;&#039;worth&#039;&#039; W of a state to be &amp;lt;math&amp;gt;W = B_6 + 2 B_5 + 4 B_4 + 8 B_3 + 16 B_2 + 32 B_1&amp;lt;/math&amp;gt;.  Then the initial worth is 63, the final desired worth is &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, and the Type 1 move does not affect the worth.  On the other hand, the Type 2 move increases the worth when &amp;lt;math&amp;gt;B_{j+2} - B_{j+1} \geq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Once one has a large number of coins in one of the first four boxes, say &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt;, one can apply the Type 2 move repeatedly to remove coins from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; while swapping &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt; repeatedly.  This suggests that it is relatively easy to remove coins from the system; the difficulty is in adding coins to the system.&lt;br /&gt;
* The total number of coins in the system is bounded.  Indeed, let &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; be the maximum number of coins that one can end up with starting with N boxes with at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; coins in them.  Thus for instance &amp;lt;math&amp;gt;f(1,\Sigma)=\Sigma&amp;lt;/math&amp;gt;.  By considering the times when one touches the left-most box, we can bound &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; by at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; iterations of the map &amp;lt;math&amp;gt;n \mapsto f(N-1,n)+2&amp;lt;/math&amp;gt; starting with &amp;lt;math&amp;gt;n=\Sigma&amp;lt;/math&amp;gt;.  This gives an Ackermann-type bound on &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt;.  We need f(6,6) to be less than &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, but this bound is likely to be too large.&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
* Split the problem into two pieces.  Part I: try to show the weaker result that the number of coins in the system can eventually be as large as &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  Part II: Show that once one has a lot of coins, one can move to the final state where &amp;lt;math&amp;gt;B_1=\ldots=B_5=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_6 = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* Try to show that a quantity such as the worth increases or decreases in a controlled manner as one applies the Type 1 and Type 2 moves.&lt;br /&gt;
* We know that the first box can never contain more than one coin.  What can we say about the second box, third box, etc.?&lt;br /&gt;
** There may be a recursive formula for the maximal size of box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt;, possibly requiring one to solve the five-box, four-box, etc. problems first.&lt;br /&gt;
* Work backwards?&lt;br /&gt;
* Try to completely solve the three-box problem (say) first: starting from &amp;lt;math&amp;gt;[X,Y,Z]&amp;lt;/math&amp;gt;, what is the most number of coins one can generate?&lt;br /&gt;
&lt;br /&gt;
== Compound moves ==&lt;br /&gt;
&lt;br /&gt;
Here we use Type 1 move &amp;lt;math&amp;gt;[a,b] \to [a-1,b+2]&amp;lt;/math&amp;gt; and the Type 2 move &amp;lt;math&amp;gt;[a,b,c] \to [a-1,c,b]&amp;lt;/math&amp;gt; to create more advanced moves.&lt;br /&gt;
&lt;br /&gt;
# We can create the move &amp;lt;math&amp;gt;[a,b] \to [0,b+2a]&amp;lt;/math&amp;gt; from repeated application of Type 1.&lt;br /&gt;
# We have &amp;lt;math&amp;gt;[1,a,b] \to [0,0,a+2b]&amp;lt;/math&amp;gt; by applying Type 2 once and then Type 1 b times.&lt;br /&gt;
#* Or, by using advanced move 1 first, the move &amp;lt;math&amp;gt;[1, a, b] \to [1, 0, b+2a] \to [0, b+2a, 0] \to [0, 0, 2b+4a]&amp;lt;/math&amp;gt;.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,0,0] \to [0,2^a,0]&amp;lt;/math&amp;gt; via &amp;lt;math&amp;gt;[a,0,0] \to [a-1,2,0] \to [a-1,0,4] \to [a-2,4,0] \to [a-2,0,8] \to \ldots \to [1, 0, 2^a] \to [0,2^a,0]&amp;lt;/math&amp;gt;.&lt;br /&gt;
#* Note that, except for the first move, the coins in the left-most box here are only being used for Type 2 swaps, and otherwise compound move 1 is being applied to the second two boxes.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a,b \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-1, 2^b, 0, 0]&amp;lt;/math&amp;gt;. This follows from the previous compound move together with a Type 2 swap.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 2&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-2, 2^{b+2}, 0, 0]&amp;lt;/math&amp;gt;, which is valid for &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; as well. This follows from applying a Type 1 move to &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; and then applying the previous compound move.&lt;br /&gt;
&lt;br /&gt;
The last two moves seems to be the key to the solutions so far discovered, since it allows one to introduce an exponential at only a linear cost.&lt;br /&gt;
&lt;br /&gt;
Note that we have (and if someone can fix the arrows here and below that would be good)&lt;br /&gt;
&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0] \to [0,2n]&amp;lt;/math&amp;gt;&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0,0] \to [0,2^n,0] \to [0,0,2*2^n ]&amp;lt;/math&amp;gt;&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0] \to [n-1,2,0] \to [n-1,0,4] \to [n-2,4,0]&amp;lt;/math&amp;gt; by repeated applications of 1a&lt;br /&gt;
#a   &amp;lt;math&amp;gt; [n,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^n,0] &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^(2^^n),0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2*2^(2^^n)]&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0,0] \to [n-1,2,0,0] \to [n-1,0,2^2,0] \to [n-2,2^2,0,0]\to [n-2,0,2^{2^2},0] \to [n-3,2^{2^2},0,0]&amp;lt;/math&amp;gt; by repeated applications of 2a, giving [0,2^^n,0,0]&lt;br /&gt;
#a   similarly &amp;lt;math&amp;gt; [n,0,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^^n,0,0,0] etc&lt;br /&gt;
&lt;br /&gt;
== World records ==&lt;br /&gt;
&lt;br /&gt;
To make the second box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [1,0,3] \mapsto [0,3,0]&amp;lt;/math&amp;gt; places 3 coins in box 2.&lt;br /&gt;
&lt;br /&gt;
To make the third box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [0,3,1] \mapsto [0,0,7]&amp;lt;/math&amp;gt; places 7 coins in box 3.  (Here we use advanced move 2).&lt;br /&gt;
&lt;br /&gt;
To make the fourth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1,1] \to [0,3,0,3] \to [0,2,2,3] \to [0,2,0,7] \to [0,1,7,0] \to [0,1,0,14]&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; \to [0,0,14,0] \to [0,0,0,28]&amp;lt;/math&amp;gt; gives 28 coins in box 4.&lt;br /&gt;
&lt;br /&gt;
Note that 28 is 2*(2*7), and that the penultimate step has the 14=2*7 as far left as possible.&lt;br /&gt;
&lt;br /&gt;
To make the  fifth box as big as possible&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[1,1,1,1,1] \to [1,0,0,14,0] \to [0,2,0,14,0] \to [0,1,14,0,0] \to [0,1,0,2^{14},0]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; \to [0,0,2^{14},0,0]  \to [0,0,0,2^{2^{14}},0] \to [0,0,0,0,2*2^{2^{14}}]&amp;lt;/math&amp;gt; with a record of &amp;lt;math&amp;gt;2*2^{2^{14}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The structure is more evident if you write 14=2*7. The process is take 7, multiply by 2, raise to the power 2, raise to the power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
The first item on the second row has &amp;lt;math&amp;gt;2^{14}&amp;lt;/math&amp;gt; as far left as possible and is used  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the sixth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* Using the move we identified we get to &amp;lt;math&amp;gt; \to [1,0,0,2^{14},0,0]  \to [0,2,0,2^{14},0,0] \to [0,1,2^{14},0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorry can&#039;t see how to do a double Knuth uparrow&lt;br /&gt;
&lt;br /&gt;
* Then we get &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;  [0,1,0,2^^(2^(14)),0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^^(2^(14)),0,0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2^^(2^^(2^(14))),0,0]&lt;br /&gt;
&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;[0,0,0,0,2^(2^^(2^^(2^(14)))),0] to [0,0,0,0,0,2*2^(2^^(2^^(2^(14))))]&lt;br /&gt;
The structure Take 7, multiply by two, raise to power 2, do 2 double up-arrow, do 2 double up-arrow, raise to power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TO MAKE THE FINAL BOX AS SMALL AS POSSIBLE WITH ALL OTHERS ZERO&lt;br /&gt;
&lt;br /&gt;
I reckon the answer is:&lt;br /&gt;
&lt;br /&gt;
[1] - last box is 1&lt;br /&gt;
&lt;br /&gt;
[1,1]  last box is 3 (only move)&lt;br /&gt;
&lt;br /&gt;
[1,1,1] last box is 3 (do type 2 with first box)&lt;br /&gt;
&lt;br /&gt;
[1,1,1,1] to [1,1,0,3] to [1,0,3,0] to [0,3,0,0] to [0,0,0,0] (type 2 moves exchanging zeros) last box is zero&lt;br /&gt;
&lt;br /&gt;
[1,1,1,1,1] do type 2 with first box (exchanging 1s) to [0,1,1,1,1] then as before [0,0,0,0,0] ... etc&lt;br /&gt;
&lt;br /&gt;
== Completed solutions ==&lt;br /&gt;
&lt;br /&gt;
=== First solution ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;T = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We will be done if we can obtain the configuration &amp;lt;math&amp;gt;[0,0,0,T/4,0,0]&amp;lt;/math&amp;gt;, for then we can apply two compound move 1s to get the &amp;lt;math&amp;gt;[0,0,0,0,0,T]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get this configuration it is enough to get a configuration &amp;lt;math&amp;gt;[0,0,0,X,0,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X \geq T/4&amp;lt;/math&amp;gt;, because we can then apply Type 2 moves until the number of coins in the fourth box is reduced to &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, one can obtain such a configuration using compound move 4. First note that we can get &amp;lt;math&amp;gt;[0,0, 140, 0, 0 ,0]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[1,1,1,1,1,1] \to [0,2,2,2,2,3] \to [0,2,1,1,8,3] \to [0,2,1,1,0,19] \to [0,1,19,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\to [0,1,1,36,0,0] \to [0,1,1,1,0,140] \to [0,0,140,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get &amp;lt;math&amp;gt;[0,0, 139, 2, 0 ,0]&amp;lt;/math&amp;gt;, and then by applying compound move 4 139 times we get &amp;lt;math&amp;gt;[0,0, 0, X, 0 ,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; much, much bigger than &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;, and so we are done.&lt;br /&gt;
&lt;br /&gt;
=== Second solution ===&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3198</id>
		<title>Imo 2010</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3198"/>
		<updated>2010-07-12T22:04:34Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the wiki page for the mini-polymath2 project, which seeks solutions to Question 5 of the 2010 International Mathematical Olympiad.   &lt;br /&gt;
&lt;br /&gt;
The project will start at [http://www.timeanddate.com/worldclock/fixedtime.html?year=2010&amp;amp;month=7&amp;amp;day=8&amp;amp;hour=16&amp;amp;min=0&amp;amp;sec=0&amp;amp;p1=0 16:00 UTC July 8], and is hosted at the [http://polymathprojects.org/ polymath blog].  A discussion thread is hosted at [http://terrytao.wordpress.com Terry Tao&#039;s blog].&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
This project will follow the [http://polymathprojects.org/general-polymath-rules/ usual polymath rules].  In particular:&lt;br /&gt;
&lt;br /&gt;
* Everyone is welcome to participate, though people who have already seen an external solution to the problem should probably refrain from giving spoilers throughout the experiment.&lt;br /&gt;
* This is a team effort, not a race between individuals.  Rather than work for extended periods of time in isolation from the rest of the project, the idea is to come up with short observations (or to carry an observation of another participant further) and then report back what one gets to the rest of the team.  Partial results or even failures can be worth reporting.&lt;br /&gt;
* Participants are encouraged to update the wiki, or to summarise progress within threads, for the benefit of others.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
Discussion and planning:&lt;br /&gt;
&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/12/future-mini-polymath-project-2010-imo-q6/ Future mini-polymath project: 2010 IMO Q6?]  June 12, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/21/organising-mini-polymath2/ Organising mini-polymath2] June 21, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/27/mini-polymath2-start-time/ Mini-polymath2 start time], June 27, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/07/08/mini-polymath2-discussion-thread/ Mini-polymath2 discussion thread], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
Research:&lt;br /&gt;
&lt;br /&gt;
* [http://polymathprojects.org/2010/07/08/minipolymath2-project-imo-2010-q5/ Minipolymath2 project: IMO 2010 Q5], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
== The question ==&lt;br /&gt;
&lt;br /&gt;
The question to be solved is Question 5 of the [http://www.imo-official.org/problems.aspx 2010 International Mathematical Olympiad]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Problem&#039;&#039;&#039; In each of six boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5, B_6&amp;lt;/math&amp;gt; there is initially one coin. There are two types of operation allowed:&lt;br /&gt;
: &lt;br /&gt;
: &#039;&#039;Type 1:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j \leq 5&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; and add two coins to &amp;lt;math&amp;gt;B_{j+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: &#039;&#039;Type 2:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq k \leq 4&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; and exchange the contents of (possibly empty) boxes &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: Determine whether there is a finite sequence of such operations that results in boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5&amp;lt;/math&amp;gt;  being empty and box &amp;lt;math&amp;gt;B_6&amp;lt;/math&amp;gt; containing exactly &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt; coins. (Note that &amp;lt;math&amp;gt;a^{b^c} := a^{(b^c)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== Observations and partial results ==&lt;br /&gt;
&lt;br /&gt;
* If the left-most box &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; becomes empty, then it cannot ever become non-empty again.  Furthermore, the left-most box can never have more than one coin; it can be touched exactly once.&lt;br /&gt;
* Define the &#039;&#039;worth&#039;&#039; W of a state to be &amp;lt;math&amp;gt;W = B_6 + 2 B_5 + 4 B_4 + 8 B_3 + 16 B_2 + 32 B_1&amp;lt;/math&amp;gt;.  Then the initial worth is 63, the final desired worth is &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, and the Type 1 move does not affect the worth.  On the other hand, the Type 2 move increases the worth when &amp;lt;math&amp;gt;B_{j+2} - B_{j+1} \geq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Once one has a large number of coins in one of the first four boxes, say &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt;, one can apply the Type 2 move repeatedly to remove coins from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; while swapping &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt; repeatedly.  This suggests that it is relatively easy to remove coins from the system; the difficulty is in adding coins to the system.&lt;br /&gt;
* The total number of coins in the system is bounded.  Indeed, let &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; be the maximum number of coins that one can end up with starting with N boxes with at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; coins in them.  Thus for instance &amp;lt;math&amp;gt;f(1,\Sigma)=\Sigma&amp;lt;/math&amp;gt;.  By considering the times when one touches the left-most box, we can bound &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; by at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; iterations of the map &amp;lt;math&amp;gt;n \mapsto f(N-1,n)+2&amp;lt;/math&amp;gt; starting with &amp;lt;math&amp;gt;n=\Sigma&amp;lt;/math&amp;gt;.  This gives an Ackermann-type bound on &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt;.  We need f(6,6) to be less than &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, but this bound is likely to be too large.&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
* Split the problem into two pieces.  Part I: try to show the weaker result that the number of coins in the system can eventually be as large as &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  Part II: Show that once one has a lot of coins, one can move to the final state where &amp;lt;math&amp;gt;B_1=\ldots=B_5=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_6 = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* Try to show that a quantity such as the worth increases or decreases in a controlled manner as one applies the Type 1 and Type 2 moves.&lt;br /&gt;
* We know that the first box can never contain more than one coin.  What can we say about the second box, third box, etc.?&lt;br /&gt;
** There may be a recursive formula for the maximal size of box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt;, possibly requiring one to solve the five-box, four-box, etc. problems first.&lt;br /&gt;
* Work backwards?&lt;br /&gt;
* Try to completely solve the three-box problem (say) first: starting from &amp;lt;math&amp;gt;[X,Y,Z]&amp;lt;/math&amp;gt;, what is the most number of coins one can generate?&lt;br /&gt;
&lt;br /&gt;
== Compound moves ==&lt;br /&gt;
&lt;br /&gt;
Here we use Type 1 move &amp;lt;math&amp;gt;[a,b] \to [a-1,b+2]&amp;lt;/math&amp;gt; and the Type 2 move &amp;lt;math&amp;gt;[a,b,c] \to [a-1,c,b]&amp;lt;/math&amp;gt; to create more advanced moves.&lt;br /&gt;
&lt;br /&gt;
# We can create the move &amp;lt;math&amp;gt;[a,b] \to [0,b+2a]&amp;lt;/math&amp;gt; from repeated application of Type 1.&lt;br /&gt;
# We have &amp;lt;math&amp;gt;[1,a,b] \to [0,0,a+2b]&amp;lt;/math&amp;gt; by applying Type 2 once and then Type 1 b times.&lt;br /&gt;
#* Or, by using advanced move 1 first, the move &amp;lt;math&amp;gt;[1, a, b] \to [1, 0, b+2a] \to [0, b+2a, 0] \to [0, 0, 2b+4a]&amp;lt;/math&amp;gt;.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,0,0] \to [0,2^a,0]&amp;lt;/math&amp;gt; via &amp;lt;math&amp;gt;[a,0,0] \to [a-1,2,0] \to [a-1,0,4] \to [a-2,4,0] \to [a-2,0,8] \to \ldots \to [1, 0, 2^a] \to [0,2^a,0]&amp;lt;/math&amp;gt;.&lt;br /&gt;
#* Note that, except for the first move, the coins in the left-most box here are only being used for Type 2 swaps, and otherwise compound move 1 is being applied to the second two boxes.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a,b \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-1, 2^b, 0, 0]&amp;lt;/math&amp;gt;. This follows from the previous compound move together with a Type 2 swap.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 2&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-2, 2^{b+2}, 0, 0]&amp;lt;/math&amp;gt;, which is valid for &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; as well. This follows from applying a Type 1 move to &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; and then applying the previous compound move.&lt;br /&gt;
&lt;br /&gt;
The last two moves seems to be the key to the solutions so far discovered, since it allows one to introduce an exponential at only a linear cost.&lt;br /&gt;
&lt;br /&gt;
Note that we have (and if someone can fix the arrows here and below that would be good)&lt;br /&gt;
&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0] \to [0,2n]&amp;lt;/math&amp;gt;&lt;br /&gt;
#a   &amp;lt;math&amp;gt;[n,0,0] \to [0,2^n,0] \to [0,0,2*2^n ]&amp;lt;/math&amp;gt;&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0] \to [n-1,2,0] \to [n-1,0,4] \to [n-2,4,0]&amp;lt;/math&amp;gt; by repeated applications of 1a&lt;br /&gt;
#a   &amp;lt;math&amp;gt; [n,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^n,0] &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^(2^^n),0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2*2^(2^^n)]&lt;br /&gt;
#*   because &amp;lt;math&amp;gt;[n,0,0,0] \to [n-1,2,0,0] \to [n-1,0,2^2,0] \to [n-2,2^2,0,0]\to [n-2,0,2^{2^2},0] \to [n-3,2^{2^2},0,0]&amp;lt;/math&amp;gt; by repeated applications of 2a, giving [0,2^^n,0,0]&lt;br /&gt;
#a   similarly &amp;lt;math&amp;gt; [n,0,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^^n,0,0,0] etc&lt;br /&gt;
&lt;br /&gt;
== World records ==&lt;br /&gt;
&lt;br /&gt;
To make the second box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [1,0,3] \mapsto [0,3,0]&amp;lt;/math&amp;gt; places 3 coins in box 2.&lt;br /&gt;
&lt;br /&gt;
To make the third box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [0,3,1] \mapsto [0,0,7]&amp;lt;/math&amp;gt; places 7 coins in box 3.  (Here we use advanced move 2).&lt;br /&gt;
&lt;br /&gt;
To make the fourth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1,1] \to [0,3,0,3] \to [0,2,2,3] \to [0,2,0,7] \to [0,1,7,0] \to [0,1,0,14]&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; \to [0,0,14,0] \to [0,0,0,28]&amp;lt;/math&amp;gt; gives 28 coins in box 4.&lt;br /&gt;
&lt;br /&gt;
Note that 28 is 2*(2*7), and that the penultimate step has the 14=2*7 as far left as possible.&lt;br /&gt;
&lt;br /&gt;
To make the  fifth box as big as possible&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[1,1,1,1,1] \to [1,0,0,14,0] \to [0,2,0,14,0] \to [0,1,14,0,0] \to [0,1,0,2^{14},0]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; \to [0,0,2^{14},0,0]  \to [0,0,0,2^{2^{14}},0] \to [0,0,0,0,2*2^{2^{14}}]&amp;lt;/math&amp;gt; with a record of &amp;lt;math&amp;gt;2*2^{2^{14}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The structure is more evident if you write 14=2*7. The process is take 7, multiply by 2, raise to the power 2, raise to the power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
The first item on the second row has &amp;lt;math&amp;gt;2^{14}&amp;lt;/math&amp;gt; as far left as possible and is used  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the sixth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* Using the move we identified we get to &amp;lt;math&amp;gt; \to [1,0,0,2^{14},0,0]  \to [0,2,0,2^{14},0,0] \to [0,1,2^{14},0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorry can&#039;t see how to do a double Knuth uparrow&lt;br /&gt;
&lt;br /&gt;
* Then we get &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;  [0,1,0,2^^(2^(14)),0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^^(2^(14)),0,0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2^^(2^^(2^(14))),0,0]&lt;br /&gt;
&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;[0,0,0,0,2^(2^^(2^^(2^(14)))),0] to [0,0,0,0,0,2*2^(2^^(2^^(2^(14))))]&lt;br /&gt;
The structure Take 7, multiply by two, raise to power 2, do 2 double up-arrow, do 2 double up-arrow, raise to power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
== Completed solutions ==&lt;br /&gt;
&lt;br /&gt;
=== First solution ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;T = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We will be done if we can obtain the configuration &amp;lt;math&amp;gt;[0,0,0,T/4,0,0]&amp;lt;/math&amp;gt;, for then we can apply two compound move 1s to get the &amp;lt;math&amp;gt;[0,0,0,0,0,T]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get this configuration it is enough to get a configuration &amp;lt;math&amp;gt;[0,0,0,X,0,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X \geq T/4&amp;lt;/math&amp;gt;, because we can then apply Type 2 moves until the number of coins in the fourth box is reduced to &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, one can obtain such a configuration using compound move 4. First note that we can get &amp;lt;math&amp;gt;[0,0, 140, 0, 0 ,0]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[1,1,1,1,1,1] \to [0,2,2,2,2,3] \to [0,2,1,1,8,3] \to [0,2,1,1,0,19] \to [0,1,19,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\to [0,1,1,36,0,0] \to [0,1,1,1,0,140] \to [0,0,140,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get &amp;lt;math&amp;gt;[0,0, 139, 2, 0 ,0]&amp;lt;/math&amp;gt;, and then by applying compound move 4 139 times we get &amp;lt;math&amp;gt;[0,0, 0, X, 0 ,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; much, much bigger than &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;, and so we are done.&lt;br /&gt;
&lt;br /&gt;
=== Second solution ===&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3197</id>
		<title>Imo 2010</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3197"/>
		<updated>2010-07-12T22:03:49Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the wiki page for the mini-polymath2 project, which seeks solutions to Question 5 of the 2010 International Mathematical Olympiad.   &lt;br /&gt;
&lt;br /&gt;
The project will start at [http://www.timeanddate.com/worldclock/fixedtime.html?year=2010&amp;amp;month=7&amp;amp;day=8&amp;amp;hour=16&amp;amp;min=0&amp;amp;sec=0&amp;amp;p1=0 16:00 UTC July 8], and is hosted at the [http://polymathprojects.org/ polymath blog].  A discussion thread is hosted at [http://terrytao.wordpress.com Terry Tao&#039;s blog].&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
This project will follow the [http://polymathprojects.org/general-polymath-rules/ usual polymath rules].  In particular:&lt;br /&gt;
&lt;br /&gt;
* Everyone is welcome to participate, though people who have already seen an external solution to the problem should probably refrain from giving spoilers throughout the experiment.&lt;br /&gt;
* This is a team effort, not a race between individuals.  Rather than work for extended periods of time in isolation from the rest of the project, the idea is to come up with short observations (or to carry an observation of another participant further) and then report back what one gets to the rest of the team.  Partial results or even failures can be worth reporting.&lt;br /&gt;
* Participants are encouraged to update the wiki, or to summarise progress within threads, for the benefit of others.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
Discussion and planning:&lt;br /&gt;
&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/12/future-mini-polymath-project-2010-imo-q6/ Future mini-polymath project: 2010 IMO Q6?]  June 12, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/21/organising-mini-polymath2/ Organising mini-polymath2] June 21, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/27/mini-polymath2-start-time/ Mini-polymath2 start time], June 27, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/07/08/mini-polymath2-discussion-thread/ Mini-polymath2 discussion thread], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
Research:&lt;br /&gt;
&lt;br /&gt;
* [http://polymathprojects.org/2010/07/08/minipolymath2-project-imo-2010-q5/ Minipolymath2 project: IMO 2010 Q5], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
== The question ==&lt;br /&gt;
&lt;br /&gt;
The question to be solved is Question 5 of the [http://www.imo-official.org/problems.aspx 2010 International Mathematical Olympiad]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Problem&#039;&#039;&#039; In each of six boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5, B_6&amp;lt;/math&amp;gt; there is initially one coin. There are two types of operation allowed:&lt;br /&gt;
: &lt;br /&gt;
: &#039;&#039;Type 1:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j \leq 5&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; and add two coins to &amp;lt;math&amp;gt;B_{j+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: &#039;&#039;Type 2:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq k \leq 4&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; and exchange the contents of (possibly empty) boxes &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: Determine whether there is a finite sequence of such operations that results in boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5&amp;lt;/math&amp;gt;  being empty and box &amp;lt;math&amp;gt;B_6&amp;lt;/math&amp;gt; containing exactly &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt; coins. (Note that &amp;lt;math&amp;gt;a^{b^c} := a^{(b^c)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== Observations and partial results ==&lt;br /&gt;
&lt;br /&gt;
* If the left-most box &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; becomes empty, then it cannot ever become non-empty again.  Furthermore, the left-most box can never have more than one coin; it can be touched exactly once.&lt;br /&gt;
* Define the &#039;&#039;worth&#039;&#039; W of a state to be &amp;lt;math&amp;gt;W = B_6 + 2 B_5 + 4 B_4 + 8 B_3 + 16 B_2 + 32 B_1&amp;lt;/math&amp;gt;.  Then the initial worth is 63, the final desired worth is &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, and the Type 1 move does not affect the worth.  On the other hand, the Type 2 move increases the worth when &amp;lt;math&amp;gt;B_{j+2} - B_{j+1} \geq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Once one has a large number of coins in one of the first four boxes, say &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt;, one can apply the Type 2 move repeatedly to remove coins from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; while swapping &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt; repeatedly.  This suggests that it is relatively easy to remove coins from the system; the difficulty is in adding coins to the system.&lt;br /&gt;
* The total number of coins in the system is bounded.  Indeed, let &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; be the maximum number of coins that one can end up with starting with N boxes with at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; coins in them.  Thus for instance &amp;lt;math&amp;gt;f(1,\Sigma)=\Sigma&amp;lt;/math&amp;gt;.  By considering the times when one touches the left-most box, we can bound &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; by at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; iterations of the map &amp;lt;math&amp;gt;n \mapsto f(N-1,n)+2&amp;lt;/math&amp;gt; starting with &amp;lt;math&amp;gt;n=\Sigma&amp;lt;/math&amp;gt;.  This gives an Ackermann-type bound on &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt;.  We need f(6,6) to be less than &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, but this bound is likely to be too large.&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
* Split the problem into two pieces.  Part I: try to show the weaker result that the number of coins in the system can eventually be as large as &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  Part II: Show that once one has a lot of coins, one can move to the final state where &amp;lt;math&amp;gt;B_1=\ldots=B_5=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_6 = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* Try to show that a quantity such as the worth increases or decreases in a controlled manner as one applies the Type 1 and Type 2 moves.&lt;br /&gt;
* We know that the first box can never contain more than one coin.  What can we say about the second box, third box, etc.?&lt;br /&gt;
** There may be a recursive formula for the maximal size of box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt;, possibly requiring one to solve the five-box, four-box, etc. problems first.&lt;br /&gt;
* Work backwards?&lt;br /&gt;
* Try to completely solve the three-box problem (say) first: starting from &amp;lt;math&amp;gt;[X,Y,Z]&amp;lt;/math&amp;gt;, what is the most number of coins one can generate?&lt;br /&gt;
&lt;br /&gt;
== Compound moves ==&lt;br /&gt;
&lt;br /&gt;
Here we use Type 1 move &amp;lt;math&amp;gt;[a,b] \to [a-1,b+2]&amp;lt;/math&amp;gt; and the Type 2 move &amp;lt;math&amp;gt;[a,b,c] \to [a-1,c,b]&amp;lt;/math&amp;gt; to create more advanced moves.&lt;br /&gt;
&lt;br /&gt;
# We can create the move &amp;lt;math&amp;gt;[a,b] \to [0,b+2a]&amp;lt;/math&amp;gt; from repeated application of Type 1.&lt;br /&gt;
# We have &amp;lt;math&amp;gt;[1,a,b] \to [0,0,a+2b]&amp;lt;/math&amp;gt; by applying Type 2 once and then Type 1 b times.&lt;br /&gt;
#* Or, by using advanced move 1 first, the move &amp;lt;math&amp;gt;[1, a, b] \to [1, 0, b+2a] \to [0, b+2a, 0] \to [0, 0, 2b+4a]&amp;lt;/math&amp;gt;.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,0,0] \to [0,2^a,0]&amp;lt;/math&amp;gt; via &amp;lt;math&amp;gt;[a,0,0] \to [a-1,2,0] \to [a-1,0,4] \to [a-2,4,0] \to [a-2,0,8] \to \ldots \to [1, 0, 2^a] \to [0,2^a,0]&amp;lt;/math&amp;gt;.&lt;br /&gt;
#* Note that, except for the first move, the coins in the left-most box here are only being used for Type 2 swaps, and otherwise compound move 1 is being applied to the second two boxes.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a,b \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-1, 2^b, 0, 0]&amp;lt;/math&amp;gt;. This follows from the previous compound move together with a Type 2 swap.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 2&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-2, 2^{b+2}, 0, 0]&amp;lt;/math&amp;gt;, which is valid for &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; as well. This follows from applying a Type 1 move to &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; and then applying the previous compound move.&lt;br /&gt;
&lt;br /&gt;
The last two moves seems to be the key to the solutions so far discovered, since it allows one to introduce an exponential at only a linear cost.&lt;br /&gt;
&lt;br /&gt;
Note that we have (and if someone can fix the arrows here and below that would be good)&lt;br /&gt;
&lt;br /&gt;
#a &amp;lt;math&amp;gt;[n,0] \to [0,2n]&amp;lt;/math&amp;gt;&lt;br /&gt;
#a &amp;lt;math&amp;gt;[n,0,0] \to [0,2^n,0] \to [0,0,2*2^n ]&amp;lt;/math&amp;gt;&lt;br /&gt;
#* because &amp;lt;math&amp;gt;[n,0,0] \to [n-1,2,0] \to [n-1,0,4] \to [n-2,4,0]&amp;lt;/math&amp;gt; by repeated applications of 1a&lt;br /&gt;
#a &amp;lt;math&amp;gt; [n,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^n,0] &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^(2^^n),0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2*2^(2^^n)]&lt;br /&gt;
#* because &amp;lt;math&amp;gt;[n,0,0,0] \to [n-1,2,0,0] \to [n-1,0,2^2,0] \to [n-2,2^2,0,0]\to [n-2,0,2^{2^2},0] \to [n-3,2^{2^2},0,0]&amp;lt;/math&amp;gt; by repeated applications of 2a, giving [0,2^^n,0,0]&lt;br /&gt;
#a similarly &amp;lt;math&amp;gt; [n,0,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^^n,0,0,0] etc&lt;br /&gt;
&lt;br /&gt;
== World records ==&lt;br /&gt;
&lt;br /&gt;
To make the second box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [1,0,3] \mapsto [0,3,0]&amp;lt;/math&amp;gt; places 3 coins in box 2.&lt;br /&gt;
&lt;br /&gt;
To make the third box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [0,3,1] \mapsto [0,0,7]&amp;lt;/math&amp;gt; places 7 coins in box 3.  (Here we use advanced move 2).&lt;br /&gt;
&lt;br /&gt;
To make the fourth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1,1] \to [0,3,0,3] \to [0,2,2,3] \to [0,2,0,7] \to [0,1,7,0] \to [0,1,0,14]&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; \to [0,0,14,0] \to [0,0,0,28]&amp;lt;/math&amp;gt; gives 28 coins in box 4.&lt;br /&gt;
&lt;br /&gt;
Note that 28 is 2*(2*7), and that the penultimate step has the 14=2*7 as far left as possible.&lt;br /&gt;
&lt;br /&gt;
To make the  fifth box as big as possible&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[1,1,1,1,1] \to [1,0,0,14,0] \to [0,2,0,14,0] \to [0,1,14,0,0] \to [0,1,0,2^{14},0]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; \to [0,0,2^{14},0,0]  \to [0,0,0,2^{2^{14}},0] \to [0,0,0,0,2*2^{2^{14}}]&amp;lt;/math&amp;gt; with a record of &amp;lt;math&amp;gt;2*2^{2^{14}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The structure is more evident if you write 14=2*7. The process is take 7, multiply by 2, raise to the power 2, raise to the power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
The first item on the second row has &amp;lt;math&amp;gt;2^{14}&amp;lt;/math&amp;gt; as far left as possible and is used  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the sixth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* Using the move we identified we get to &amp;lt;math&amp;gt; \to [1,0,0,2^{14},0,0]  \to [0,2,0,2^{14},0,0] \to [0,1,2^{14},0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorry can&#039;t see how to do a double Knuth uparrow&lt;br /&gt;
&lt;br /&gt;
* Then we get &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;  [0,1,0,2^^(2^(14)),0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^^(2^(14)),0,0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2^^(2^^(2^(14))),0,0]&lt;br /&gt;
&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;[0,0,0,0,2^(2^^(2^^(2^(14)))),0] to [0,0,0,0,0,2*2^(2^^(2^^(2^(14))))]&lt;br /&gt;
The structure Take 7, multiply by two, raise to power 2, do 2 double up-arrow, do 2 double up-arrow, raise to power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
== Completed solutions ==&lt;br /&gt;
&lt;br /&gt;
=== First solution ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;T = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We will be done if we can obtain the configuration &amp;lt;math&amp;gt;[0,0,0,T/4,0,0]&amp;lt;/math&amp;gt;, for then we can apply two compound move 1s to get the &amp;lt;math&amp;gt;[0,0,0,0,0,T]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get this configuration it is enough to get a configuration &amp;lt;math&amp;gt;[0,0,0,X,0,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X \geq T/4&amp;lt;/math&amp;gt;, because we can then apply Type 2 moves until the number of coins in the fourth box is reduced to &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, one can obtain such a configuration using compound move 4. First note that we can get &amp;lt;math&amp;gt;[0,0, 140, 0, 0 ,0]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[1,1,1,1,1,1] \to [0,2,2,2,2,3] \to [0,2,1,1,8,3] \to [0,2,1,1,0,19] \to [0,1,19,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\to [0,1,1,36,0,0] \to [0,1,1,1,0,140] \to [0,0,140,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get &amp;lt;math&amp;gt;[0,0, 139, 2, 0 ,0]&amp;lt;/math&amp;gt;, and then by applying compound move 4 139 times we get &amp;lt;math&amp;gt;[0,0, 0, X, 0 ,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; much, much bigger than &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;, and so we are done.&lt;br /&gt;
&lt;br /&gt;
=== Second solution ===&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3196</id>
		<title>Imo 2010</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2010&amp;diff=3196"/>
		<updated>2010-07-12T21:34:35Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Adding some observations on patterns and records&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This is the wiki page for the mini-polymath2 project, which seeks solutions to Question 5 of the 2010 International Mathematical Olympiad.   &lt;br /&gt;
&lt;br /&gt;
The project will start at [http://www.timeanddate.com/worldclock/fixedtime.html?year=2010&amp;amp;month=7&amp;amp;day=8&amp;amp;hour=16&amp;amp;min=0&amp;amp;sec=0&amp;amp;p1=0 16:00 UTC July 8], and is hosted at the [http://polymathprojects.org/ polymath blog].  A discussion thread is hosted at [http://terrytao.wordpress.com Terry Tao&#039;s blog].&lt;br /&gt;
&lt;br /&gt;
== Rules ==&lt;br /&gt;
&lt;br /&gt;
This project will follow the [http://polymathprojects.org/general-polymath-rules/ usual polymath rules].  In particular:&lt;br /&gt;
&lt;br /&gt;
* Everyone is welcome to participate, though people who have already seen an external solution to the problem should probably refrain from giving spoilers throughout the experiment.&lt;br /&gt;
* This is a team effort, not a race between individuals.  Rather than work for extended periods of time in isolation from the rest of the project, the idea is to come up with short observations (or to carry an observation of another participant further) and then report back what one gets to the rest of the team.  Partial results or even failures can be worth reporting.&lt;br /&gt;
* Participants are encouraged to update the wiki, or to summarise progress within threads, for the benefit of others.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
Discussion and planning:&lt;br /&gt;
&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/12/future-mini-polymath-project-2010-imo-q6/ Future mini-polymath project: 2010 IMO Q6?]  June 12, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/21/organising-mini-polymath2/ Organising mini-polymath2] June 21, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/06/27/mini-polymath2-start-time/ Mini-polymath2 start time], June 27, 2010.&lt;br /&gt;
* [http://terrytao.wordpress.com/2010/07/08/mini-polymath2-discussion-thread/ Mini-polymath2 discussion thread], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
Research:&lt;br /&gt;
&lt;br /&gt;
* [http://polymathprojects.org/2010/07/08/minipolymath2-project-imo-2010-q5/ Minipolymath2 project: IMO 2010 Q5], July 8 2010.&lt;br /&gt;
&lt;br /&gt;
== The question ==&lt;br /&gt;
&lt;br /&gt;
The question to be solved is Question 5 of the [http://www.imo-official.org/problems.aspx 2010 International Mathematical Olympiad]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Problem&#039;&#039;&#039; In each of six boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5, B_6&amp;lt;/math&amp;gt; there is initially one coin. There are two types of operation allowed:&lt;br /&gt;
: &lt;br /&gt;
: &#039;&#039;Type 1:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j \leq 5&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt; and add two coins to &amp;lt;math&amp;gt;B_{j+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: &#039;&#039;Type 2:&#039;&#039; Choose a nonempty box &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq k \leq 4&amp;lt;/math&amp;gt;. Remove one coin from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; and exchange the contents of (possibly empty) boxes &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
:&lt;br /&gt;
: Determine whether there is a finite sequence of such operations that results in boxes &amp;lt;math&amp;gt;B_1, B_2, B_3, B_4, B_5&amp;lt;/math&amp;gt;  being empty and box &amp;lt;math&amp;gt;B_6&amp;lt;/math&amp;gt; containing exactly &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt; coins. (Note that &amp;lt;math&amp;gt;a^{b^c} := a^{(b^c)}&amp;lt;/math&amp;gt;.)&lt;br /&gt;
&lt;br /&gt;
== Observations and partial results ==&lt;br /&gt;
&lt;br /&gt;
* If the left-most box &amp;lt;math&amp;gt;B_1&amp;lt;/math&amp;gt; becomes empty, then it cannot ever become non-empty again.  Furthermore, the left-most box can never have more than one coin; it can be touched exactly once.&lt;br /&gt;
* Define the &#039;&#039;worth&#039;&#039; W of a state to be &amp;lt;math&amp;gt;W = B_6 + 2 B_5 + 4 B_4 + 8 B_3 + 16 B_2 + 32 B_1&amp;lt;/math&amp;gt;.  Then the initial worth is 63, the final desired worth is &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, and the Type 1 move does not affect the worth.  On the other hand, the Type 2 move increases the worth when &amp;lt;math&amp;gt;B_{j+2} - B_{j+1} \geq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Once one has a large number of coins in one of the first four boxes, say &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt;, one can apply the Type 2 move repeatedly to remove coins from &amp;lt;math&amp;gt;B_k&amp;lt;/math&amp;gt; while swapping &amp;lt;math&amp;gt;B_{k+1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_{k+2}&amp;lt;/math&amp;gt; repeatedly.  This suggests that it is relatively easy to remove coins from the system; the difficulty is in adding coins to the system.&lt;br /&gt;
* The total number of coins in the system is bounded.  Indeed, let &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; be the maximum number of coins that one can end up with starting with N boxes with at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; coins in them.  Thus for instance &amp;lt;math&amp;gt;f(1,\Sigma)=\Sigma&amp;lt;/math&amp;gt;.  By considering the times when one touches the left-most box, we can bound &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt; by at most &amp;lt;math&amp;gt;\Sigma&amp;lt;/math&amp;gt; iterations of the map &amp;lt;math&amp;gt;n \mapsto f(N-1,n)+2&amp;lt;/math&amp;gt; starting with &amp;lt;math&amp;gt;n=\Sigma&amp;lt;/math&amp;gt;.  This gives an Ackermann-type bound on &amp;lt;math&amp;gt;f(N,\Sigma)&amp;lt;/math&amp;gt;.  We need f(6,6) to be less than &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;, but this bound is likely to be too large.&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
* Split the problem into two pieces.  Part I: try to show the weaker result that the number of coins in the system can eventually be as large as &amp;lt;math&amp;gt;2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  Part II: Show that once one has a lot of coins, one can move to the final state where &amp;lt;math&amp;gt;B_1=\ldots=B_5=0&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B_6 = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.  &lt;br /&gt;
* Try to show that a quantity such as the worth increases or decreases in a controlled manner as one applies the Type 1 and Type 2 moves.&lt;br /&gt;
* We know that the first box can never contain more than one coin.  What can we say about the second box, third box, etc.?&lt;br /&gt;
** There may be a recursive formula for the maximal size of box &amp;lt;math&amp;gt;B_j&amp;lt;/math&amp;gt;, possibly requiring one to solve the five-box, four-box, etc. problems first.&lt;br /&gt;
* Work backwards?&lt;br /&gt;
* Try to completely solve the three-box problem (say) first: starting from &amp;lt;math&amp;gt;[X,Y,Z]&amp;lt;/math&amp;gt;, what is the most number of coins one can generate?&lt;br /&gt;
&lt;br /&gt;
== Compound moves ==&lt;br /&gt;
&lt;br /&gt;
Here we use Type 1 move &amp;lt;math&amp;gt;[a,b] \to [a-1,b+2]&amp;lt;/math&amp;gt; and the Type 2 move &amp;lt;math&amp;gt;[a,b,c] \to [a-1,c,b]&amp;lt;/math&amp;gt; to create more advanced moves.&lt;br /&gt;
&lt;br /&gt;
# We can create the move &amp;lt;math&amp;gt;[a,b] \to [0,b+2a]&amp;lt;/math&amp;gt; from repeated application of Type 1.&lt;br /&gt;
# We have &amp;lt;math&amp;gt;[1,a,b] \to [0,0,a+2b]&amp;lt;/math&amp;gt; by applying Type 2 once and then Type 1 b times.&lt;br /&gt;
#* Or, by using advanced move 1 first, the move &amp;lt;math&amp;gt;[1, a, b] \to [1, 0, b+2a] \to [0, b+2a, 0] \to [0, 0, 2b+4a]&amp;lt;/math&amp;gt;.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,0,0] \to [0,2^a,0]&amp;lt;/math&amp;gt; via &amp;lt;math&amp;gt;[a,0,0] \to [a-1,2,0] \to [a-1,0,4] \to [a-2,4,0] \to [a-2,0,8] \to \ldots \to [1, 0, 2^a] \to [0,2^a,0]&amp;lt;/math&amp;gt;.&lt;br /&gt;
#* Note that, except for the first move, the coins in the left-most box here are only being used for Type 2 swaps, and otherwise compound move 1 is being applied to the second two boxes.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a,b \geq 1&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-1, 2^b, 0, 0]&amp;lt;/math&amp;gt;. This follows from the previous compound move together with a Type 2 swap.&lt;br /&gt;
# For &amp;lt;math&amp;gt;a \geq 2&amp;lt;/math&amp;gt; we have &amp;lt;math&amp;gt;[a,b,0,0] \to [a-2, 2^{b+2}, 0, 0]&amp;lt;/math&amp;gt;, which is valid for &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt; as well. This follows from applying a Type 1 move to &amp;lt;math&amp;gt;[a,b]&amp;lt;/math&amp;gt; and then applying the previous compound move.&lt;br /&gt;
&lt;br /&gt;
The last two moves seems to be the key to the solutions so far discovered, since it allows one to introduce an exponential at only a linear cost.&lt;br /&gt;
&lt;br /&gt;
Note that we have (and if someone can fix the arrows here and below that would be good)&lt;br /&gt;
&lt;br /&gt;
#a &amp;lt;math&amp;gt;[n,0] \to [0,2n]&amp;lt;/math&amp;gt;&lt;br /&gt;
#a &amp;lt;math&amp;gt;[n,0,0] \to [0,2^n,0] \to [0,0,2*2^n ]&amp;lt;/math&amp;gt;&lt;br /&gt;
#* because &amp;lt;math&amp;gt;[n,0,0] \to [n-1,2,0] \to [n-1,0,4] \to [n-2,4,0]&amp;lt;/math&amp;gt; by repeated applications of 1a&lt;br /&gt;
#a &amp;lt;math&amp;gt; [n,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^n,0] &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^(2^^n),0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2*2^(2^^n)]&lt;br /&gt;
#* because &amp;lt;math&amp;gt;[n,0,0,0] \to [n-1,2,0,0] \to [n-1,0,2^2,0] \to [n-2,2^2,0,0]\to [n-2,0,2^{2^2},0] \to [n-3,2^{2^2},0,0]&amp;lt;/math&amp;gt; by repeated applications of 2a, giving [0,2^^n,0,0]&lt;br /&gt;
#a similarly &amp;lt;math&amp;gt; [n,0,0,0,0]  \to &amp;lt;/math&amp;gt;[0,2^^^n,0,0,0 etc]&lt;br /&gt;
&lt;br /&gt;
== World records ==&lt;br /&gt;
&lt;br /&gt;
To make the second box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [1,0,3] \mapsto [0,3,0]&amp;lt;/math&amp;gt; places 3 coins in box 2.&lt;br /&gt;
&lt;br /&gt;
To make the third box as big as possible:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1] \mapsto [0,3,1] \mapsto [0,0,7]&amp;lt;/math&amp;gt; places 7 coins in box 3.  (Here we use advanced move 2).&lt;br /&gt;
&lt;br /&gt;
To make the fourth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;[1,1,1,1] \to [0,3,0,3] \to [0,2,2,3] \to [0,2,0,7] \to [0,1,7,0] \to [0,1,0,14]&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt; \to [0,0,14,0] \to [0,0,0,28]&amp;lt;/math&amp;gt; gives 28 coins in box 4.&lt;br /&gt;
&lt;br /&gt;
Note that 28 is 2*(2*7), and that the penultimate step has the 14=2*7 as far left as possible.&lt;br /&gt;
&lt;br /&gt;
To make the  fifth box as big as possible&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;[1,1,1,1,1] \to [1,0,0,14,0] \to [0,2,0,14,0] \to [0,1,14,0,0] \to [0,1,0,2^{14},0]&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt; \to [0,0,2^{14},0,0]  \to [0,0,0,2^{2^{14}},0] \to [0,0,0,0,2*2^{2^{14}}]&amp;lt;/math&amp;gt; with a record of &amp;lt;math&amp;gt;2*2^{2^{14}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The structure is more evident if you write 14=2*7. The process is take 7, multiply by 2, raise to the power 2, raise to the power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
The first item on the second row has &amp;lt;math&amp;gt;2^{14}&amp;lt;/math&amp;gt; as far left as possible and is used  ...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the sixth box as big as possible&lt;br /&gt;
&lt;br /&gt;
* Using the move we identified we get to &amp;lt;math&amp;gt; \to [1,0,0,2^{14},0,0]  \to [0,2,0,2^{14},0,0] \to [0,1,2^{14},0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Sorry can&#039;t see how to do a double Knuth uparrow&lt;br /&gt;
&lt;br /&gt;
* Then we get &amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;  [0,1,0,2^^(2^(14)),0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,2^^(2^(14)),0,0,0]&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt; [0,0,0,2^^(2^^(2^(14))),0,0]&lt;br /&gt;
&amp;lt;math&amp;gt; \to &amp;lt;/math&amp;gt;[0,0,0,0,2^(2^^(2^^(2^(14)))),0] to [0,0,0,0,0,2*2^(2^^(2^^(2^(14))))]&lt;br /&gt;
The structure Take 7, multiply by two, raise to power 2, do 2 double up-arrow, do 2 double up-arrow, raise to power 2, multiply by 2.&lt;br /&gt;
&lt;br /&gt;
== Completed solutions ==&lt;br /&gt;
&lt;br /&gt;
=== First solution ===&lt;br /&gt;
Let &amp;lt;math&amp;gt;T = 2010^{2010^{2010}}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We will be done if we can obtain the configuration &amp;lt;math&amp;gt;[0,0,0,T/4,0,0]&amp;lt;/math&amp;gt;, for then we can apply two compound move 1s to get the &amp;lt;math&amp;gt;[0,0,0,0,0,T]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To get this configuration it is enough to get a configuration &amp;lt;math&amp;gt;[0,0,0,X,0,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X \geq T/4&amp;lt;/math&amp;gt;, because we can then apply Type 2 moves until the number of coins in the fourth box is reduced to &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Finally, one can obtain such a configuration using compound move 4. First note that we can get &amp;lt;math&amp;gt;[0,0, 140, 0, 0 ,0]&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;[1,1,1,1,1,1] \to [0,2,2,2,2,3] \to [0,2,1,1,8,3] \to [0,2,1,1,0,19] \to [0,1,19,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
:&amp;lt;math&amp;gt;\to [0,1,1,36,0,0] \to [0,1,1,1,0,140] \to [0,0,140,0,0,0]&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From this we get &amp;lt;math&amp;gt;[0,0, 139, 2, 0 ,0]&amp;lt;/math&amp;gt;, and then by applying compound move 4 139 times we get &amp;lt;math&amp;gt;[0,0, 0, X, 0 ,0]&amp;lt;/math&amp;gt; for some &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; much, much bigger than &amp;lt;math&amp;gt;T/4&amp;lt;/math&amp;gt;, and so we are done.&lt;br /&gt;
&lt;br /&gt;
=== Second solution ===&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Human_proof_that_completely_multiplicative_sequences_have_discrepancy_greater_than_2&amp;diff=2907</id>
		<title>Human proof that completely multiplicative sequences have discrepancy greater than 2</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Human_proof_that_completely_multiplicative_sequences_have_discrepancy_greater_than_2&amp;diff=2907"/>
		<updated>2010-01-30T11:13:11Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Heading&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is [[multiplicative sequences|known from computer search]] that the longest completely multiplicative sequence &amp;lt;math&amp;gt;f: [N] \to \{-1,+1\}&amp;lt;/math&amp;gt; of discrepancy 2 has length 246.  Here we record the attempts to prove this by hand.  Notation: we display our function in rows of 10, starting with 0.  We use the notation that + and - denote values which are known to equal +1 or -1 respectively, and ? for unknown values.  Thus, initially our array looks like this:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ ? ? + ? ? ? ? +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
since f(n^2) = 1 for all square numbers.&lt;br /&gt;
&lt;br /&gt;
The notions of a &#039;&#039;cut&#039;&#039; and a &#039;&#039;block&#039;&#039; will be useful.  A &#039;&#039;cut&#039;&#039; occurs between n and n+1 whenever it can be proved that f[1,n] sums to 0; these can only occur when n is even.  We indicate a cut by a bar | between n and n+1.  Thus for instance we begin with just one cut:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ ? ? + ? ? ? ? +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;block&#039;&#039; is any interval between two cuts; thus inside each block one must sum to zero, and the discrepancy inside each block is at most 2.  Thus we can &amp;quot;localise&amp;quot; the analysis to each block, though multiplicativity relates the blocks together.&lt;br /&gt;
&lt;br /&gt;
A block is &#039;&#039;solved&#039;&#039; if all values are assigned in it.  Solved blocks are uninteresting (other than for the values they provide by multiplicativity), so we shall adopt the convention of concatenating solved blocks with adjacent blocks to reduce clutter.&lt;br /&gt;
&lt;br /&gt;
More notation: we use f[a,b] as short for f(a)+...+f(b).  Note that&lt;br /&gt;
&lt;br /&gt;
: f[a,b] = -4,-2,0,2,4 if a is odd and b is even;&lt;br /&gt;
: f[a,b] = -3,-1,1,3 if a and b are both odd or both even;&lt;br /&gt;
: f[a,b] = -2,0,2 if a is even and b is odd.&lt;br /&gt;
&lt;br /&gt;
Also if [a,b] starts or ends at a cut, then f[a,b] has magnitude at most 2.&lt;br /&gt;
&lt;br /&gt;
A key observation is that if f(2n)=f(2n+1) then there must be a cut between 2n and 2n+1.&lt;br /&gt;
&lt;br /&gt;
== Case 1. f(2)=1 ==&lt;br /&gt;
&lt;br /&gt;
Now, let us &#039;&#039;&#039;assume&#039;&#039;&#039; f(2)=1 and that the discrepancy is at most 2 and see what happens.  From multiplicativity we obtain f(2n^2)=1, thus&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ + ? + ? ? ? + +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? + ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
As f(8)=f(9) we can now cut at 8=9.  And then by using discrepancy we get f(3)=f(5)=-1, thus&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ + - + - ? ? +|+   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? + ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
which then by multiplicativity and adding cuts where obvious extends to&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - -|? +|+   0-9&lt;br /&gt;
 -|? - ? ? + + ? + ?   10-19&lt;br /&gt;
 - ? ? ? - + ? - ? ?   20-29&lt;br /&gt;
 + ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
Looking at the 7-8 block we see that f(7) is forced to be -1; from this and multiplicativity, and showing rows up to 100, we arrive at&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|? - ? - + + ? + ?   10-19&lt;br /&gt;
 - + ? ? - + ? - - ?   20-29&lt;br /&gt;
 + ? + ? ? + + ? ? ?   30-39&lt;br /&gt;
 - ? + ? ? - ? ? - +   40-49&lt;br /&gt;
 + ? ? ? - ? - ? ? ?   50-59&lt;br /&gt;
 + ? ? ? + ? ? ? ? ?   60-69&lt;br /&gt;
 + ? + ? ? - ? ? ? ?   70-79&lt;br /&gt;
 - + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 - ? ? ? ? ? - ? + ?   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
Note that&lt;br /&gt;
&lt;br /&gt;
: f[15,19] = 3 + f(17) + f(19) &lt;br /&gt;
&lt;br /&gt;
cannot exceed 3, and &lt;br /&gt;
&lt;br /&gt;
: f[168,171] = 2 - f(17) + f(19)&lt;br /&gt;
&lt;br /&gt;
cannot exceed 2.  Thus f(19) = -1.  We use this information to update the board:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|? - ? - + + ? + -   10-19&lt;br /&gt;
 - + ? ? - + ? - - ?   20-29&lt;br /&gt;
 + ? + ? ? + + ? - ?   30-39&lt;br /&gt;
 - ? + ? ? - ? ? - +   40-49&lt;br /&gt;
 + ? ? ? - ? - + ? ?   50-59&lt;br /&gt;
 + ? ? ? + ? ? ? ? ?   60-69&lt;br /&gt;
 + ? + ? ? - - ? ? ?   70-79&lt;br /&gt;
 - + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 - ? ? ? ? + - ? + ?   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
Let&#039;s write f(11)=a, f(13)=b, f(17)=c, f(23)=e, f(29)=f and A = -a, B = -b, C = -c, E=-e, F=-f.  Then we can fill in more:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + ? - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? ? - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
This seems to be about as far as one can get just from the assumption f(2)=+1.  &lt;br /&gt;
&lt;br /&gt;
== Case 1.a f(2)=f(37)=1 ==&lt;br /&gt;
&lt;br /&gt;
The most profitable &#039;&#039;&#039;assumption&#039;&#039;&#039; here seems to be f(37)=+1.  This creates a cut at 36-37, which then forces f(34)=-1 and then f(33)=-1 also.  Filling in these values and adding in cuts gives&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + -|b - + + - + -   10-19&lt;br /&gt;
 - + + e - + b - - f   20-29&lt;br /&gt;
 + ? +|- - + +|+ - B   30-39&lt;br /&gt;
 - ? + ? + - e ? - +   40-49&lt;br /&gt;
 + + b ? -|- - + f ?   50-59&lt;br /&gt;
 + ? ? - + B - ? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- B ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - B + ? ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
looking at f[30,32] we thus have f(31)=-1,&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + -|b - + + - + -   10-19&lt;br /&gt;
 - + + e - + b - - f   20-29&lt;br /&gt;
 +|- + - - + +|+ - B   30-39&lt;br /&gt;
 - ? + ? + - e ? - +   40-49&lt;br /&gt;
 + + b ? -|- - + f ?   50-59&lt;br /&gt;
 + ? - - + B - ? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- B ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - B +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
== Case 1.a.1 f(2)=f(37)=f(13)=1 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now suppose we &#039;&#039;&#039;assume&#039;&#039;&#039; b=+1.  Then by looking at f(1)+...+f(23) we have e=-1, and by looking at f(1)+...+f(37) we then have f=-1, leaving us with&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - + - + + - + -   10-19&lt;br /&gt;
 - + + - - + + - - -   20-29&lt;br /&gt;
 + - + - - + + + -|-   30-39&lt;br /&gt;
 - ? + ? + - - ? - +   40-49&lt;br /&gt;
 +|+ + ? -|- - + - ?   50-59&lt;br /&gt;
 + ? - - + - - ? - +   60-69&lt;br /&gt;
 + ? + ? + - -|- - ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? + + ?   80-89&lt;br /&gt;
 -|- +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
from f[39,41] we have f(41)=+1, and from f[77,79] we have f(79)=+1, from f[51,54] we have f(53)=-1, from f[47,50] we have f(47)=-1, and from f[85,88] we have f(86)=-1, hence f(43)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - + - + + - + -   10-19&lt;br /&gt;
 - + + - - + + - - -   20-29&lt;br /&gt;
 + - + - - + + + - -   30-39&lt;br /&gt;
 - + + - +|- - - - +   40-49&lt;br /&gt;
 + +|+ - - - - + - ?   50-59&lt;br /&gt;
 + ? - - + - - ? - +   60-69&lt;br /&gt;
 + ? + ? + - -|- - +   70-79&lt;br /&gt;
 - + +|? + + - + + ?   80-89&lt;br /&gt;
 - - + + ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
But this creates a contradiction at the block [45,51].  Thus this case is impossible.&lt;br /&gt;
&lt;br /&gt;
== Case 1.a f(2)=f(37)=1 ==&lt;br /&gt;
&lt;br /&gt;
We have thus concluded in this case that f(13)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + +|e - + -|- - f   20-29&lt;br /&gt;
 +|- + - - + +|+ - +   30-39&lt;br /&gt;
 -|? + ? + - e ? - +   40-49&lt;br /&gt;
 +|+ - ? -|- - + f ?   50-59&lt;br /&gt;
 + ? -|- + + -|? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- + ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - + +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
From the [23,26] and [27,30] blocks we have e=+1 and f=+1; from the block [51,54] we have f(53)=+1.  Looking at [93,95] we see that f(94)=-1 hence f(47)=+1, and we have a cut at 92-93, hence also at 96-97:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 -|? + ? +|- + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + -|? - -   60-69&lt;br /&gt;
 + ? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + ? ? +|+ ? - + ?   80-89&lt;br /&gt;
 - + +|+ - + -|? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
from f[97,99] we have f(97)=-1.  From the [41,44] block we have f(41)=f(43)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + -|? -|-   60-69&lt;br /&gt;
 + ? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - +|?   80-89&lt;br /&gt;
 - + +|+ - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Using the cuts we can fill in f(67)=+1 and f(89)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 +|+ - ? - - - + + ?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + +|+ - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
The 41-50 block then forces f(41)=-1, hence f(82)=-1.&lt;br /&gt;
&lt;br /&gt;
If 79 and 83 are both positive the sum at 85 is 3, and if 79 and 83 are both negative the sum at 82 is -3, so 79 and 83 must be alternate signs, so there is a cut before 85:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + -|? - - - + + ?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Looking at 53-56 we see that f(53)=+1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + + ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Suppose f(59)=+1. Then f(118)=f(120)=f(121)=1 and f(119)=-f(17), so f(17)=+1. Also, f(57)=f(59)=f(60)=1 and f(58)=f(29), hence f(29)=-1.&lt;br /&gt;
Next, f(15)+…+f(22) = f(11)+2, hence f(11)=-1; and then f(1)+…+f(13) = f(13)-2, so f(13)=+1. But then f(1)+…+f(23)=f(23)+2, so f(23)=-1. But then f(1)+…+f(29)=-3, contradiction.&lt;br /&gt;
&lt;br /&gt;
Thus we must also have f(59)=-1, so f(61)=+1.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
The remaining question marks are unconstrained other than requiring every block to sum to 0.  Now consider the sequence up to 119, with the multiplicative values filled in:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? - - + ? - ?   100-109&lt;br /&gt;
 - - - ? + - + - - +   110-119&lt;br /&gt;
&lt;br /&gt;
109 is clearly + (otherwise there’s a sequence of 5 -s).&lt;br /&gt;
&lt;br /&gt;
Consider 101 and 103.&lt;br /&gt;
&lt;br /&gt;
Both can’t be + because the sum at 103 would reach 3.&lt;br /&gt;
&lt;br /&gt;
Both can’t be – because then at 105 the sum would reach -3.&lt;br /&gt;
&lt;br /&gt;
Therefore one has to be + and the other -, so the sum is 0 immediately before 105 and 0 immediately before 107.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|? - +   100-109&lt;br /&gt;
 - - - ? + - + - - +   110-119&lt;br /&gt;
&lt;br /&gt;
Since the sum is 0 before 107, 107 must be + (otherwise the sum is -3 at 111).&lt;br /&gt;
&lt;br /&gt;
Also, the sum is -2 before 103, so 103 is +.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
&lt;br /&gt;
Continuing with known multiplicative values and values set by the sum being 2 or -2 up to 149, this gives deductions:&lt;br /&gt;
120 = +1, 121=+1, 122=+1, 123=+1 and together with 119=+1 this provides a contradiction based on earlier values at 2,3,5; 2,61; 3,41 and 7,17&lt;br /&gt;
This concludes case 1a.&lt;br /&gt;
&lt;br /&gt;
== Case 1.b f(2)=1, f(37)=-1 ==&lt;br /&gt;
&lt;br /&gt;
This takes us back to case 1.b f(2)=1, f(37)=-1, which begins here:&lt;br /&gt;
&lt;br /&gt;
Let&#039;s write f(11)=a, f(13)=b, f(17)=c, f(23)=e, f(29)=f and A = -a, B = -b, C = -c, E=-e, F=-f.  Then we can fill in more:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + ? - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? ? - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;br /&gt;
This seems to be about as far as one can get just from the assumption f(2)=+1.&lt;br /&gt;
&lt;br /&gt;
So we assume f(37)=-1&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + - - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? - - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Human_proof_that_completely_multiplicative_sequences_have_discrepancy_greater_than_2&amp;diff=2906</id>
		<title>Human proof that completely multiplicative sequences have discrepancy greater than 2</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Human_proof_that_completely_multiplicative_sequences_have_discrepancy_greater_than_2&amp;diff=2906"/>
		<updated>2010-01-30T11:09:09Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Contradiction at value 123 ends case f(2)=f(37)=+1&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is [[multiplicative sequences|known from computer search]] that the longest completely multiplicative sequence &amp;lt;math&amp;gt;f: [N] \to \{-1,+1\}&amp;lt;/math&amp;gt; of discrepancy 2 has length 246.  Here we record the attempts to prove this by hand.  Notation: we display our function in rows of 10, starting with 0.  We use the notation that + and - denote values which are known to equal +1 or -1 respectively, and ? for unknown values.  Thus, initially our array looks like this:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ ? ? + ? ? ? ? +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
since f(n^2) = 1 for all square numbers.&lt;br /&gt;
&lt;br /&gt;
The notions of a &#039;&#039;cut&#039;&#039; and a &#039;&#039;block&#039;&#039; will be useful.  A &#039;&#039;cut&#039;&#039; occurs between n and n+1 whenever it can be proved that f[1,n] sums to 0; these can only occur when n is even.  We indicate a cut by a bar | between n and n+1.  Thus for instance we begin with just one cut:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ ? ? + ? ? ? ? +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;block&#039;&#039; is any interval between two cuts; thus inside each block one must sum to zero, and the discrepancy inside each block is at most 2.  Thus we can &amp;quot;localise&amp;quot; the analysis to each block, though multiplicativity relates the blocks together.&lt;br /&gt;
&lt;br /&gt;
A block is &#039;&#039;solved&#039;&#039; if all values are assigned in it.  Solved blocks are uninteresting (other than for the values they provide by multiplicativity), so we shall adopt the convention of concatenating solved blocks with adjacent blocks to reduce clutter.&lt;br /&gt;
&lt;br /&gt;
More notation: we use f[a,b] as short for f(a)+...+f(b).  Note that&lt;br /&gt;
&lt;br /&gt;
: f[a,b] = -4,-2,0,2,4 if a is odd and b is even;&lt;br /&gt;
: f[a,b] = -3,-1,1,3 if a and b are both odd or both even;&lt;br /&gt;
: f[a,b] = -2,0,2 if a is even and b is odd.&lt;br /&gt;
&lt;br /&gt;
Also if [a,b] starts or ends at a cut, then f[a,b] has magnitude at most 2.&lt;br /&gt;
&lt;br /&gt;
A key observation is that if f(2n)=f(2n+1) then there must be a cut between 2n and 2n+1.&lt;br /&gt;
&lt;br /&gt;
== Case 1. f(2)=1 ==&lt;br /&gt;
&lt;br /&gt;
Now, let us &#039;&#039;&#039;assume&#039;&#039;&#039; f(2)=1 and that the discrepancy is at most 2 and see what happens.  From multiplicativity we obtain f(2n^2)=1, thus&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ + ? + ? ? ? + +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? + ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
As f(8)=f(9) we can now cut at 8=9.  And then by using discrepancy we get f(3)=f(5)=-1, thus&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ + - + - ? ? +|+   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? + ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
which then by multiplicativity and adding cuts where obvious extends to&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - -|? +|+   0-9&lt;br /&gt;
 -|? - ? ? + + ? + ?   10-19&lt;br /&gt;
 - ? ? ? - + ? - ? ?   20-29&lt;br /&gt;
 + ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
Looking at the 7-8 block we see that f(7) is forced to be -1; from this and multiplicativity, and showing rows up to 100, we arrive at&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|? - ? - + + ? + ?   10-19&lt;br /&gt;
 - + ? ? - + ? - - ?   20-29&lt;br /&gt;
 + ? + ? ? + + ? ? ?   30-39&lt;br /&gt;
 - ? + ? ? - ? ? - +   40-49&lt;br /&gt;
 + ? ? ? - ? - ? ? ?   50-59&lt;br /&gt;
 + ? ? ? + ? ? ? ? ?   60-69&lt;br /&gt;
 + ? + ? ? - ? ? ? ?   70-79&lt;br /&gt;
 - + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 - ? ? ? ? ? - ? + ?   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
Note that&lt;br /&gt;
&lt;br /&gt;
: f[15,19] = 3 + f(17) + f(19) &lt;br /&gt;
&lt;br /&gt;
cannot exceed 3, and &lt;br /&gt;
&lt;br /&gt;
: f[168,171] = 2 - f(17) + f(19)&lt;br /&gt;
&lt;br /&gt;
cannot exceed 2.  Thus f(19) = -1.  We use this information to update the board:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|? - ? - + + ? + -   10-19&lt;br /&gt;
 - + ? ? - + ? - - ?   20-29&lt;br /&gt;
 + ? + ? ? + + ? - ?   30-39&lt;br /&gt;
 - ? + ? ? - ? ? - +   40-49&lt;br /&gt;
 + ? ? ? - ? - + ? ?   50-59&lt;br /&gt;
 + ? ? ? + ? ? ? ? ?   60-69&lt;br /&gt;
 + ? + ? ? - - ? ? ?   70-79&lt;br /&gt;
 - + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 - ? ? ? ? + - ? + ?   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
Let&#039;s write f(11)=a, f(13)=b, f(17)=c, f(23)=e, f(29)=f and A = -a, B = -b, C = -c, E=-e, F=-f.  Then we can fill in more:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + ? - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? ? - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
This seems to be about as far as one can get just from the assumption f(2)=+1.  &lt;br /&gt;
&lt;br /&gt;
== Case 1.a f(2)=f(37)=1 ==&lt;br /&gt;
&lt;br /&gt;
The most profitable &#039;&#039;&#039;assumption&#039;&#039;&#039; here seems to be f(37)=+1.  This creates a cut at 36-37, which then forces f(34)=-1 and then f(33)=-1 also.  Filling in these values and adding in cuts gives&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + -|b - + + - + -   10-19&lt;br /&gt;
 - + + e - + b - - f   20-29&lt;br /&gt;
 + ? +|- - + +|+ - B   30-39&lt;br /&gt;
 - ? + ? + - e ? - +   40-49&lt;br /&gt;
 + + b ? -|- - + f ?   50-59&lt;br /&gt;
 + ? ? - + B - ? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- B ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - B + ? ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
looking at f[30,32] we thus have f(31)=-1,&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + -|b - + + - + -   10-19&lt;br /&gt;
 - + + e - + b - - f   20-29&lt;br /&gt;
 +|- + - - + +|+ - B   30-39&lt;br /&gt;
 - ? + ? + - e ? - +   40-49&lt;br /&gt;
 + + b ? -|- - + f ?   50-59&lt;br /&gt;
 + ? - - + B - ? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- B ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - B +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
== Case 1.a.1 f(2)=f(37)=f(13)=1 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now suppose we &#039;&#039;&#039;assume&#039;&#039;&#039; b=+1.  Then by looking at f(1)+...+f(23) we have e=-1, and by looking at f(1)+...+f(37) we then have f=-1, leaving us with&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - + - + + - + -   10-19&lt;br /&gt;
 - + + - - + + - - -   20-29&lt;br /&gt;
 + - + - - + + + -|-   30-39&lt;br /&gt;
 - ? + ? + - - ? - +   40-49&lt;br /&gt;
 +|+ + ? -|- - + - ?   50-59&lt;br /&gt;
 + ? - - + - - ? - +   60-69&lt;br /&gt;
 + ? + ? + - -|- - ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? + + ?   80-89&lt;br /&gt;
 -|- +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
from f[39,41] we have f(41)=+1, and from f[77,79] we have f(79)=+1, from f[51,54] we have f(53)=-1, from f[47,50] we have f(47)=-1, and from f[85,88] we have f(86)=-1, hence f(43)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - + - + + - + -   10-19&lt;br /&gt;
 - + + - - + + - - -   20-29&lt;br /&gt;
 + - + - - + + + - -   30-39&lt;br /&gt;
 - + + - +|- - - - +   40-49&lt;br /&gt;
 + +|+ - - - - + - ?   50-59&lt;br /&gt;
 + ? - - + - - ? - +   60-69&lt;br /&gt;
 + ? + ? + - -|- - +   70-79&lt;br /&gt;
 - + +|? + + - + + ?   80-89&lt;br /&gt;
 - - + + ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
But this creates a contradiction at the block [45,51].  Thus this case is impossible.&lt;br /&gt;
&lt;br /&gt;
== Case 1.a f(2)=f(37)=1 ==&lt;br /&gt;
&lt;br /&gt;
We have thus concluded in this case that f(13)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + +|e - + -|- - f   20-29&lt;br /&gt;
 +|- + - - + +|+ - +   30-39&lt;br /&gt;
 -|? + ? + - e ? - +   40-49&lt;br /&gt;
 +|+ - ? -|- - + f ?   50-59&lt;br /&gt;
 + ? -|- + + -|? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- + ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - + +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
From the [23,26] and [27,30] blocks we have e=+1 and f=+1; from the block [51,54] we have f(53)=+1.  Looking at [93,95] we see that f(94)=-1 hence f(47)=+1, and we have a cut at 92-93, hence also at 96-97:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 -|? + ? +|- + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + -|? - -   60-69&lt;br /&gt;
 + ? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + ? ? +|+ ? - + ?   80-89&lt;br /&gt;
 - + +|+ - + -|? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
from f[97,99] we have f(97)=-1.  From the [41,44] block we have f(41)=f(43)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + -|? -|-   60-69&lt;br /&gt;
 + ? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - +|?   80-89&lt;br /&gt;
 - + +|+ - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Using the cuts we can fill in f(67)=+1 and f(89)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 +|+ - ? - - - + + ?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + +|+ - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
The 41-50 block then forces f(41)=-1, hence f(82)=-1.&lt;br /&gt;
&lt;br /&gt;
If 79 and 83 are both positive the sum at 85 is 3, and if 79 and 83 are both negative the sum at 82 is -3, so 79 and 83 must be alternate signs, so there is a cut before 85:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + -|? - - - + + ?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Looking at 53-56 we see that f(53)=+1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + + ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Suppose f(59)=+1. Then f(118)=f(120)=f(121)=1 and f(119)=-f(17), so f(17)=+1. Also, f(57)=f(59)=f(60)=1 and f(58)=f(29), hence f(29)=-1.&lt;br /&gt;
Next, f(15)+…+f(22) = f(11)+2, hence f(11)=-1; and then f(1)+…+f(13) = f(13)-2, so f(13)=+1. But then f(1)+…+f(23)=f(23)+2, so f(23)=-1. But then f(1)+…+f(29)=-3, contradiction.&lt;br /&gt;
&lt;br /&gt;
Thus we must also have f(59)=-1, so f(61)=+1.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
The remaining question marks are unconstrained other than requiring every block to sum to 0.  Now consider the sequence up to 119, with the multiplicative values filled in:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? - - + ? - ?   100-109&lt;br /&gt;
 - - - ? + - + - - +   110-119&lt;br /&gt;
&lt;br /&gt;
109 is clearly + (otherwise there’s a sequence of 5 -s).&lt;br /&gt;
&lt;br /&gt;
Consider 101 and 103.&lt;br /&gt;
&lt;br /&gt;
Both can’t be + because the sum at 103 would reach 3.&lt;br /&gt;
&lt;br /&gt;
Both can’t be – because then at 105 the sum would reach -3.&lt;br /&gt;
&lt;br /&gt;
Therefore one has to be + and the other -, so the sum is 0 immediately before 105 and 0 immediately before 107.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|? - +   100-109&lt;br /&gt;
 - - - ? + - + - - +   110-119&lt;br /&gt;
&lt;br /&gt;
Since the sum is 0 before 107, 107 must be + (otherwise the sum is -3 at 111).&lt;br /&gt;
&lt;br /&gt;
Also, the sum is -2 before 103, so 103 is +.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
&lt;br /&gt;
Continuing with known multiplicative values and values set by the sum being 2 or -2 up to 149, this gives deductions:&lt;br /&gt;
120 = +1, 121=+1, 122=+1, 123=+1 and together with 119=+1 this provides a contradiction based on earlier values at 2,3,5; 2,61; 3,41 and 7,17&lt;br /&gt;
&lt;br /&gt;
This takes us back to case 1.b f(2)=1, f(37)=-1, which begins here:&lt;br /&gt;
&lt;br /&gt;
Let&#039;s write f(11)=a, f(13)=b, f(17)=c, f(23)=e, f(29)=f and A = -a, B = -b, C = -c, E=-e, F=-f.  Then we can fill in more:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + ? - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? ? - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;br /&gt;
This seems to be about as far as one can get just from the assumption f(2)=+1.&lt;br /&gt;
&lt;br /&gt;
So we assume f(37)=-1&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + - - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? - - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Human_proof_that_completely_multiplicative_sequences_have_discrepancy_greater_than_2&amp;diff=2905</id>
		<title>Human proof that completely multiplicative sequences have discrepancy greater than 2</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Human_proof_that_completely_multiplicative_sequences_have_discrepancy_greater_than_2&amp;diff=2905"/>
		<updated>2010-01-30T10:44:02Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Deduction of 141 - typo: 137 and 139 rather than 107 and 109&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It is [[multiplicative sequences|known from computer search]] that the longest completely multiplicative sequence &amp;lt;math&amp;gt;f: [N] \to \{-1,+1\}&amp;lt;/math&amp;gt; of discrepancy 2 has length 246.  Here we record the attempts to prove this by hand.  Notation: we display our function in rows of 10, starting with 0.  We use the notation that + and - denote values which are known to equal +1 or -1 respectively, and ? for unknown values.  Thus, initially our array looks like this:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ ? ? + ? ? ? ? +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
since f(n^2) = 1 for all square numbers.&lt;br /&gt;
&lt;br /&gt;
The notions of a &#039;&#039;cut&#039;&#039; and a &#039;&#039;block&#039;&#039; will be useful.  A &#039;&#039;cut&#039;&#039; occurs between n and n+1 whenever it can be proved that f[1,n] sums to 0; these can only occur when n is even.  We indicate a cut by a bar | between n and n+1.  Thus for instance we begin with just one cut:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ ? ? + ? ? ? ? +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? ? ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;block&#039;&#039; is any interval between two cuts; thus inside each block one must sum to zero, and the discrepancy inside each block is at most 2.  Thus we can &amp;quot;localise&amp;quot; the analysis to each block, though multiplicativity relates the blocks together.&lt;br /&gt;
&lt;br /&gt;
A block is &#039;&#039;solved&#039;&#039; if all values are assigned in it.  Solved blocks are uninteresting (other than for the values they provide by multiplicativity), so we shall adopt the convention of concatenating solved blocks with adjacent blocks to reduce clutter.&lt;br /&gt;
&lt;br /&gt;
More notation: we use f[a,b] as short for f(a)+...+f(b).  Note that&lt;br /&gt;
&lt;br /&gt;
: f[a,b] = -4,-2,0,2,4 if a is odd and b is even;&lt;br /&gt;
: f[a,b] = -3,-1,1,3 if a and b are both odd or both even;&lt;br /&gt;
: f[a,b] = -2,0,2 if a is even and b is odd.&lt;br /&gt;
&lt;br /&gt;
Also if [a,b] starts or ends at a cut, then f[a,b] has magnitude at most 2.&lt;br /&gt;
&lt;br /&gt;
A key observation is that if f(2n)=f(2n+1) then there must be a cut between 2n and 2n+1.&lt;br /&gt;
&lt;br /&gt;
== Case 1. f(2)=1 ==&lt;br /&gt;
&lt;br /&gt;
Now, let us &#039;&#039;&#039;assume&#039;&#039;&#039; f(2)=1 and that the discrepancy is at most 2 and see what happens.  From multiplicativity we obtain f(2n^2)=1, thus&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ + ? + ? ? ? + +   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? + ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
As f(8)=f(9) we can now cut at 8=9.  And then by using discrepancy we get f(3)=f(5)=-1, thus&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0|+ + - + - ? ? +|+   0-9&lt;br /&gt;
 ? ? ? ? ? ? + ? + ?   10-19&lt;br /&gt;
 ? ? ? ? ? + ? ? ? ?   20-29&lt;br /&gt;
 ? ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
which then by multiplicativity and adding cuts where obvious extends to&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - -|? +|+   0-9&lt;br /&gt;
 -|? - ? ? + + ? + ?   10-19&lt;br /&gt;
 - ? ? ? - + ? - ? ?   20-29&lt;br /&gt;
 + ? + ? ? ? + ? ? ?   30-39&lt;br /&gt;
&lt;br /&gt;
Looking at the 7-8 block we see that f(7) is forced to be -1; from this and multiplicativity, and showing rows up to 100, we arrive at&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|? - ? - + + ? + ?   10-19&lt;br /&gt;
 - + ? ? - + ? - - ?   20-29&lt;br /&gt;
 + ? + ? ? + + ? ? ?   30-39&lt;br /&gt;
 - ? + ? ? - ? ? - +   40-49&lt;br /&gt;
 + ? ? ? - ? - ? ? ?   50-59&lt;br /&gt;
 + ? ? ? + ? ? ? ? ?   60-69&lt;br /&gt;
 + ? + ? ? - ? ? ? ?   70-79&lt;br /&gt;
 - + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 - ? ? ? ? ? - ? + ?   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
Note that&lt;br /&gt;
&lt;br /&gt;
: f[15,19] = 3 + f(17) + f(19) &lt;br /&gt;
&lt;br /&gt;
cannot exceed 3, and &lt;br /&gt;
&lt;br /&gt;
: f[168,171] = 2 - f(17) + f(19)&lt;br /&gt;
&lt;br /&gt;
cannot exceed 2.  Thus f(19) = -1.  We use this information to update the board:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|? - ? - + + ? + -   10-19&lt;br /&gt;
 - + ? ? - + ? - - ?   20-29&lt;br /&gt;
 + ? + ? ? + + ? - ?   30-39&lt;br /&gt;
 - ? + ? ? - ? ? - +   40-49&lt;br /&gt;
 + ? ? ? - ? - + ? ?   50-59&lt;br /&gt;
 + ? ? ? + ? ? ? ? ?   60-69&lt;br /&gt;
 + ? + ? ? - - ? ? ?   70-79&lt;br /&gt;
 - + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 - ? ? ? ? + - ? + ?   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
Let&#039;s write f(11)=a, f(13)=b, f(17)=c, f(23)=e, f(29)=f and A = -a, B = -b, C = -c, E=-e, F=-f.  Then we can fill in more:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 -|a - b - + + c + -   10-19&lt;br /&gt;
 - + a e - + b - - f   20-29&lt;br /&gt;
 + ? + A c + + ? - B   30-39&lt;br /&gt;
 - ? + ? a - e ? - +   40-49&lt;br /&gt;
 + C b ? - A - + f ?   50-59&lt;br /&gt;
 + ? ? - + B A ? c E   60-69&lt;br /&gt;
 + ? + ? ? - - A B ?   70-79&lt;br /&gt;
 - + ? ? + C ? F a ?   80-89&lt;br /&gt;
 - B C ? ? + - ? + a   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
This seems to be about as far as one can get just from the assumption f(2)=+1.  &lt;br /&gt;
&lt;br /&gt;
== Case 1.a f(2)=f(37)=1 ==&lt;br /&gt;
&lt;br /&gt;
The most profitable &#039;&#039;&#039;assumption&#039;&#039;&#039; here seems to be f(37)=+1.  This creates a cut at 36-37, which then forces f(34)=-1 and then f(33)=-1 also.  Filling in these values and adding in cuts gives&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + -|b - + + - + -   10-19&lt;br /&gt;
 - + + e - + b - - f   20-29&lt;br /&gt;
 + ? +|- - + +|+ - B   30-39&lt;br /&gt;
 - ? + ? + - e ? - +   40-49&lt;br /&gt;
 + + b ? -|- - + f ?   50-59&lt;br /&gt;
 + ? ? - + B - ? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- B ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - B + ? ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
looking at f[30,32] we thus have f(31)=-1,&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
 &lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + -|b - + + - + -   10-19&lt;br /&gt;
 - + + e - + b - - f   20-29&lt;br /&gt;
 +|- + - - + +|+ - B   30-39&lt;br /&gt;
 - ? + ? + - e ? - +   40-49&lt;br /&gt;
 + + b ? -|- - + f ?   50-59&lt;br /&gt;
 + ? - - + B - ? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- B ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - B +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
== Case 1.a.1 f(2)=f(37)=f(13)=1 ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now suppose we &#039;&#039;&#039;assume&#039;&#039;&#039; b=+1.  Then by looking at f(1)+...+f(23) we have e=-1, and by looking at f(1)+...+f(37) we then have f=-1, leaving us with&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - + - + + - + -   10-19&lt;br /&gt;
 - + + - - + + - - -   20-29&lt;br /&gt;
 + - + - - + + + -|-   30-39&lt;br /&gt;
 - ? + ? + - - ? - +   40-49&lt;br /&gt;
 +|+ + ? -|- - + - ?   50-59&lt;br /&gt;
 + ? - - + - - ? - +   60-69&lt;br /&gt;
 + ? + ? + - -|- - ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? + + ?   80-89&lt;br /&gt;
 -|- +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
from f[39,41] we have f(41)=+1, and from f[77,79] we have f(79)=+1, from f[51,54] we have f(53)=-1, from f[47,50] we have f(47)=-1, and from f[85,88] we have f(86)=-1, hence f(43)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - + - + + - + -   10-19&lt;br /&gt;
 - + + - - + + - - -   20-29&lt;br /&gt;
 + - + - - + + + - -   30-39&lt;br /&gt;
 - + + - +|- - - - +   40-49&lt;br /&gt;
 + +|+ - - - - + - ?   50-59&lt;br /&gt;
 + ? - - + - - ? - +   60-69&lt;br /&gt;
 + ? + ? + - -|- - +   70-79&lt;br /&gt;
 - + +|? + + - + + ?   80-89&lt;br /&gt;
 - - + + ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
But this creates a contradiction at the block [45,51].  Thus this case is impossible.&lt;br /&gt;
&lt;br /&gt;
== Case 1.a f(2)=f(37)=1 ==&lt;br /&gt;
&lt;br /&gt;
We have thus concluded in this case that f(13)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + +|e - + -|- - f   20-29&lt;br /&gt;
 +|- + - - + +|+ - +   30-39&lt;br /&gt;
 -|? + ? + - e ? - +   40-49&lt;br /&gt;
 +|+ - ? -|- - + f ?   50-59&lt;br /&gt;
 + ? -|- + + -|? - E   60-69&lt;br /&gt;
 + ? + ? + - -|- + ?   70-79&lt;br /&gt;
 - + ? ? +|+ ? F + ?   80-89&lt;br /&gt;
 - + +|+ ? + - ? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
From the [23,26] and [27,30] blocks we have e=+1 and f=+1; from the block [51,54] we have f(53)=+1.  Looking at [93,95] we see that f(94)=-1 hence f(47)=+1, and we have a cut at 92-93, hence also at 96-97:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 -|? + ? +|- + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + -|? - -   60-69&lt;br /&gt;
 + ? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + ? ? +|+ ? - + ?   80-89&lt;br /&gt;
 - + +|+ - + -|? + +   90-99&lt;br /&gt;
 -&lt;br /&gt;
&lt;br /&gt;
from f[97,99] we have f(97)=-1.  From the [41,44] block we have f(41)=f(43)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + -|? -|-   60-69&lt;br /&gt;
 + ? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - +|?   80-89&lt;br /&gt;
 - + +|+ - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Using the cuts we can fill in f(67)=+1 and f(89)=-1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 +|+ - ? - - - + + ?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + +|+ - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
The 41-50 block then forces f(41)=-1, hence f(82)=-1.&lt;br /&gt;
&lt;br /&gt;
If 79 and 83 are both positive the sum at 85 is 3, and if 79 and 83 are both negative the sum at 82 is -3, so 79 and 83 must be alternate signs, so there is a cut before 85:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + -|? - - - + + ?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Looking at 53-56 we see that f(53)=+1:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|?   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + + ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
Suppose f(59)=+1. Then f(118)=f(120)=f(121)=1 and f(119)=-f(17), so f(17)=+1. Also, f(57)=f(59)=f(60)=1 and f(58)=f(29), hence f(29)=-1.&lt;br /&gt;
Next, f(15)+…+f(22) = f(11)+2, hence f(11)=-1; and then f(1)+…+f(13) = f(13)-2, so f(13)=+1. But then f(1)+…+f(23)=f(23)+2, so f(23)=-1. But then f(1)+…+f(29)=-3, contradiction.&lt;br /&gt;
&lt;br /&gt;
Thus we must also have f(59)=-1, so f(61)=+1.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|&lt;br /&gt;
&lt;br /&gt;
The remaining question marks are unconstrained other than requiring every block to sum to 0.  Now consider the sequence up to 119, with the multiplicative values filled in:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? - - + ? - ?   100-109&lt;br /&gt;
 - - - ? + - + - - +   110-119&lt;br /&gt;
&lt;br /&gt;
109 is clearly + (otherwise there’s a sequence of 5 -s).&lt;br /&gt;
&lt;br /&gt;
Consider 101 and 103.&lt;br /&gt;
&lt;br /&gt;
Both can’t be + because the sum at 103 would reach 3.&lt;br /&gt;
&lt;br /&gt;
Both can’t be – because then at 105 the sum would reach -3.&lt;br /&gt;
&lt;br /&gt;
Therefore one has to be + and the other -, so the sum is 0 immediately before 105 and 0 immediately before 107.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|? - +   100-109&lt;br /&gt;
 - - - ? + - + - - +   110-119&lt;br /&gt;
&lt;br /&gt;
Since the sum is 0 before 107, 107 must be + (otherwise the sum is -3 at 111).&lt;br /&gt;
&lt;br /&gt;
Also, the sum is -2 before 103, so 103 is +.&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + + -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
&lt;br /&gt;
Continuing with known multiplicative values and values set by the sum being 2 or -2 up to 149:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
 + + + - - - - + + +   120-129&lt;br /&gt;
 + - - + + - -|? - ?   130-139&lt;br /&gt;
 + + ? - + - ? - + ?   140-149&lt;br /&gt;
&lt;br /&gt;
137 and 139 can&#039;t both be + (sum reaches 3 at 141) and can&#039;t both be - (5 -s in a row) so before 141 the sum must be 0:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
 + + + - - - - + + +   120-129&lt;br /&gt;
 + - - + + - -|? - ?   130-139&lt;br /&gt;
 +|+ ? - + - ? - + ?   140-149&lt;br /&gt;
&lt;br /&gt;
Extending through multiplicative knowledge ...&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
 + + + - - - - + + +   120-129&lt;br /&gt;
 + - - + + - -|? - ?   130-139&lt;br /&gt;
 +|+ ? - + - ? - + ?   140-149&lt;br /&gt;
 - ? - - - + + ? - -   150-159&lt;br /&gt;
&lt;br /&gt;
We know 71 and 73 must be alternate signs, so by multiplicative properties 142 (2 * 71) and 146 (2 * 73) must have alternate signs, so the sum is zero immediately before 147 and 149. Now extending the list to 159:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
 + + + - - - - + + +   120-129&lt;br /&gt;
 + - - + + - -|? - ?   130-139&lt;br /&gt;
 +|+ ? - + - ?|- +|?   140-149&lt;br /&gt;
 - ? - - - + + ? - -   150-159&lt;br /&gt;
&lt;br /&gt;
151 must be + because otherwise we have 5 -s in a row, and 149 must be + because otherwise the sum will be -3 at 153, so immediately before 157 the sum is 0:&lt;br /&gt;
&lt;br /&gt;
 0 1 2 3 4 5 6 7 8 9&lt;br /&gt;
&lt;br /&gt;
 0 + + - + - - - + +   0-9&lt;br /&gt;
 - + - - - + + - + -   10-19&lt;br /&gt;
 - + + + - + - - - +   20-29&lt;br /&gt;
 + - + - - + + + - +   30-39&lt;br /&gt;
 - - + - + - + - - +   40-49&lt;br /&gt;
 + + - + - - - + +|-   50-59&lt;br /&gt;
 + ? -|- + + - + - -   60-69&lt;br /&gt;
 +|? + ? + - -|- +|?   70-79&lt;br /&gt;
 - + - ? +|+ - - + -   80-89&lt;br /&gt;
 - + + + - + - - + +   90-99&lt;br /&gt;
 -|? + ? -|- +|+ - +   100-109&lt;br /&gt;
 - - - + +|- +|- - +   110-119&lt;br /&gt;
 + + + - - - - + + +   120-129&lt;br /&gt;
 + - - + + - -|? - ?   130-139&lt;br /&gt;
 +|+ ? - + - ?|- +|+   140-149&lt;br /&gt;
 - + - - - + +|? - -   150-159&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Sequence_of_length_1112&amp;diff=2646</id>
		<title>Sequence of length 1112</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Sequence_of_length_1112&amp;diff=2646"/>
		<updated>2010-01-12T07:48:15Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Subsequence analysis&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This sequence, of length 1112 (close to the current record) may be of interest because it was derived differently from the 1124 sequences, by a depth-first search starting with a sequence of length 974 satisfying 1=-2=-5 and 11=-13 exactly:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++--+-++--+--+-++-++--+-++--+--+-&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;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;
As expected the subsequence structure is very similar to that for the 974 sequence&lt;br /&gt;
&lt;br /&gt;
617: 	1	4	10	13	16	19	22	25	27	31	34	40	42	46	52	55	58	64	76	82	85&lt;br /&gt;
&lt;br /&gt;
3478: 	2	5	8	11	17	20	21	23	26	29	32	38	41	44	50	54	59	62	65	68	80	83&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
809: 	18	37	45	72	79																&lt;br /&gt;
&lt;br /&gt;
3286; 	9	36	74																			&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873: 	7	28	49	70																		&lt;br /&gt;
&lt;br /&gt;
3222: 	14	35	47	56	77																	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458: 	3	12	30	39	48	57	66	75														&lt;br /&gt;
&lt;br /&gt;
2637: 	6	15	24	33	43	51	60	63	69	78												&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
242: 	67																				&lt;br /&gt;
845: 	73																				&lt;br /&gt;
1266: 	53																					&lt;br /&gt;
1430: 	84																					&lt;br /&gt;
1833: 	61																					&lt;br /&gt;
3314: 	71																					&lt;br /&gt;
3506: 	81&lt;br /&gt;
&lt;br /&gt;
This reflects the beginning of the subsequences. There are some emerging methods for analysing over the whole length which may give insight into the way in which patterns break up.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2619</id>
		<title>T m(x) = (+/-)T n(x)</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2619"/>
		<updated>2010-01-11T19:14:01Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Correcting oversight on 11-sequence&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This sequence, of length 974, satisfies the following relations exactly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{2n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{5n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{13n} = -x_{11n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;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;br /&gt;
 -+-++-+---++-+--+--+-++-++--+-&lt;br /&gt;
 ++--++-+-+-+-++&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{11n} = -x_n&amp;lt;/math&amp;gt; up to position 63 - and 63 emerges as a new anomaly.&lt;br /&gt;
&lt;br /&gt;
617: 	1	4	10	13	16	19	22	25	27	31	34	40	42	46	52	55	58	64	&lt;br /&gt;
&lt;br /&gt;
3478: 	2	5	8	11	17	20	21	23	26	29	32	38	41	44	50	54	59	62	65	68&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
809: 	18	37	45	61	72															&lt;br /&gt;
&lt;br /&gt;
3286: 	9	36	74	&lt;br /&gt;
&lt;br /&gt;
																&lt;br /&gt;
873: 	7	28	49	70																&lt;br /&gt;
&lt;br /&gt;
3222: 	14	35	47	56&lt;br /&gt;
&lt;br /&gt;
														&lt;br /&gt;
1458: 	3	12	30	39	48	57	66													&lt;br /&gt;
&lt;br /&gt;
2637: 	6	15	24	33	43	51	60	69	73											&lt;br /&gt;
&lt;br /&gt;
Sporadic&lt;br /&gt;
&lt;br /&gt;
242: 	67																		&lt;br /&gt;
&lt;br /&gt;
1266: 	53	71																		&lt;br /&gt;
&lt;br /&gt;
3661: 	63&lt;br /&gt;
&lt;br /&gt;
49 appears to be in the wrong place, but the 49-sequence is equal to the 7-sequence as far as position 19.&lt;br /&gt;
																	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Length 854:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;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;br /&gt;
Also &amp;lt;math&amp;gt;x_{11n} = -x_n&amp;lt;/math&amp;gt; (which was not forced by constraint). The subsequences group as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	13	16	19	22	25	27	31	34	40	42	46	52	55	58	64&lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	11	17	20	21	23	26	29	32	38	41	44	50	54	59	62	65&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
809:	18	37	45&lt;br /&gt;
&lt;br /&gt;
3286:	9	36&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	28	49&lt;br /&gt;
&lt;br /&gt;
3222:	14	35	47	56&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	39	48	57&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	33	43	51	60	63&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1266:	53&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Length 688:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;br /&gt;
 +---++-+--+++---+-++-++--+--++&lt;br /&gt;
 ---++--+-++-+-+++----+++-+-++&lt;br /&gt;
&lt;br /&gt;
This also satisfies &amp;lt;math&amp;gt;x_{7n} = -x_{11n}&amp;lt;/math&amp;gt; which is interesting because it was not an original constraint.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The subsequences seem to group as follows (initial numbers are binary coded versions of the first part of each subsequence, the paired sequences are negatives of each other):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	16	19	25	31	34	40	46  &lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	17	20	23	32	38	41	47	50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	13	22	28	33	37	42	49	52	&lt;br /&gt;
&lt;br /&gt;
3222:	11	14	21	26	29	35	39	44&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	48&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	43	51					&lt;br /&gt;
					&lt;br /&gt;
&lt;br /&gt;
1833:	18	27	45							&lt;br /&gt;
&lt;br /&gt;
2262:	9	36&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2618</id>
		<title>T m(x) = (+/-)T n(x)</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2618"/>
		<updated>2010-01-11T18:57:32Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Analysis of 974 sequence&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This sequence, of length 974, satisfies the following relations exactly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{2n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{5n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{13n} = -x_{11n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;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;br /&gt;
 -+-++-+---++-+--+--+-++-++--+-&lt;br /&gt;
 ++--++-+-+-+-++&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As with the length 854 sequence &amp;lt;math&amp;gt;x_{11n} = -x_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
617: 	1	4	10	13	16	19	22	25	27	31	34	40	42	46	52	55	58	64	&lt;br /&gt;
&lt;br /&gt;
3478: 	2	5	8	11	17	20	21	23	26	29	32	38	41	44	50	54	59	62	65	68&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
809: 	18	37	45	61	72															&lt;br /&gt;
&lt;br /&gt;
3286: 	9	36	74	&lt;br /&gt;
&lt;br /&gt;
																&lt;br /&gt;
873: 	7	28	49	70																&lt;br /&gt;
&lt;br /&gt;
3222: 	14	35	47	56&lt;br /&gt;
&lt;br /&gt;
														&lt;br /&gt;
1458: 	3	12	30	39	48	57	66													&lt;br /&gt;
&lt;br /&gt;
2637: 	6	15	24	33	43	51	60	69	73											&lt;br /&gt;
&lt;br /&gt;
Sporadic&lt;br /&gt;
&lt;br /&gt;
242: 	67																		&lt;br /&gt;
&lt;br /&gt;
1266: 	53	71																		&lt;br /&gt;
&lt;br /&gt;
3661: 	63&lt;br /&gt;
&lt;br /&gt;
49 appears to be in the wrong place, but the 49-sequence is equal to the 7-sequence as far as position 19.&lt;br /&gt;
																	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Length 854:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;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;br /&gt;
Also &amp;lt;math&amp;gt;x_{11n} = -x_n&amp;lt;/math&amp;gt; (which was not forced by constraint). The subsequences group as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	13	16	19	22	25	27	31	34	40	42	46	52	55	58	64&lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	11	17	20	21	23	26	29	32	38	41	44	50	54	59	62	65&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
809:	18	37	45&lt;br /&gt;
&lt;br /&gt;
3286:	9	36&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	28	49&lt;br /&gt;
&lt;br /&gt;
3222:	14	35	47	56&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	39	48	57&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	33	43	51	60	63&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1266:	53&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Length 688:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;br /&gt;
 +---++-+--+++---+-++-++--+--++&lt;br /&gt;
 ---++--+-++-+-+++----+++-+-++&lt;br /&gt;
&lt;br /&gt;
This also satisfies &amp;lt;math&amp;gt;x_{7n} = -x_{11n}&amp;lt;/math&amp;gt; which is interesting because it was not an original constraint.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The subsequences seem to group as follows (initial numbers are binary coded versions of the first part of each subsequence, the paired sequences are negatives of each other):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	16	19	25	31	34	40	46  &lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	17	20	23	32	38	41	47	50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	13	22	28	33	37	42	49	52	&lt;br /&gt;
&lt;br /&gt;
3222:	11	14	21	26	29	35	39	44&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	48&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	43	51					&lt;br /&gt;
					&lt;br /&gt;
&lt;br /&gt;
1833:	18	27	45							&lt;br /&gt;
&lt;br /&gt;
2262:	9	36&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2605</id>
		<title>Talk:T m(x) = (+/-)T n(x)</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2605"/>
		<updated>2010-01-11T17:14:51Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: New page: The cases Tm(x)=±Tn(x)=±x and C=2 are providing some interesting structure when the values of m and n are primes (2 and 5 were a good choice, and 11 and 13 got added to the mix). It is a...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The cases Tm(x)=±Tn(x)=±x and C=2 are providing some interesting structure when the values of m and n are primes (2 and 5 were a good choice, and 11 and 13 got added to the mix). It is also possible to add other constraints of the form Tr(x)=±Ts(x) for primes r and s. What seems to happen is that the values on Tp(x) for other (unconstrained) primes adapt themselves to make the sequence work. So with the example sequence of length 854 this happens for the primes 3 and 7. It would be interesting to understand what would make a good set of primes to constrain, and whether there is any reason that particular choices of sign work well.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2577</id>
		<title>T m(x) = (+/-)T n(x)</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2577"/>
		<updated>2010-01-11T08:19:08Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Subsequence analysis of sequence length 854&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This sequence, of length 854, satisfies the following relations exactly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{2n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{5n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{13n} = -x_{11n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;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;br /&gt;
Also &amp;lt;math&amp;gt;x_{11n} = -x_n&amp;lt;/math&amp;gt; (which was not forced by constraint). The subsequences group as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	13	16	19	22	25	27	31	34	40	42	46	52	55	58	64&lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	11	17	20	21	23	26	29	32	38	41	44	50	54	59	62	65&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
809:	18	37	45&lt;br /&gt;
&lt;br /&gt;
3286:	9	36&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	28	49&lt;br /&gt;
&lt;br /&gt;
3222:	14	35	47	56&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	39	48	57&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	33	43	51	60	63&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1266:	53&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Length 688:&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;br /&gt;
 +---++-+--+++---+-++-++--+--++&lt;br /&gt;
 ---++--+-++-+-+++----+++-+-++&lt;br /&gt;
&lt;br /&gt;
This also satisfies &amp;lt;math&amp;gt;x_{7n} = -x_{11n}&amp;lt;/math&amp;gt; which is interesting because it was not an original constraint.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The subsequences seem to group as follows (initial numbers are binary coded versions of the first part of each subsequence, the paired sequences are negatives of each other):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	16	19	25	31	34	40	46  &lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	17	20	23	32	38	41	47	50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	13	22	28	33	37	42	49	52	&lt;br /&gt;
&lt;br /&gt;
3222:	11	14	21	26	29	35	39	44&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	48&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	43	51					&lt;br /&gt;
					&lt;br /&gt;
&lt;br /&gt;
1833:	18	27	45							&lt;br /&gt;
&lt;br /&gt;
2262:	9	36&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2574</id>
		<title>T m(x) = (+/-)T n(x)</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=T_m(x)_%3D_(%2B/-)T_n(x)&amp;diff=2574"/>
		<updated>2010-01-11T05:29:11Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This sequence, of length 688, satisfies the following relations exactly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{2n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{5n} = -x_n&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;x_{13n} = -x_{11n}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 0+--+-++--+--+-++-++--+-++-++-&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;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;br /&gt;
 +---++-+--+++---+-++-++--+--++&lt;br /&gt;
 ---++--+-++-+-+++----+++-+-++&lt;br /&gt;
&lt;br /&gt;
This also satisfies &amp;lt;math&amp;gt;x_{7n} = -x_{11n}&amp;lt;/math&amp;gt; which is interesting because it was not an original constraint.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The subsequences seem to group as follows (initial numbers are binary coded versions of the first part of each subsequence, the paired sequences are negatives of each other):&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
617:	1	4	10	16	19	25	31	34	40	46  &lt;br /&gt;
&lt;br /&gt;
3478:	2	5	8	17	20	23	32	38	41	47	50&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
873:	7	13	22	28	33	37	42	49	52	&lt;br /&gt;
&lt;br /&gt;
3222:	11	14	21	26	29	35	39	44&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1458:	3	12	30	48&lt;br /&gt;
&lt;br /&gt;
2637:	6	15	24	43	51					&lt;br /&gt;
					&lt;br /&gt;
&lt;br /&gt;
1833:	18	27	45							&lt;br /&gt;
&lt;br /&gt;
2262:	9	36&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2565</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2565"/>
		<updated>2010-01-10T22:38:46Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
* [http://thomas1111.wordpress.com/2010/01/10/tables-for-a-c10-candidate/ A sequence of length 407] with discrepancy 2 such that &amp;lt;math&amp;gt;x_n=x_{32 n}&amp;lt;/math&amp;gt; for every n. [[The HAP-subsequence structure of that sequence]].&lt;br /&gt;
* More [[T32-invariant sequences]].&lt;br /&gt;
* Long [[multiplicative sequences]].&lt;br /&gt;
* Long sequences satisfying [[T2(x) = -x]].&lt;br /&gt;
* Long sequences satisfying [[T2(x) = T5(x) = -x]]&lt;br /&gt;
* Long sequences satisfying [[T2(x) = -T3(x)]].&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post],   &lt;br /&gt;
DONE, i think.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827] Also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4842 done] (by Mark Bennet).&lt;br /&gt;
*. Take a moderately large k and search for the longest sequence of discrepancy 2 that&#039;s constructed as follows. First, pick a completely multiplicative function f to the group &amp;lt;math&amp;gt;C_{2k}&amp;lt;/math&amp;gt;. Then set &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; to be 1 if f(n) lies between 0 and k-1, and -1 if f(n) lies between k and 2k-1. Alec has already [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4563 done this for k=1] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4734 partially done it for k=3].&lt;br /&gt;
*Search for the longest sequence of discrepancy 2 with the property that &amp;lt;math&amp;gt;x_n=x_{32n}&amp;lt;/math&amp;gt; for every n. The motivation for this is to produce a fundamentally different class of examples (different because their group structure would include an element of order 5). It&#039;s not clear that it will work, since 32 is a fairly large number. However, if you&#039;ve chosen &amp;lt;math&amp;gt;x_{32n}&amp;lt;/math&amp;gt; then that will have some influence on several other choices, such as &amp;lt;math&amp;gt;x_{4n},x_{8n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{16n}&amp;lt;/math&amp;gt;, so maybe it will lead to something interesting.  Alec [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4873 has made a start on this] and an [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4874 initial investigation] suggests that the sequence he has found does indeed have some &amp;lt;math&amp;gt;C_{10}&amp;lt;/math&amp;gt;-related structure. &lt;br /&gt;
*Here&#039;s another experiment that should be pretty easy to program and might yield something interesting. It&#039;s to look at the how the discrepancy appears to grow when you define a sequence using a greedy algorithm. I say &amp;quot;a&amp;quot; greedy algorithm because there are various algorithms that could reasonably be described as greedy. Here are a few.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
1. For each n let &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; be chosen so as to minimize the discrepancy so far, given the choices already made for &amp;lt;math&amp;gt;x_1,\dots,x_{n-1}&amp;lt;/math&amp;gt;. (If this does not uniquely determine &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; then choose it arbitrarily, or randomly, or according to some simple rule like always equalling 1.)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
2. Same as 1 but with additional constraints, in the hope that these make the sequence more likely to be good. For instance, one might insist that &amp;lt;math&amp;gt;x_{2k}=x_{3k}&amp;lt;/math&amp;gt; for every k. Here, when choosing &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; one would probably want to minimize the discrepancy up to &amp;lt;math&amp;gt;x_{n+k}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;x_{n+1},\dots,x_{n+k}&amp;lt;/math&amp;gt; had already been chosen. Another obvious constraint to try is complete multiplicativity.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
3. A greedy algorithm of sorts, but this time trying to minimize a different parameter. The first algorithm will do this: when you pick &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; you look, for each factor d of n, at the partial sum along the multiples of d up to but not including n. This will give you a set A of numbers (the possible partial sums). If max(A) is greater than max(-A) then you set &amp;lt;math&amp;gt;x_n=-1&amp;lt;/math&amp;gt;, if max(-A) is greater than max(A) then you let &amp;lt;math&amp;gt;x_n=1&amp;lt;/math&amp;gt;, and if they are equal then you make the decision according to some rule that seems sensible. But it might be that you would end up with a slower-growing discrepancy if you regarded A as a multiset and made the decision on some other basis. For instance, you could take the sum of &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; over all positive elements &amp;lt;math&amp;gt;k\in A&amp;lt;/math&amp;gt; (with multiplicity) and the sum of &amp;lt;math&amp;gt;2^{-k}&amp;lt;/math&amp;gt; over all negative elements and choose &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; according to which was bigger. Although that wouldn&#039;t minimize the discrepancy at each stage, it might make the sequence better for future development because it wouldn&#039;t sacrifice the needs of an overwhelming majority to those of a few rogue elements.&lt;br /&gt;
&lt;br /&gt;
The motivation for these experiments is to see whether they, or some variants, appear to lead to sublogarithmic growth. If they do, then we could start trying to prove rigorously that sublogarithmic growth is possible. I still think that a function that arises in nature and satisfies f(1124)=2 ought to be sublogarithmic.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*What happens if one applies a backtracking algorithm to try to extend the following discrepancy-2 sequence, which satisfies &amp;lt;math&amp;gt;x_{2n}=-x_n&amp;lt;/math&amp;gt; for every n, to a much longer discrepancy-2 sequence: + - - + - + + - - + + - + - + + - + - - + - - + + - - + + - + - - + - - + + + + - - - + + + - - + - + + - + - - + - ? This question has been answered [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4893 in the comments following the asking of the question on the blog]. &lt;br /&gt;
&lt;br /&gt;
* Investigate what happens if our HAPs are restricted to allow differences divisible only by 2 or 3 [and then other sets of primes including 2] - {2,3,5,7} would be interesting - is there an infinite sequence of discrepancy 2 in these simple cases - is it easy to find an infinite sequence with finite discrepancy in these cases? [for sets of odd primes, take a sequence which is 1 on odd numbers, -1 on even numbers. Including 2 is the non-trivial case]. It is possible that completely multiplicative sequences could be found for some of these cases.&lt;br /&gt;
&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2550</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2550"/>
		<updated>2010-01-10T18:16:12Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
* [http://thomas1111.wordpress.com/2010/01/10/tables-for-a-c10-candidate/ A sequence of length 407] with discrepancy 2 such that &amp;lt;math&amp;gt;x_n=x_{32 n}&amp;lt;/math&amp;gt; for every n. [[The HAP-subsequence structure of that sequence]].&lt;br /&gt;
* More [[T32-invariant sequences]].&lt;br /&gt;
* Long [[multiplicative sequences]].&lt;br /&gt;
* Long sequences satisfying [[T2(x) = -T(x)]]. &amp;lt;em&amp;gt;This should surely say T2(x)=-x, but I don&#039;t seem to be able to change the title of the page.&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post],   &lt;br /&gt;
DONE, i think.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827] Also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4842 done] (by Mark Bennet).&lt;br /&gt;
*. Take a moderately large k and search for the longest sequence of discrepancy 2 that&#039;s constructed as follows. First, pick a completely multiplicative function f to the group &amp;lt;math&amp;gt;C_{2k}&amp;lt;/math&amp;gt;. Then set &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; to be 1 if f(n) lies between 0 and k-1, and -1 if f(n) lies between k and 2k-1. Alec has already [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4563 done this for k=1] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4734 partially done it for k=3].&lt;br /&gt;
*Search for the longest sequence of discrepancy 2 with the property that &amp;lt;math&amp;gt;x_n=x_{32n}&amp;lt;/math&amp;gt; for every n. The motivation for this is to produce a fundamentally different class of examples (different because their group structure would include an element of order 5). It&#039;s not clear that it will work, since 32 is a fairly large number. However, if you&#039;ve chosen &amp;lt;math&amp;gt;x_{32n}&amp;lt;/math&amp;gt; then that will have some influence on several other choices, such as &amp;lt;math&amp;gt;x_{4n},x_{8n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{16n}&amp;lt;/math&amp;gt;, so maybe it will lead to something interesting.  Alec [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4873 has made a start on this] and an [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4874 initial investigation] suggests that the sequence he has found does indeed have some &amp;lt;math&amp;gt;C_{10}&amp;lt;/math&amp;gt;-related structure. &lt;br /&gt;
*Here&#039;s another experiment that should be pretty easy to program and might yield something interesting. It&#039;s to look at the how the discrepancy appears to grow when you define a sequence using a greedy algorithm. I say &amp;quot;a&amp;quot; greedy algorithm because there are various algorithms that could reasonably be described as greedy. Here are a few.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
1. For each n let &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; be chosen so as to minimize the discrepancy so far, given the choices already made for &amp;lt;math&amp;gt;x_1,\dots,x_{n-1}&amp;lt;/math&amp;gt;. (If this does not uniquely determine &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; then choose it arbitrarily, or randomly, or according to some simple rule like always equalling 1.)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
2. Same as 1 but with additional constraints, in the hope that these make the sequence more likely to be good. For instance, one might insist that &amp;lt;math&amp;gt;x_{2k}=x_{3k}&amp;lt;/math&amp;gt; for every k. Here, when choosing &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; one would probably want to minimize the discrepancy up to &amp;lt;math&amp;gt;x_{n+k}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;x_{n+1},\dots,x_{n+k}&amp;lt;/math&amp;gt; had already been chosen. Another obvious constraint to try is complete multiplicativity.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
3. A greedy algorithm of sorts, but this time trying to minimize a different parameter. The first algorithm will do this: when you pick &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; you look, for each factor d of n, at the partial sum along the multiples of d up to but not including n. This will give you a set A of numbers (the possible partial sums). If max(A) is greater than max(-A) then you set &amp;lt;math&amp;gt;x_n=-1&amp;lt;/math&amp;gt;, if max(-A) is greater than max(A) then you let &amp;lt;math&amp;gt;x_n=1&amp;lt;/math&amp;gt;, and if they are equal then you make the decision according to some rule that seems sensible. But it might be that you would end up with a slower-growing discrepancy if you regarded A as a multiset and made the decision on some other basis. For instance, you could take the sum of &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; over all positive elements &amp;lt;math&amp;gt;k\in A&amp;lt;/math&amp;gt; (with multiplicity) and the sum of &amp;lt;math&amp;gt;2^{-k}&amp;lt;/math&amp;gt; over all negative elements and choose &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; according to which was bigger. Although that wouldn&#039;t minimize the discrepancy at each stage, it might make the sequence better for future development because it wouldn&#039;t sacrifice the needs of an overwhelming majority to those of a few rogue elements.&lt;br /&gt;
&lt;br /&gt;
The motivation for these experiments is to see whether they, or some variants, appear to lead to sublogarithmic growth. If they do, then we could start trying to prove rigorously that sublogarithmic growth is possible. I still think that a function that arises in nature and satisfies f(1124)=2 ought to be sublogarithmic.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*What happens if one applies a backtracking algorithm to try to extend the following discrepancy-2 sequence, which satisfies &amp;lt;math&amp;gt;x_{2n}=-x_n&amp;lt;/math&amp;gt; for every n, to a much longer discrepancy-2 sequence: + - - + - + + - - + + - + - + + - + - - + - - + + - - + + - + - - + - - + + + + - - - + + + - - + - + + - + - - + - ?&lt;br /&gt;
&lt;br /&gt;
* Investigate what happens if our HAPs are restricted to allow differences divisible only by 2 or 3 [and then other sets of primes including 2] - {2,3,5,7} would be interesting - is there an infinite sequence of discrepancy 2 in these simple cases - is it easy to find an infinite sequence with finite discrepancy in these cases? [for sets of odd primes, take a sequence which is 1 on odd numbers, -1 on even numbers, including 2 is the non-trivial case]&lt;br /&gt;
&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2549</id>
		<title>Experimental results</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Experimental_results&amp;diff=2549"/>
		<updated>2010-01-10T18:15:23Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: An additional wish for investigation of finite sets of primes including 2&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To return to the main Polymath5 page, click [[The Erd&amp;amp;#337;s discrepancy problem|here]].&lt;br /&gt;
 &lt;br /&gt;
Perhaps we should have two kinds of subpages to this page: Pages about finding examples, and pages about analyzing them?&lt;br /&gt;
&lt;br /&gt;
== Experimental data==&lt;br /&gt;
* [[The first 1124-sequence]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Other [[length 1124 sequences]] with discrepancy 2. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Some data about the problem with [[different upper and lower bound]]. &#039;&#039;Some more description&#039;&#039;&lt;br /&gt;
* Sequences taking values in &amp;lt;math&amp;gt;\mathbb{T}&amp;lt;/math&amp;gt;:&lt;br /&gt;
** [[4th roots of unity]]&lt;br /&gt;
** [[6th roots of unity]]&lt;br /&gt;
* [http://thomas1111.wordpress.com/2010/01/10/tables-for-a-c10-candidate/ A sequence of length 407] with discrepancy 2 such that &amp;lt;math&amp;gt;x_n=x_{32 n}&amp;lt;/math&amp;gt; for every n. [[The HAP-subsequence structure of that sequence]].&lt;br /&gt;
* More [[T32-invariant sequences]].&lt;br /&gt;
* Long [[multiplicative sequences]].&lt;br /&gt;
* Long sequences satisfying [[T2(x) = -T(x)]]. &amp;lt;em&amp;gt;This should surely say T2(x)=-x, but I don&#039;t seem to be able to change the title of the page.&amp;lt;/em&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Wish list==&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
* What is the discrepancy of the sequence defined in [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/ this post],   &lt;br /&gt;
DONE, i think.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
* Find long/longest quasi-multiplicative sequences with some fixed group G, function &amp;lt;math&amp;gt;G\to \{-1,1\}&amp;lt;/math&amp;gt; and maximal discrepancy C&lt;br /&gt;
** &amp;lt;math&amp;gt;G=C_6&amp;lt;/math&amp;gt; and the function that sends 0,1 and 2 to 1 (because this seems to be a good choice)&lt;br /&gt;
* Do a &amp;quot;Mark-Bennet-style analysis&amp;quot; of one of the new 1124-sequences. [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4827] Also [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4842 done] (by Mark Bennet).&lt;br /&gt;
*. Take a moderately large k and search for the longest sequence of discrepancy 2 that&#039;s constructed as follows. First, pick a completely multiplicative function f to the group &amp;lt;math&amp;gt;C_{2k}&amp;lt;/math&amp;gt;. Then set &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; to be 1 if f(n) lies between 0 and k-1, and -1 if f(n) lies between k and 2k-1. Alec has already [http://gowers.wordpress.com/2009/12/17/erdoss-discrepancy-problem/#comment-4563 done this for k=1] and [http://gowers.wordpress.com/2010/01/06/erdss-discrepancy-problem-as-a-forthcoming-polymath-project/#comment-4734 partially done it for k=3].&lt;br /&gt;
*Search for the longest sequence of discrepancy 2 with the property that &amp;lt;math&amp;gt;x_n=x_{32n}&amp;lt;/math&amp;gt; for every n. The motivation for this is to produce a fundamentally different class of examples (different because their group structure would include an element of order 5). It&#039;s not clear that it will work, since 32 is a fairly large number. However, if you&#039;ve chosen &amp;lt;math&amp;gt;x_{32n}&amp;lt;/math&amp;gt; then that will have some influence on several other choices, such as &amp;lt;math&amp;gt;x_{4n},x_{8n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{16n}&amp;lt;/math&amp;gt;, so maybe it will lead to something interesting.  Alec [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4873 has made a start on this] and an [http://gowers.wordpress.com/2010/01/09/erds-discrepancy-problem-continued/#comment-4874 initial investigation] suggests that the sequence he has found does indeed have some &amp;lt;math&amp;gt;C_{10}&amp;lt;/math&amp;gt;-related structure. &lt;br /&gt;
*Here&#039;s another experiment that should be pretty easy to program and might yield something interesting. It&#039;s to look at the how the discrepancy appears to grow when you define a sequence using a greedy algorithm. I say &amp;quot;a&amp;quot; greedy algorithm because there are various algorithms that could reasonably be described as greedy. Here are a few.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
1. For each n let &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; be chosen so as to minimize the discrepancy so far, given the choices already made for &amp;lt;math&amp;gt;x_1,\dots,x_{n-1}&amp;lt;/math&amp;gt;. (If this does not uniquely determine &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; then choose it arbitrarily, or randomly, or according to some simple rule like always equalling 1.)&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
2. Same as 1 but with additional constraints, in the hope that these make the sequence more likely to be good. For instance, one might insist that &amp;lt;math&amp;gt;x_{2k}=x_{3k}&amp;lt;/math&amp;gt; for every k. Here, when choosing &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; one would probably want to minimize the discrepancy up to &amp;lt;math&amp;gt;x_{n+k}&amp;lt;/math&amp;gt; if &amp;lt;math&amp;gt;x_{n+1},\dots,x_{n+k}&amp;lt;/math&amp;gt; had already been chosen. Another obvious constraint to try is complete multiplicativity.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
3. A greedy algorithm of sorts, but this time trying to minimize a different parameter. The first algorithm will do this: when you pick &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; you look, for each factor d of n, at the partial sum along the multiples of d up to but not including n. This will give you a set A of numbers (the possible partial sums). If max(A) is greater than max(-A) then you set &amp;lt;math&amp;gt;x_n=-1&amp;lt;/math&amp;gt;, if max(-A) is greater than max(A) then you let &amp;lt;math&amp;gt;x_n=1&amp;lt;/math&amp;gt;, and if they are equal then you make the decision according to some rule that seems sensible. But it might be that you would end up with a slower-growing discrepancy if you regarded A as a multiset and made the decision on some other basis. For instance, you could take the sum of &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; over all positive elements &amp;lt;math&amp;gt;k\in A&amp;lt;/math&amp;gt; (with multiplicity) and the sum of &amp;lt;math&amp;gt;2^{-k}&amp;lt;/math&amp;gt; over all negative elements and choose &amp;lt;math&amp;gt;x_n&amp;lt;/math&amp;gt; according to which was bigger. Although that wouldn&#039;t minimize the discrepancy at each stage, it might make the sequence better for future development because it wouldn&#039;t sacrifice the needs of an overwhelming majority to those of a few rogue elements.&lt;br /&gt;
&lt;br /&gt;
The motivation for these experiments is to see whether they, or some variants, appear to lead to sublogarithmic growth. If they do, then we could start trying to prove rigorously that sublogarithmic growth is possible. I still think that a function that arises in nature and satisfies f(1124)=2 ought to be sublogarithmic.&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*What happens if one applies a backtracking algorithm to try to extend the following discrepancy-2 sequence, which satisfies &amp;lt;math&amp;gt;x_{2n}=-x_n&amp;lt;/math&amp;gt; for every n, to a much longer discrepancy-2 sequence: + - - + - + + - - + + - + - + + - + - - + - - + + - - + + - + - - + - - + + + + - - - + + + - - + - + + - + - - + - ?&lt;br /&gt;
&lt;br /&gt;
4. Investigate what happens if our HAPs are restricted to allow differences divisible only by 2 or 3 [and then other sets of primes including 2] - {2,3,5,7} would be interesting - is there an infinite sequence of discrepancy 2 in these simple cases - is it easy to find an infinite sequence with finite discrepancy in these cases? [for sets of odd primes, take a sequence which is 1 on odd numbers, -1 on even numbers, including 2 is the non-trivial case]&lt;br /&gt;
&lt;br /&gt;
* ... you are welcome to add more.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Kolmogorov_complexity&amp;diff=2206</id>
		<title>Talk:Kolmogorov complexity</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Kolmogorov_complexity&amp;diff=2206"/>
		<updated>2009-08-04T20:44:31Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: New page: Simple observation. As with algorithms for compressing files for data transmission, there may be a number of different ways of setting up a Turing Machine to do the job, and different mach...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Simple observation. As with algorithms for compressing files for data transmission, there may be a number of different ways of setting up a Turing Machine to do the job, and different machines may give different sets of simple/complex numbers. But in order to specify, one has then to identify and describe the Turing Machine which is being invoked, and this reduces the efficiency of the process.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Imo_2009_q6&amp;diff=2014</id>
		<title>Talk:Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Imo_2009_q6&amp;diff=2014"/>
		<updated>2009-07-25T17:18:43Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: Adding reference to proof #5&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The approach adopted in proof #1 is &#039;let&#039;s make as much progress as possible, and then show that we can do an extra step&#039;. It introduces an observation fundamental to a number of successful strategies- that if I can pass k mines in k leaps (with k&amp;gt;0), I have only n-k-1 mines left to jump and n-k leaps to do it. So if I can do smaller problem, I can do this one - which sets up an induction. In proof #1 this is used to provide constraints on an impossible minefield, and then the number of options available for paths is shown to overwhelm the constraints. This is the most sophisticated proof so far, in that it does not give the longest leap a special status. It looks set up to deal with more challenging generalisations of the problem.&lt;br /&gt;
&lt;br /&gt;
Proof #2 uses a greedy approach - try to make the longest leap. Case 4 of proof #2 is akin to the approach in proof #1, though it is set up differently. The description of the approach in proof #2 suggests that there are essentially two cases to deal with (though the trivial case where the induction works might be considered a third) and proof #3 gives a two case approach which was discovered by programming proof #2 and being careful over the details which is set out here [http://www.erisian.com.au/wordpress/2009/07/23/solving-hard-maths-olympiad-problems].&lt;br /&gt;
&lt;br /&gt;
The discussion on the Mathlinks Math Forum here [http://www.mathlinks.ro/Forum/viewtopic.php?t=289051] has another proof a bit similar to #2 where the inductive step is to remove the mine closest to the beginning (the proof by qwerty414 as stated has it at the end) and to look at two cases: the first where doing the longest leap first lands on one of the remaining mines, and the second where it doesn&#039;t. An &#039;end&#039; version of this now appears as proof #5 (which is very similar to proof #4).&lt;br /&gt;
&lt;br /&gt;
Proof #2 has a &#039;working from both ends&#039; feel - the dual approach in proof #4 uses the inductive hypothesis to get as far as possible without using the longest leap, and this automatically collapses cases 2.2 and 3 of proof #2. What can go wrong? Well we can land on the last mine (we know we can dodge all but one) - and we swap in the longest leap to clear it, or we land on a mine with the last leap and still have some to clear - in which case the counting argument of proof #2 case 4 is used.&lt;br /&gt;
&lt;br /&gt;
Useful counterexamples to false proofs can be constructed by putting all the mines together in some part of the minefield. For the jump set {1,2 ... n} this forces the longest leap, so the proof needs to make sure that the longest leap is available at this point. It is also possible to mine all but one of the possible first leaps (or last ones).&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Imo_2009_q6&amp;diff=2004</id>
		<title>Talk:Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Imo_2009_q6&amp;diff=2004"/>
		<updated>2009-07-24T08:56:43Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The approach adopted in proof #1 is &#039;let&#039;s make as much progress as possible, and then show that we can do an extra step&#039;. It introduces an observation fundamental to a number of successful strategies- that if I can pass k mines in k leaps (with k&amp;gt;0), I have only n-k-1 mines left to jump and n-k leaps to do it. So if I can do smaller problem, I can do this one - which sets up an induction. In proof #1 this is used to provide constraints on an impossible minefield, and then the number of options available for paths is shown to overwhelm the constraints. This is the most sophisticated proof so far, in that it does not give the longest leap a special status. It looks set up to deal with more challenging generalisations of the problem.&lt;br /&gt;
&lt;br /&gt;
Proof #2 uses a greedy approach - try to make the longest leap. Case 4 of proof #2 is akin to the approach in proof #1, though it is set up differently. The description of the approach in proof #2 suggests that there are essentially two cases to deal with (though the trivial case where the induction works might be considered a third) and proof #3 gives a two case approach which was discovered by programming proof #2 and being careful over the details which is set out here [http://www.erisian.com.au/wordpress/2009/07/23/solving-hard-maths-olympiad-problems].&lt;br /&gt;
&lt;br /&gt;
The discussion on the Mathlinks Math Forum here [http://www.mathlinks.ro/Forum/viewtopic.php?t=289051] has another proof a bit similar to #2 where the inductive step is to remove the mine closest to the beginning (the proof by qwerty414 as stated has it at the end) and to look at two cases: the first where doing the longest leap first lands on one of the remaining mines, and the second where it doesn&#039;t.&lt;br /&gt;
&lt;br /&gt;
Proof #2 has a &#039;working from both ends&#039; feel - the dual approach in proof #4 uses the inductive hypothesis to get as far as possible without using the longest leap, and this automatically collapses cases 2.2 and 3 of proof #2. What can go wrong? Well we can land on the last mine (we know we can dodge all but one) - and we swap in the longest leap to clear it, or we land on a mine with the last leap and still have some to clear - in which case the counting argument of proof #2 case 4 is used.&lt;br /&gt;
&lt;br /&gt;
Useful counterexamples to false proofs can be constructed by putting all the mines together in some part of the minefield. For the jump set {1,2 ... n} this forces the longest leap, so the proof needs to make sure that the longest leap is available at this point. It is also possible to mine all but one of the possible first leaps (or last ones).&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Talk:Imo_2009_q6&amp;diff=1986</id>
		<title>Talk:Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Talk:Imo_2009_q6&amp;diff=1986"/>
		<updated>2009-07-23T08:36:10Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: New page: It seems to me that proof #1 says &amp;#039;let&amp;#039;s make as much progress as possible&amp;#039;, and by working with sets of partial paths extends the counting approach used in proof #2 case 4 to do more work...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;It seems to me that proof #1 says &#039;let&#039;s make as much progress as possible&#039;, and by working with sets of partial paths extends the counting approach used in proof #2 case 4 to do more work. It might generalise more easily eg in more dimensions, where the blocking sets might be more complex, and working back from the end might not be so easy to achieve nicely. Proof #2 has been converted into an algorithm and programmed in Mathematica (unchecked by me) [http://pastebin.com/f13130032] by jc, whereas proof #1 is non constructive. Proof #1 gives no special status to the longest leap.&lt;br /&gt;
&lt;br /&gt;
The discussion on the Mathlinks Math Forum here [http://www.mathlinks.ro/Forum/viewtopic.php?t=289051] has another proof a bit similar to #2 where the inductive step is to remove the mine closest to the beginning (the proof by qwerty414 as stated has it at the end) and to look at two cases: the first where doing the longest leap first lands on one of the remaining mines, and the second where it doesn&#039;t. This seems to reduce the number of cases, but the argument is not quite so straightforward.&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1982</id>
		<title>Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1982"/>
		<updated>2009-07-23T06:59:40Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Notation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The International Mathematical Olympiad (IMO) consists of a set of six problems, to be solved in two sessions of four and a half hours each.  Traditionally, the last problem (Problem 6) is significantly harder than the others.  Problem 6 of the 2009 IMO, which was given out on July 16, reads as follows:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem 6&#039;&#039;&#039;. Let &amp;lt;math&amp;gt;a_1, a_2, \ldots, a_n&amp;lt;/math&amp;gt; be distinct positive integers and let M be a set of &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; positive integers not containing &amp;lt;math&amp;gt;s = a_1 +a_2 +\ldots+a_n&amp;lt;/math&amp;gt;. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths &amp;lt;math&amp;gt;a_1, a_2, \ldots , a_n&amp;lt;/math&amp;gt; in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M.&lt;br /&gt;
&lt;br /&gt;
A collaborative effort to study this problem was formed [http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project/ here], and continued [http://terrytao.wordpress.com/2009/07/21/imo-2009-q6-mini-polymath-project-cont/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, for instance proofs of this problem.&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Elements of M will be referred to as &amp;quot;landmines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We say that an integer m can be &#039;&#039;safely reached in k steps&#039;&#039; if there exist distinct &amp;lt;math&amp;gt;b_1,\ldots,b_k \in \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;m = b_1+\ldots+b_k&amp;lt;/math&amp;gt; and if none of the partial sums &amp;lt;math&amp;gt;b_1+\ldots+b_i&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;1 \leq i \leq k &amp;lt;/math&amp;gt; is a landmine.  Thus, our objective is to show that one can safely reach &amp;lt;math&amp;gt;a_1+\ldots+a_n&amp;lt;/math&amp;gt; in n steps.&lt;br /&gt;
&lt;br /&gt;
In proof 2 I have used &#039;mines&#039;. I refer to the possibilities for the grasshopper as leaps, and to the actual components of a path through the minefield as jumps. So the longest leap can be the first or second or third jump (etc). I refer to an unmined space as a &#039;clear space&#039;. Please feel free to suggest better terms/edit for consistency.&lt;br /&gt;
&lt;br /&gt;
== Proof #1 ==&lt;br /&gt;
&lt;br /&gt;
We induct on n, assuming that $latex n &amp;gt; 2$ and that the claim has already been proven for smaller n.&lt;br /&gt;
&lt;br /&gt;
Observe that if one can pass k or more mines safely in k steps for some &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;, then we are done by induction hypothesis (removing the steps &amp;lt;math&amp;gt;b_1,\ldots,b_k&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;, and shifting the remaining mines leftwards by &amp;lt;math&amp;gt;b_1+\ldots+b_k&amp;lt;/math&amp;gt;, reducing n by k, and adding dummy mines if necessary.  Thus we may assume that it is not possible to pass k or more mines safely in k steps for any &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;.  We will refer to this assumption as &#039;&#039;&#039;Assumption A&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; denote the set of integers formed by summing j distinct elements from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;.  Thus for instance &amp;lt;math&amp;gt;S_1 = \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;S_2 = \{a_i+a_{i&#039;}: 1 \leq i &amp;lt; i&#039; \leq n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;S_n = \{a_1+\ldots+a_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We say that the grasshopper is &#039;&#039;immune to order j&#039;&#039; for some &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt; if for every distinct &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j&#039; \leq j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;} \not \in M&amp;lt;/math&amp;gt;, the grasshopper can safely reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;}&amp;lt;/math&amp;gt; in j&#039; steps, using a permutation of &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt;.  In particular this implies that every integer in &amp;lt;math&amp;gt;S_j \backslash M&amp;lt;/math&amp;gt; can be safely reached in j steps.  Clearly the grasshopper is immune to order 1; it will suffice to show that the grasshopper is immune to order n.&lt;br /&gt;
&lt;br /&gt;
We use induction.  Let &amp;lt;math&amp;gt;1 \leq j &amp;lt; n&amp;lt;/math&amp;gt;, and suppose that the grasshopper is already known to be immune to order 1.  We now show that it is immune to order j+1.&lt;br /&gt;
&lt;br /&gt;
First suppose that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at most j.  Then the claim is easy, because to reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1} \in S_{j+1} \backslash M&amp;lt;/math&amp;gt; in j+1 steps using a permutation of &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1}&amp;lt;/math&amp;gt;, there are j+1 points in &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; that one could potentially use.  At most j of these lie in M, so there is one that does not lie in M.  By induction hypothesis, the grasshopper can reach that point safely in j steps, and can thus reach the original point in j+1 steps, as required.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at least j+1.  Then, by Assumption A, we cannot pass &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; safely in j+1 or fewer steps.  In particular, we cannot safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps for any &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Let I be the set of all &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; is not in M.  Since &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; already uses up at least j+1 of the points in M, I cannot be empty.  For each i in I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; must lie in M, otherwise we could safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps by Assumption A.  Similarly, if i is the smallest element of I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n - a_m&amp;lt;/math&amp;gt; must lie in M for any m equal to either i or n-j+1,...,n-1.  But this forces M to contain n distinct elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== Proof #2 ==&lt;br /&gt;
&lt;br /&gt;
This is a version of Brumm’s proof with inspiration from Curioso.&lt;br /&gt;
It is another induction, assuming we can deal with n-1 mines in n leaps, and extending to the case with n mines and n+1 leaps.&lt;br /&gt;
This is an attempt at a write-up with minimal technicality - it is therefore a little wordy.&lt;br /&gt;
The basic strategy is to try to make the longest leap and see what might go wrong.&lt;br /&gt;
It turns out that there are two things.&lt;br /&gt;
&lt;br /&gt;
First, we might not jump any mines at all (but perhaps landing on a mine), so our inductive hypothesis has to deal with too many mines.&lt;br /&gt;
In fact we can deal with all but one of the mines. We start from the far end and trace a path backwards, keeping the longest leap in reserve, and knowing that all the mines are in the range of the remaining leaps, because we didn&#039;t jump any with the longest leap. We can arrange for the mine we can&#039;t pass to be the one the one closest to the beginning and then swap in the longest leap to make sure we can jump this one as well.&lt;br /&gt;
&lt;br /&gt;
Second, we might land on a mine and jump some too. The mines we jump might get in the way of shorter leaps.&lt;br /&gt;
It turns out that we can always find two leaps, with the longest leap as the second jump, taking us beyond at least two mines and the induction goes through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PROOF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We can trivially negotiate zero mines with one leap (the case n=1).&lt;br /&gt;
&lt;br /&gt;
We assume that, provided the last place is clear, that we can deal with (n-1) or fewer mines in n leaps, and we want to show that we can deal with n mines in (n+1) leaps.&lt;br /&gt;
&lt;br /&gt;
We try to make the longest leap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 1: If the longest leap carries us to a clear space (no mine) and jumps at least one mine, we are left with n leaps and at most (n-1) mines, which we can do by hypothesis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 2: If the longest leap carries us to a clear space, but doesn’t jump a mine, we work from the other end of the minefield. If we remove the mine closest to the beginning we have (n-1) mines left, and we know that we can negotiate all of these with the n leaps other than the largest (we ignore the blank spaces covered by the largest leap at the beginning).&lt;br /&gt;
&lt;br /&gt;
Case 2.1: If this arrangement also avoids the mine we removed, we are done. &lt;br /&gt;
&lt;br /&gt;
Case 2.2: If it doesn’t – working from the far end – take the leap which lands on this mine, and replace it by the longest leap, which is longer, and therefore jumps us clear of the mine. There are no mines closer to the beginning than this, so we use any remaining leaps to take us to the beginning and we have a path through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 3: If the longest leap lands on a mine but doesn’t jump any mines, this is similar to case 2.2 – this mine is the closest one to the beginning. We can find a path from the far end which lands only on this mine (by hypothesis - jumping the remaining n-1 mines with n leaps). We look at the leap which takes us there, and swap it with the longest leap to jump clear of it, while the swapped leap takes us to the beginning, and we have our path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 4: In this case the longest leap lands on a mine and jumps one or more mines. &lt;br /&gt;
Following brumm’s notation, assume the longest leap jumps f of the mines, with f at least 1.&lt;br /&gt;
We have accounted for f+1 mines (including the one we landed on). So there are (n-f-1) mines out of range of the longest leap.&lt;br /&gt;
Observe that there are n other possible leaps from the beginning, all different and shorter than the longest leap, and there are at most f mines in this range to hit, so there are at least (n-f) possible initial leaps which don’t hit a mine.&lt;br /&gt;
For each of those (n-f) possible first leaps, try following with the longest leap, which definitely takes us beyond the first f+1 mines. This gives us (n-f) double jumps of different lengths, but there are just (n-f-1) mines we might hit, so one of these double jumps lands clear.&lt;br /&gt;
This double jump passes at least two mines. So the remaining (n-1) jumps are available to negotiate at most (n-2) mines, and we are done.&lt;br /&gt;
&lt;br /&gt;
== Proof #3 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1981</id>
		<title>Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1981"/>
		<updated>2009-07-23T06:53:38Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Proof #2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The International Mathematical Olympiad (IMO) consists of a set of six problems, to be solved in two sessions of four and a half hours each.  Traditionally, the last problem (Problem 6) is significantly harder than the others.  Problem 6 of the 2009 IMO, which was given out on July 16, reads as follows:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem 6&#039;&#039;&#039;. Let &amp;lt;math&amp;gt;a_1, a_2, \ldots, a_n&amp;lt;/math&amp;gt; be distinct positive integers and let M be a set of &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; positive integers not containing &amp;lt;math&amp;gt;s = a_1 +a_2 +\ldots+a_n&amp;lt;/math&amp;gt;. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths &amp;lt;math&amp;gt;a_1, a_2, \ldots , a_n&amp;lt;/math&amp;gt; in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M.&lt;br /&gt;
&lt;br /&gt;
A collaborative effort to study this problem was formed [http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project/ here], and continued [http://terrytao.wordpress.com/2009/07/21/imo-2009-q6-mini-polymath-project-cont/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, for instance proofs of this problem.&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Elements of M will be referred to as &amp;quot;landmines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We say that an integer m can be &#039;&#039;safely reached in k steps&#039;&#039; if there exist distinct &amp;lt;math&amp;gt;b_1,\ldots,b_k \in \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;m = b_1+\ldots+b_k&amp;lt;/math&amp;gt; and if none of the partial sums &amp;lt;math&amp;gt;b_1+\ldots+b_i&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;1 \leq i \leq k &amp;lt;/math&amp;gt; is a landmine.  Thus, our objective is to show that one can safely reach &amp;lt;math&amp;gt;a_1+\ldots+a_n&amp;lt;/math&amp;gt; in n steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof #1 ==&lt;br /&gt;
&lt;br /&gt;
We induct on n, assuming that $latex n &amp;gt; 2$ and that the claim has already been proven for smaller n.&lt;br /&gt;
&lt;br /&gt;
Observe that if one can pass k or more mines safely in k steps for some &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;, then we are done by induction hypothesis (removing the steps &amp;lt;math&amp;gt;b_1,\ldots,b_k&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;, and shifting the remaining mines leftwards by &amp;lt;math&amp;gt;b_1+\ldots+b_k&amp;lt;/math&amp;gt;, reducing n by k, and adding dummy mines if necessary.  Thus we may assume that it is not possible to pass k or more mines safely in k steps for any &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;.  We will refer to this assumption as &#039;&#039;&#039;Assumption A&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; denote the set of integers formed by summing j distinct elements from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;.  Thus for instance &amp;lt;math&amp;gt;S_1 = \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;S_2 = \{a_i+a_{i&#039;}: 1 \leq i &amp;lt; i&#039; \leq n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;S_n = \{a_1+\ldots+a_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We say that the grasshopper is &#039;&#039;immune to order j&#039;&#039; for some &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt; if for every distinct &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j&#039; \leq j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;} \not \in M&amp;lt;/math&amp;gt;, the grasshopper can safely reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;}&amp;lt;/math&amp;gt; in j&#039; steps, using a permutation of &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt;.  In particular this implies that every integer in &amp;lt;math&amp;gt;S_j \backslash M&amp;lt;/math&amp;gt; can be safely reached in j steps.  Clearly the grasshopper is immune to order 1; it will suffice to show that the grasshopper is immune to order n.&lt;br /&gt;
&lt;br /&gt;
We use induction.  Let &amp;lt;math&amp;gt;1 \leq j &amp;lt; n&amp;lt;/math&amp;gt;, and suppose that the grasshopper is already known to be immune to order 1.  We now show that it is immune to order j+1.&lt;br /&gt;
&lt;br /&gt;
First suppose that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at most j.  Then the claim is easy, because to reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1} \in S_{j+1} \backslash M&amp;lt;/math&amp;gt; in j+1 steps using a permutation of &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1}&amp;lt;/math&amp;gt;, there are j+1 points in &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; that one could potentially use.  At most j of these lie in M, so there is one that does not lie in M.  By induction hypothesis, the grasshopper can reach that point safely in j steps, and can thus reach the original point in j+1 steps, as required.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at least j+1.  Then, by Assumption A, we cannot pass &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; safely in j+1 or fewer steps.  In particular, we cannot safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps for any &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Let I be the set of all &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; is not in M.  Since &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; already uses up at least j+1 of the points in M, I cannot be empty.  For each i in I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; must lie in M, otherwise we could safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps by Assumption A.  Similarly, if i is the smallest element of I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n - a_m&amp;lt;/math&amp;gt; must lie in M for any m equal to either i or n-j+1,...,n-1.  But this forces M to contain n distinct elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== Proof #2 ==&lt;br /&gt;
&lt;br /&gt;
This is a version of Brumm’s proof with inspiration from Curioso.&lt;br /&gt;
It is another induction, assuming we can deal with n-1 mines in n leaps, and extending to the case with n mines and n+1 leaps.&lt;br /&gt;
This is an attempt at a write-up with minimal technicality - it is therefore a little wordy.&lt;br /&gt;
The basic strategy is to try to make the longest leap and see what might go wrong.&lt;br /&gt;
It turns out that there are two things.&lt;br /&gt;
&lt;br /&gt;
First, we might not jump any mines at all (but perhaps landing on a mine), so our inductive hypothesis has to deal with too many mines.&lt;br /&gt;
In fact we can deal with all but one of the mines. We start from the far end and trace a path backwards, keeping the longest leap in reserve, and knowing that all the mines are in the range of the remaining leaps, because we didn&#039;t jump any with the longest leap. We can arrange for the mine we can&#039;t pass to be the one the one closest to the beginning and then swap in the longest leap to make sure we can jump this one as well.&lt;br /&gt;
&lt;br /&gt;
Second, we might land on a mine and jump some too. The mines we jump might get in the way of shorter leaps.&lt;br /&gt;
It turns out that we can always find two leaps, with the longest leap as the second jump, taking us beyond at least two mines and the induction goes through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PROOF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We can trivially negotiate zero mines with one leap (the case n=1).&lt;br /&gt;
&lt;br /&gt;
We assume that, provided the last place is clear, that we can deal with (n-1) or fewer mines in n leaps, and we want to show that we can deal with n mines in (n+1) leaps.&lt;br /&gt;
&lt;br /&gt;
We try to make the longest leap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 1: If the longest leap carries us to a clear space (no mine) and jumps at least one mine, we are left with n leaps and at most (n-1) mines, which we can do by hypothesis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 2: If the longest leap carries us to a clear space, but doesn’t jump a mine, we work from the other end of the minefield. If we remove the mine closest to the beginning we have (n-1) mines left, and we know that we can negotiate all of these with the n leaps other than the largest (we ignore the blank spaces covered by the largest leap at the beginning).&lt;br /&gt;
&lt;br /&gt;
Case 2.1: If this arrangement also avoids the mine we removed, we are done. &lt;br /&gt;
&lt;br /&gt;
Case 2.2: If it doesn’t – working from the far end – take the leap which lands on this mine, and replace it by the longest leap, which is longer, and therefore jumps us clear of the mine. There are no mines closer to the beginning than this, so we use any remaining leaps to take us to the beginning and we have a path through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 3: If the longest leap lands on a mine but doesn’t jump any mines, this is similar to case 2.2 – this mine is the closest one to the beginning. We can find a path from the far end which lands only on this mine (by hypothesis - jumping the remaining n-1 mines with n leaps). We look at the leap which takes us there, and swap it with the longest leap to jump clear of it, while the swapped leap takes us to the beginning, and we have our path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 4: In this case the longest leap lands on a mine and jumps one or more mines. &lt;br /&gt;
Following brumm’s notation, assume the longest leap jumps f of the mines, with f at least 1.&lt;br /&gt;
We have accounted for f+1 mines (including the one we landed on). So there are (n-f-1) mines out of range of the longest leap.&lt;br /&gt;
Observe that there are n other possible leaps from the beginning, all different and shorter than the longest leap, and there are at most f mines in this range to hit, so there are at least (n-f) possible initial leaps which don’t hit a mine.&lt;br /&gt;
For each of those (n-f) possible first leaps, try following with the longest leap, which definitely takes us beyond the first f+1 mines. This gives us (n-f) double jumps of different lengths, but there are just (n-f-1) mines we might hit, so one of these double jumps lands clear.&lt;br /&gt;
This double jump passes at least two mines. So the remaining (n-1) jumps are available to negotiate at most (n-2) mines, and we are done.&lt;br /&gt;
&lt;br /&gt;
== Proof #3 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1980</id>
		<title>Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1980"/>
		<updated>2009-07-23T06:47:50Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Proof #2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The International Mathematical Olympiad (IMO) consists of a set of six problems, to be solved in two sessions of four and a half hours each.  Traditionally, the last problem (Problem 6) is significantly harder than the others.  Problem 6 of the 2009 IMO, which was given out on July 16, reads as follows:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem 6&#039;&#039;&#039;. Let &amp;lt;math&amp;gt;a_1, a_2, \ldots, a_n&amp;lt;/math&amp;gt; be distinct positive integers and let M be a set of &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; positive integers not containing &amp;lt;math&amp;gt;s = a_1 +a_2 +\ldots+a_n&amp;lt;/math&amp;gt;. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths &amp;lt;math&amp;gt;a_1, a_2, \ldots , a_n&amp;lt;/math&amp;gt; in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M.&lt;br /&gt;
&lt;br /&gt;
A collaborative effort to study this problem was formed [http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project/ here], and continued [http://terrytao.wordpress.com/2009/07/21/imo-2009-q6-mini-polymath-project-cont/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, for instance proofs of this problem.&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Elements of M will be referred to as &amp;quot;landmines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We say that an integer m can be &#039;&#039;safely reached in k steps&#039;&#039; if there exist distinct &amp;lt;math&amp;gt;b_1,\ldots,b_k \in \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;m = b_1+\ldots+b_k&amp;lt;/math&amp;gt; and if none of the partial sums &amp;lt;math&amp;gt;b_1+\ldots+b_i&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;1 \leq i \leq k &amp;lt;/math&amp;gt; is a landmine.  Thus, our objective is to show that one can safely reach &amp;lt;math&amp;gt;a_1+\ldots+a_n&amp;lt;/math&amp;gt; in n steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof #1 ==&lt;br /&gt;
&lt;br /&gt;
We induct on n, assuming that $latex n &amp;gt; 2$ and that the claim has already been proven for smaller n.&lt;br /&gt;
&lt;br /&gt;
Observe that if one can pass k or more mines safely in k steps for some &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;, then we are done by induction hypothesis (removing the steps &amp;lt;math&amp;gt;b_1,\ldots,b_k&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;, and shifting the remaining mines leftwards by &amp;lt;math&amp;gt;b_1+\ldots+b_k&amp;lt;/math&amp;gt;, reducing n by k, and adding dummy mines if necessary.  Thus we may assume that it is not possible to pass k or more mines safely in k steps for any &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;.  We will refer to this assumption as &#039;&#039;&#039;Assumption A&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; denote the set of integers formed by summing j distinct elements from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;.  Thus for instance &amp;lt;math&amp;gt;S_1 = \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;S_2 = \{a_i+a_{i&#039;}: 1 \leq i &amp;lt; i&#039; \leq n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;S_n = \{a_1+\ldots+a_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We say that the grasshopper is &#039;&#039;immune to order j&#039;&#039; for some &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt; if for every distinct &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j&#039; \leq j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;} \not \in M&amp;lt;/math&amp;gt;, the grasshopper can safely reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;}&amp;lt;/math&amp;gt; in j&#039; steps, using a permutation of &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt;.  In particular this implies that every integer in &amp;lt;math&amp;gt;S_j \backslash M&amp;lt;/math&amp;gt; can be safely reached in j steps.  Clearly the grasshopper is immune to order 1; it will suffice to show that the grasshopper is immune to order n.&lt;br /&gt;
&lt;br /&gt;
We use induction.  Let &amp;lt;math&amp;gt;1 \leq j &amp;lt; n&amp;lt;/math&amp;gt;, and suppose that the grasshopper is already known to be immune to order 1.  We now show that it is immune to order j+1.&lt;br /&gt;
&lt;br /&gt;
First suppose that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at most j.  Then the claim is easy, because to reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1} \in S_{j+1} \backslash M&amp;lt;/math&amp;gt; in j+1 steps using a permutation of &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1}&amp;lt;/math&amp;gt;, there are j+1 points in &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; that one could potentially use.  At most j of these lie in M, so there is one that does not lie in M.  By induction hypothesis, the grasshopper can reach that point safely in j steps, and can thus reach the original point in j+1 steps, as required.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at least j+1.  Then, by Assumption A, we cannot pass &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; safely in j+1 or fewer steps.  In particular, we cannot safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps for any &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Let I be the set of all &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; is not in M.  Since &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; already uses up at least j+1 of the points in M, I cannot be empty.  For each i in I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; must lie in M, otherwise we could safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps by Assumption A.  Similarly, if i is the smallest element of I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n - a_m&amp;lt;/math&amp;gt; must lie in M for any m equal to either i or n-j+1,...,n-1.  But this forces M to contain n distinct elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== Proof #2 ==&lt;br /&gt;
&lt;br /&gt;
This is a version of Brumm’s proof with inspiration from Curioso.&lt;br /&gt;
It is another induction, assuming we can deal with n-1 mines in n leaps, and extending to the case with n mines and n+1 leaps.&lt;br /&gt;
This is an attempt at a write-up with minimal technicality - it is therefore a little wordy.&lt;br /&gt;
The basic strategy is to try to make the longest leap and see what might go wrong.&lt;br /&gt;
It turns out that there are two things.&lt;br /&gt;
&lt;br /&gt;
First, we might not jump any mines at all (but perhaps landing on a mine), so our inductive hypothesis has to deal with too many mines.&lt;br /&gt;
In fact we can deal with all but one of the mines. We start from the far end and trace a path backwards, keeping the longest leap in reserve, and knowing that all the mines are in the range of the remaining leaps, because we didn&#039;t jump any with the longest leap. We can arrange for the mine we can&#039;t pass to be the one the one closest to the beginning and then swap in the longest leap to make sure we can jump this one as well.&lt;br /&gt;
&lt;br /&gt;
Second, we might land on a mine and jump some too. The mines we jump might get in the way of shorter leaps.&lt;br /&gt;
It turns out that we can always find two leaps, with the longest leap as the second jump, taking us beyond at least two mines and the induction goes through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PROOF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We can trivially negotiate zero mines with one leap (the case n=1).&lt;br /&gt;
&lt;br /&gt;
We assume that, provided the last place is clear, that we can deal with (n-1) or fewer mines in n leaps, and we want to show that we can deal with n mines in (n+1) leaps.&lt;br /&gt;
&lt;br /&gt;
We try to make the longest leap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 1: If the longest leap carries us to a clear space (no mine) and jumps at least one mine, we are left with n leaps and at most (n-1) mines, which we can do by hypothesis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 2: If the longest leap carries us to a clear space, but doesn’t jump a mine, we work from the other end of the minefield. If we remove the mine closest to the beginning we have (n-1) mines left, and we know that we can negotiate all of these with the n leaps other than the largest (we ignore the blank spaces covered by the largest leap at the beginning).&lt;br /&gt;
&lt;br /&gt;
Case 2.1: If this arrangement also avoids the mine we removed, we are done. &lt;br /&gt;
&lt;br /&gt;
Case 2.2: If it doesn’t – working from the far end – take the leap which lands on this mine, and replace it by the longest leap, which is longer, and therefore jumps us clear of the mine. There are no mines closer to the beginning than this, so we use any remaining leaps to take us to the beginning and we have a path through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 3: If the longest leap lands on a mine but doesn’t jump any mines, this is similar to case 2.2 – this mine is the closest one to the beginning. We can find a path from the far end which lands only on this mine. We look at the leap which takes us there, and swap it with the longest leap to jump clear of it, while the swapped leap takes us to the beginning, and we have our path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 4: In this case the longest leap lands on a mine and jumps one or more mines. &lt;br /&gt;
Following brumm’s notation, assume the longest leap jumps f of the mines, with f at least 1.&lt;br /&gt;
We have accounted for f+1 mines (including the one we landed on). So there are (n-f-1) mines out of range of the longest leap.&lt;br /&gt;
Observe that there are n other possible leaps from the beginning, all different and shorter than the longest leap, and there are at most f mines in this range to hit, so there are at least (n-f) possible initial leaps which don’t hit a mine.&lt;br /&gt;
For each of those (n-f) possible first leaps, try following with the longest leap, which definitely takes us beyond the first f+1 mines. This gives us (n-f) double jumps of different lengths, but there are just (n-f-1) mines we might hit, so one of these double jumps lands clear.&lt;br /&gt;
This double jump passes at least two mines. So the remaining (n-1) jumps are available to negotiate at most (n-2) mines, and we are done.&lt;br /&gt;
&lt;br /&gt;
== Proof #3 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1979</id>
		<title>Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1979"/>
		<updated>2009-07-23T06:41:34Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Proof #2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The International Mathematical Olympiad (IMO) consists of a set of six problems, to be solved in two sessions of four and a half hours each.  Traditionally, the last problem (Problem 6) is significantly harder than the others.  Problem 6 of the 2009 IMO, which was given out on July 16, reads as follows:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem 6&#039;&#039;&#039;. Let &amp;lt;math&amp;gt;a_1, a_2, \ldots, a_n&amp;lt;/math&amp;gt; be distinct positive integers and let M be a set of &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; positive integers not containing &amp;lt;math&amp;gt;s = a_1 +a_2 +\ldots+a_n&amp;lt;/math&amp;gt;. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths &amp;lt;math&amp;gt;a_1, a_2, \ldots , a_n&amp;lt;/math&amp;gt; in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M.&lt;br /&gt;
&lt;br /&gt;
A collaborative effort to study this problem was formed [http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project/ here], and continued [http://terrytao.wordpress.com/2009/07/21/imo-2009-q6-mini-polymath-project-cont/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, for instance proofs of this problem.&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Elements of M will be referred to as &amp;quot;landmines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We say that an integer m can be &#039;&#039;safely reached in k steps&#039;&#039; if there exist distinct &amp;lt;math&amp;gt;b_1,\ldots,b_k \in \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;m = b_1+\ldots+b_k&amp;lt;/math&amp;gt; and if none of the partial sums &amp;lt;math&amp;gt;b_1+\ldots+b_i&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;1 \leq i \leq k &amp;lt;/math&amp;gt; is a landmine.  Thus, our objective is to show that one can safely reach &amp;lt;math&amp;gt;a_1+\ldots+a_n&amp;lt;/math&amp;gt; in n steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof #1 ==&lt;br /&gt;
&lt;br /&gt;
We induct on n, assuming that $latex n &amp;gt; 2$ and that the claim has already been proven for smaller n.&lt;br /&gt;
&lt;br /&gt;
Observe that if one can pass k or more mines safely in k steps for some &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;, then we are done by induction hypothesis (removing the steps &amp;lt;math&amp;gt;b_1,\ldots,b_k&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;, and shifting the remaining mines leftwards by &amp;lt;math&amp;gt;b_1+\ldots+b_k&amp;lt;/math&amp;gt;, reducing n by k, and adding dummy mines if necessary.  Thus we may assume that it is not possible to pass k or more mines safely in k steps for any &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;.  We will refer to this assumption as &#039;&#039;&#039;Assumption A&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; denote the set of integers formed by summing j distinct elements from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;.  Thus for instance &amp;lt;math&amp;gt;S_1 = \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;S_2 = \{a_i+a_{i&#039;}: 1 \leq i &amp;lt; i&#039; \leq n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;S_n = \{a_1+\ldots+a_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We say that the grasshopper is &#039;&#039;immune to order j&#039;&#039; for some &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt; if for every distinct &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j&#039; \leq j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;} \not \in M&amp;lt;/math&amp;gt;, the grasshopper can safely reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;}&amp;lt;/math&amp;gt; in j&#039; steps, using a permutation of &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt;.  In particular this implies that every integer in &amp;lt;math&amp;gt;S_j \backslash M&amp;lt;/math&amp;gt; can be safely reached in j steps.  Clearly the grasshopper is immune to order 1; it will suffice to show that the grasshopper is immune to order n.&lt;br /&gt;
&lt;br /&gt;
We use induction.  Let &amp;lt;math&amp;gt;1 \leq j &amp;lt; n&amp;lt;/math&amp;gt;, and suppose that the grasshopper is already known to be immune to order 1.  We now show that it is immune to order j+1.&lt;br /&gt;
&lt;br /&gt;
First suppose that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at most j.  Then the claim is easy, because to reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1} \in S_{j+1} \backslash M&amp;lt;/math&amp;gt; in j+1 steps using a permutation of &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1}&amp;lt;/math&amp;gt;, there are j+1 points in &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; that one could potentially use.  At most j of these lie in M, so there is one that does not lie in M.  By induction hypothesis, the grasshopper can reach that point safely in j steps, and can thus reach the original point in j+1 steps, as required.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at least j+1.  Then, by Assumption A, we cannot pass &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; safely in j+1 or fewer steps.  In particular, we cannot safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps for any &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Let I be the set of all &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; is not in M.  Since &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; already uses up at least j+1 of the points in M, I cannot be empty.  For each i in I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; must lie in M, otherwise we could safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps by Assumption A.  Similarly, if i is the smallest element of I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n - a_m&amp;lt;/math&amp;gt; must lie in M for any m equal to either i or n-j+1,...,n-1.  But this forces M to contain n distinct elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== Proof #2 ==&lt;br /&gt;
&lt;br /&gt;
This is a version of Brumm’s proof with inspiration from Curioso.&lt;br /&gt;
It is another induction, assuming we can deal with n-1 mines in n leaps, and extending to the case with n mines and n+1 leaps.&lt;br /&gt;
This is an attempt at a write-up with minimal technicality - it is therefore a little wordy.&lt;br /&gt;
The basic strategy is to try to make the longest leap and see what might go wrong.&lt;br /&gt;
It turns out that there are two things.&lt;br /&gt;
&lt;br /&gt;
First, we might not jump any mines at all (but perhaps landing on a mine), so our inductive hypothesis has to deal with too many mines.&lt;br /&gt;
In fact we can deal with all but one of the mines. We start from the far end and trace a path backwards, keeping the longest leap in reserve, and knowing that all the mines are in the range of the remaining leaps, because we didn&#039;t jump any with the longest leap. We can arrange for the mine we can&#039;t pass to be the one the one closest to the beginning and then swap in the longest leap to make sure we can jump this one as well.&lt;br /&gt;
&lt;br /&gt;
Second, we might land on a mine and jump some too. The mines we jump might get in the way of shorter leaps.&lt;br /&gt;
It turns out that we can always find two leaps, with the longest leap as the second jump, taking us beyond at least two mines and the induction goes through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;PROOF&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We can trivially negotiate zero mines with one leap (the case n=1).&lt;br /&gt;
&lt;br /&gt;
We assume that, provided the last place is clear, that we can deal with (n-1) or fewer mines in n leaps, and we want to show that we can deal with n mines in (n+1) leaps.&lt;br /&gt;
&lt;br /&gt;
We try to make the largest leap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 1: If the largest leap carries us to a clear space (no mine) and jumps at least one mine, we are left with n leaps and at most (n-1) mines, which we can do by hypothesis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 2: If the largest leap carries us to a clear space, but doesn’t jump a mine, we work from the other end of the minefield. If we remove the mine closest to the beginning we have (n-1) mines left, and we know that we can negotiate all of these with the n leaps other than the largest (we ignore the blank spaces covered by the largest leap at the beginning).&lt;br /&gt;
&lt;br /&gt;
Case 2.1: If this arrangement also avoids the mine we removed, we are done. &lt;br /&gt;
&lt;br /&gt;
Case 2.2: If it doesn’t – working from the far end – take the leap which lands on this mine, and replace it by the longest leap, which is longer, and therefore jumps us clear of the mine. There are no mines closer to the beginning than this, so we use any remaining leaps to take us to the beginning and we have a path through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 3: If the largest leap lands on a mine but doesn’t jump any mines, this is similar to case 2.2 – this mine is the closest one to the beginning. We can find a path from the far end which lands only on this mine. We look at the leap which takes us there, and swap it with the longest leap to jump clear of it, while the swapped leap takes us to the beginning, and we have our path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 4: In this case the longest leap lands on a mine and jumps one or more mines. &lt;br /&gt;
Following brumm’s notation, assume the longest leap jumps f of the mines, with f at least 1.&lt;br /&gt;
We have accounted for f+1 mines (including the one we landed on). So there are (n-f-1) mines out of range of the longest leap.&lt;br /&gt;
Observe that there are n other possible leaps from the beginning, all different and shorter than the longest leap, and there are at most f mines in this range to hit, so there are at least (n-f) possible initial leaps which don’t hit a mine.&lt;br /&gt;
For each of those (n-f) possible first leaps, try following with the longest leap, which definitely takes us beyond the first f+1 mines. This gives us (n-f) double jumps of different lengths, but there are just (n-f-1) mines we might hit, so one of these double jumps lands clear.&lt;br /&gt;
This double jump passes at least two mines. So the remaining (n-1) jumps are available to negotiate at most (n-2) mines, and we are done.&lt;br /&gt;
&lt;br /&gt;
== Proof #3 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1978</id>
		<title>Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1978"/>
		<updated>2009-07-23T06:38:27Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Proof #2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The International Mathematical Olympiad (IMO) consists of a set of six problems, to be solved in two sessions of four and a half hours each.  Traditionally, the last problem (Problem 6) is significantly harder than the others.  Problem 6 of the 2009 IMO, which was given out on July 16, reads as follows:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem 6&#039;&#039;&#039;. Let &amp;lt;math&amp;gt;a_1, a_2, \ldots, a_n&amp;lt;/math&amp;gt; be distinct positive integers and let M be a set of &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; positive integers not containing &amp;lt;math&amp;gt;s = a_1 +a_2 +\ldots+a_n&amp;lt;/math&amp;gt;. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths &amp;lt;math&amp;gt;a_1, a_2, \ldots , a_n&amp;lt;/math&amp;gt; in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M.&lt;br /&gt;
&lt;br /&gt;
A collaborative effort to study this problem was formed [http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project/ here], and continued [http://terrytao.wordpress.com/2009/07/21/imo-2009-q6-mini-polymath-project-cont/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, for instance proofs of this problem.&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Elements of M will be referred to as &amp;quot;landmines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We say that an integer m can be &#039;&#039;safely reached in k steps&#039;&#039; if there exist distinct &amp;lt;math&amp;gt;b_1,\ldots,b_k \in \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;m = b_1+\ldots+b_k&amp;lt;/math&amp;gt; and if none of the partial sums &amp;lt;math&amp;gt;b_1+\ldots+b_i&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;1 \leq i \leq k &amp;lt;/math&amp;gt; is a landmine.  Thus, our objective is to show that one can safely reach &amp;lt;math&amp;gt;a_1+\ldots+a_n&amp;lt;/math&amp;gt; in n steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof #1 ==&lt;br /&gt;
&lt;br /&gt;
We induct on n, assuming that $latex n &amp;gt; 2$ and that the claim has already been proven for smaller n.&lt;br /&gt;
&lt;br /&gt;
Observe that if one can pass k or more mines safely in k steps for some &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;, then we are done by induction hypothesis (removing the steps &amp;lt;math&amp;gt;b_1,\ldots,b_k&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;, and shifting the remaining mines leftwards by &amp;lt;math&amp;gt;b_1+\ldots+b_k&amp;lt;/math&amp;gt;, reducing n by k, and adding dummy mines if necessary.  Thus we may assume that it is not possible to pass k or more mines safely in k steps for any &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;.  We will refer to this assumption as &#039;&#039;&#039;Assumption A&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; denote the set of integers formed by summing j distinct elements from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;.  Thus for instance &amp;lt;math&amp;gt;S_1 = \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;S_2 = \{a_i+a_{i&#039;}: 1 \leq i &amp;lt; i&#039; \leq n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;S_n = \{a_1+\ldots+a_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We say that the grasshopper is &#039;&#039;immune to order j&#039;&#039; for some &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt; if for every distinct &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j&#039; \leq j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;} \not \in M&amp;lt;/math&amp;gt;, the grasshopper can safely reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;}&amp;lt;/math&amp;gt; in j&#039; steps, using a permutation of &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt;.  In particular this implies that every integer in &amp;lt;math&amp;gt;S_j \backslash M&amp;lt;/math&amp;gt; can be safely reached in j steps.  Clearly the grasshopper is immune to order 1; it will suffice to show that the grasshopper is immune to order n.&lt;br /&gt;
&lt;br /&gt;
We use induction.  Let &amp;lt;math&amp;gt;1 \leq j &amp;lt; n&amp;lt;/math&amp;gt;, and suppose that the grasshopper is already known to be immune to order 1.  We now show that it is immune to order j+1.&lt;br /&gt;
&lt;br /&gt;
First suppose that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at most j.  Then the claim is easy, because to reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1} \in S_{j+1} \backslash M&amp;lt;/math&amp;gt; in j+1 steps using a permutation of &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1}&amp;lt;/math&amp;gt;, there are j+1 points in &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; that one could potentially use.  At most j of these lie in M, so there is one that does not lie in M.  By induction hypothesis, the grasshopper can reach that point safely in j steps, and can thus reach the original point in j+1 steps, as required.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at least j+1.  Then, by Assumption A, we cannot pass &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; safely in j+1 or fewer steps.  In particular, we cannot safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps for any &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Let I be the set of all &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; is not in M.  Since &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; already uses up at least j+1 of the points in M, I cannot be empty.  For each i in I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; must lie in M, otherwise we could safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps by Assumption A.  Similarly, if i is the smallest element of I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n - a_m&amp;lt;/math&amp;gt; must lie in M for any m equal to either i or n-j+1,...,n-1.  But this forces M to contain n distinct elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== Proof #2 ==&lt;br /&gt;
&lt;br /&gt;
This is a version of Brumm’s proof with inspiration from Curioso.&lt;br /&gt;
It is another induction, assuming we can deal with n-1 mines in n leaps, and extending to the case with n mines and n+1 leaps.&lt;br /&gt;
This is an attempt at a write-up with minimal technicality - it is therefore a little wordy.&lt;br /&gt;
The basic strategy is to try to make the longest leap and see what might go wrong.&lt;br /&gt;
It turns out that there are two things.&lt;br /&gt;
&lt;br /&gt;
First, we might not jump any mines at all (but perhaps landing on a mine), so our inductive hypothesis has to deal with too many mines.&lt;br /&gt;
In fact we can deal with all but one of the mines. We start from the far end and trace a path backwards, keeping the longest leap in reserve, and knowing that all the mines are in the range of the remaining leaps, because we didn&#039;t jump any with the longest leap. We can arrange for the mine we can&#039;t pass to be the one the one closest to the beginning and then swap in the longest leap to make sure we can jump this one as well.&lt;br /&gt;
&lt;br /&gt;
Second, we might land on a mine and jump some too. The mines we jump might get in the way of shorter leaps.&lt;br /&gt;
It turns out that we can always find two leaps, with the longest leap as the second jump, taking us beyond at least two mines and the induction goes through.&lt;br /&gt;
&lt;br /&gt;
PROOF&lt;br /&gt;
&lt;br /&gt;
We can trivially negotiate zero mines with one leap (the case n=1).&lt;br /&gt;
&lt;br /&gt;
We assume that, provided the last place is clear, that we can deal with (n-1) or fewer mines in n leaps, and we want to show that we can deal with n mines in (n+1) leaps.&lt;br /&gt;
&lt;br /&gt;
We try to make the largest leap.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 1: If the largest leap carries us to a clear space (no mine) and jumps at least one mine, we are left with n leaps and at most (n-1) mines, which we can do by hypothesis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 2: If the largest leap carries us to a clear space, but doesn’t jump a mine, we work from the other end of the minefield. If we remove the mine closest to the beginning we have (n-1) mines left, and we know that we can negotiate all of these with the n leaps other than the largest (we ignore the blank spaces covered by the largest leap at the beginning).&lt;br /&gt;
&lt;br /&gt;
2.1 If this arrangement also avoids the mine we removed, we are done. &lt;br /&gt;
&lt;br /&gt;
2.2 If it doesn’t – working from the far end – take the leap which lands on this mine, and replace it by the longest leap, which is longer, and therefore jumps us clear of the mine. There are no mines closer to the beginning than this, so we use any remaining leaps to take us to the beginning and we have a path through.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 3: If the largest leap lands on a mine but doesn’t jump any mines, this is similar to case 2.2 – this mine is the closest one to the beginning. We can find a path from the far end which lands only on this mine. We look at the leap which takes us there, and swap it with the longest leap to jump clear of it, while the swapped leap takes us to the beginning, and we have our path.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Case 4: In this case the longest leap lands on a mine and jumps one or more mines. &lt;br /&gt;
Following brumm’s notation, assume the longest leap jumps f of the mines, with f at least 1.&lt;br /&gt;
We have accounted for f+1 mines (including the one we landed on). So there are (n-f-1) mines out of range of the longest leap.&lt;br /&gt;
Observe that there are n other possible leaps from the beginning, all different and shorter than the longest leap, and there are at most f mines in this range to hit, so there are at least (n-f) possible initial leaps which don’t hit a mine.&lt;br /&gt;
For each of those (n-f) possible first leaps, try following with the longest leap, which definitely takes us beyond the first f+1 mines. This gives us (n-f) double jumps of different lengths, but there are just (n-f-1) mines we might hit, so one of these double jumps lands clear.&lt;br /&gt;
This double jump passes at least two mines. So the remaining (n-1) jumps are available to negotiate at most (n-2) mines, and we are done.&lt;br /&gt;
&lt;br /&gt;
== Proof #3 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1977</id>
		<title>Imo 2009 q6</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1977"/>
		<updated>2009-07-23T06:33:08Z</updated>

		<summary type="html">&lt;p&gt;Mark Bennet: /* Proof #2 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The International Mathematical Olympiad (IMO) consists of a set of six problems, to be solved in two sessions of four and a half hours each.  Traditionally, the last problem (Problem 6) is significantly harder than the others.  Problem 6 of the 2009 IMO, which was given out on July 16, reads as follows:&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem 6&#039;&#039;&#039;. Let &amp;lt;math&amp;gt;a_1, a_2, \ldots, a_n&amp;lt;/math&amp;gt; be distinct positive integers and let M be a set of &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; positive integers not containing &amp;lt;math&amp;gt;s = a_1 +a_2 +\ldots+a_n&amp;lt;/math&amp;gt;. A grasshopper is to jump along the real axis, starting at the point 0 and making n jumps to the right with lengths &amp;lt;math&amp;gt;a_1, a_2, \ldots , a_n&amp;lt;/math&amp;gt; in some order. Prove that the order can be chosen in such a way that the grasshopper never lands on any point in M.&lt;br /&gt;
&lt;br /&gt;
A collaborative effort to study this problem was formed [http://terrytao.wordpress.com/2009/07/20/imo-2009-q6-as-a-mini-polymath-project/ here], and continued [http://terrytao.wordpress.com/2009/07/21/imo-2009-q6-mini-polymath-project-cont/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, for instance proofs of this problem.&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Elements of M will be referred to as &amp;quot;landmines&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We say that an integer m can be &#039;&#039;safely reached in k steps&#039;&#039; if there exist distinct &amp;lt;math&amp;gt;b_1,\ldots,b_k \in \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;m = b_1+\ldots+b_k&amp;lt;/math&amp;gt; and if none of the partial sums &amp;lt;math&amp;gt;b_1+\ldots+b_i&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;1 \leq i \leq k &amp;lt;/math&amp;gt; is a landmine.  Thus, our objective is to show that one can safely reach &amp;lt;math&amp;gt;a_1+\ldots+a_n&amp;lt;/math&amp;gt; in n steps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof #1 ==&lt;br /&gt;
&lt;br /&gt;
We induct on n, assuming that $latex n &amp;gt; 2$ and that the claim has already been proven for smaller n.&lt;br /&gt;
&lt;br /&gt;
Observe that if one can pass k or more mines safely in k steps for some &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;, then we are done by induction hypothesis (removing the steps &amp;lt;math&amp;gt;b_1,\ldots,b_k&amp;lt;/math&amp;gt; from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;, and shifting the remaining mines leftwards by &amp;lt;math&amp;gt;b_1+\ldots+b_k&amp;lt;/math&amp;gt;, reducing n by k, and adding dummy mines if necessary.  Thus we may assume that it is not possible to pass k or more mines safely in k steps for any &amp;lt;math&amp;gt;k \geq 1&amp;lt;/math&amp;gt;.  We will refer to this assumption as &#039;&#039;&#039;Assumption A&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
For each &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; denote the set of integers formed by summing j distinct elements from &amp;lt;math&amp;gt;a_1,\ldots,a_n&amp;lt;/math&amp;gt;.  Thus for instance &amp;lt;math&amp;gt;S_1 = \{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;S_2 = \{a_i+a_{i&#039;}: 1 \leq i &amp;lt; i&#039; \leq n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;S_n = \{a_1+\ldots+a_n\}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
We say that the grasshopper is &#039;&#039;immune to order j&#039;&#039; for some &amp;lt;math&amp;gt;1 \leq j \leq n&amp;lt;/math&amp;gt; if for every distinct &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\{a_1,\ldots,a_n\}&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;1 \leq j&#039; \leq j&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;} \not \in M&amp;lt;/math&amp;gt;, the grasshopper can safely reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j&#039;}&amp;lt;/math&amp;gt; in j&#039; steps, using a permutation of &amp;lt;math&amp;gt;b_1,\ldots,b_{j&#039;}&amp;lt;/math&amp;gt;.  In particular this implies that every integer in &amp;lt;math&amp;gt;S_j \backslash M&amp;lt;/math&amp;gt; can be safely reached in j steps.  Clearly the grasshopper is immune to order 1; it will suffice to show that the grasshopper is immune to order n.&lt;br /&gt;
&lt;br /&gt;
We use induction.  Let &amp;lt;math&amp;gt;1 \leq j &amp;lt; n&amp;lt;/math&amp;gt;, and suppose that the grasshopper is already known to be immune to order 1.  We now show that it is immune to order j+1.&lt;br /&gt;
&lt;br /&gt;
First suppose that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at most j.  Then the claim is easy, because to reach &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1} \in S_{j+1} \backslash M&amp;lt;/math&amp;gt; in j+1 steps using a permutation of &amp;lt;math&amp;gt;b_1+\ldots+b_{j+1}&amp;lt;/math&amp;gt;, there are j+1 points in &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; that one could potentially use.  At most j of these lie in M, so there is one that does not lie in M.  By induction hypothesis, the grasshopper can reach that point safely in j steps, and can thus reach the original point in j+1 steps, as required.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; has cardinality at least j+1.  Then, by Assumption A, we cannot pass &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; safely in j+1 or fewer steps.  In particular, we cannot safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps for any &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Let I be the set of all &amp;lt;math&amp;gt;1 \leq i \leq n-j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; is not in M.  Since &amp;lt;math&amp;gt;M \cap S_j&amp;lt;/math&amp;gt; already uses up at least j+1 of the points in M, I cannot be empty.  For each i in I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; must lie in M, otherwise we could safely reach &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n&amp;lt;/math&amp;gt; in j+1 steps by Assumption A.  Similarly, if i is the smallest element of I, &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_n - a_m&amp;lt;/math&amp;gt; must lie in M for any m equal to either i or n-j+1,...,n-1.  But this forces M to contain n distinct elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== Proof #2 ==&lt;br /&gt;
&lt;br /&gt;
This is a version of Brumm’s proof with inspiration from Curioso.&lt;br /&gt;
It is another induction, assuming we can deal with n-1 mines in n leaps, and extending to the case with n mines and n+1 leaps.&lt;br /&gt;
This is an attempt at a write-up with minimal technicality - it is therefore a little wordy.&lt;br /&gt;
The basic strategy is to try to make the longest leap and see what might go wrong.&lt;br /&gt;
It turns out that there are two things.&lt;br /&gt;
&lt;br /&gt;
First, we might not jump any mines at all (but perhaps landing on a mine), so our inductive hypothesis has to deal with too many mines.&lt;br /&gt;
In fact we can deal with all but one of the mines. We start from the far end and trace a path backwards, keeping the longest leap in reserve, and knowing that all the mines are in the range of the remaining leaps, because we didn&#039;t jump any with the longest leap. We can arrange for the mine we can&#039;t pass to be the one the one closest to the beginning and then swap in the longest leap to make sure we can jump this one as well.&lt;br /&gt;
&lt;br /&gt;
Second, we might land on a mine and jump some too. The mines we jump might get in the way of shorter jumps.&lt;br /&gt;
It turns out that we can always find two leaps, with the longest leap as the second jump, taking us beyond at least two mines and the induction goes through.&lt;br /&gt;
&lt;br /&gt;
PROOF&lt;br /&gt;
&lt;br /&gt;
We can trivially negotiate zero mines with one leap (the case n=1).&lt;br /&gt;
&lt;br /&gt;
We assume that, provided the last place is clear, that we can deal with (n-1) or fewer mines in n leaps, and we want to show that we can deal with n mines in (n+1) leaps.&lt;br /&gt;
&lt;br /&gt;
We try to make the largest leap.&lt;br /&gt;
&lt;br /&gt;
Case 1: If the largest leap carries us to a clear space (no mine) and jumps at least one mine, we are left with n leaps and at most (n-1) mines, which we can do by hypothesis.&lt;br /&gt;
&lt;br /&gt;
Case 2: If the largest leap carries us to a clear space, but doesn’t jump a mine, we work from the other end of the minefield. If we remove the mine closest to the beginning we have (n-1) mines left, and we know that we can negotiate all of these with the n leaps other than the largest (we ignore the blank spaces covered by the largest leap at the beginning).&lt;br /&gt;
2.1 If this arrangement also avoids the mine we removed, we are done. &lt;br /&gt;
2.2 If it doesn’t – working from the far end – take the leap which lands on this mine, and replace it by the longest leap, which is longer, and therefore jumps us clear of the mine. There are no mines closer to the beginning than this, so we use any remaining leaps to take us to the beginning and we have a path through.&lt;br /&gt;
&lt;br /&gt;
Case 3: If the largest leap lands on a mine but doesn’t jump any mines, this is similar to case 2.2 – this mine is the closest one to the beginning. We can find a path from the far end which lands only on this mine. We look at the leap which takes us there, and swap it with the longest leap to jump clear of it, while the swapped leap takes us to the beginning, and we have our path.&lt;br /&gt;
&lt;br /&gt;
Case 4: In this case the longest leap lands on a mine and jumps one or more mines. &lt;br /&gt;
Following brumm’s notation, assume the longest leap jumps f of the mines, with f at least 1.&lt;br /&gt;
We have accounted for f+1 mines (including the one we landed on). So there are (n-f-1) mines out of range of the longest leap.&lt;br /&gt;
Observe that there are n other possible leaps from the beginning, all different and shorter than the longest leap, and there are at most f mines in this range to hit, so there are at least (n-f) possible initial leaps which don’t hit a mine.&lt;br /&gt;
For each of those (n-f) possible first leaps, try following with the longest leap, which definitely takes us beyond the first f+1 mines. This gives us (n-f) double jumps of different lengths, but there are just (n-f-1) mines we might hit, so one of these double jumps lands clear.&lt;br /&gt;
This double jump passes at least two mines. So the remaining (n-1) jumps are available to negotiate at most (n-2) mines, and we are done.&lt;br /&gt;
&lt;br /&gt;
== Proof #3 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>Mark Bennet</name></author>
	</entry>
</feed>