<?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=KristalCantwell</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=KristalCantwell"/>
	<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Special:Contributions/KristalCantwell"/>
	<updated>2026-04-07T13:44:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=5005</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=5005"/>
		<updated>2011-08-14T20:31:43Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: addition of contact&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\dots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and the sets in the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = d(n-1)+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/21/polymath3-polynomial-hirsch-conjecture-4/ Polymath3 : Polynomial Hirsch Conjecture 4] (Oct 21, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;. ([EHRR], adapting a proof from [KK])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary&#039;&#039;&#039; &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
On the other hand, for every n we have &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt;, as any of the following two examples show. &lt;br /&gt;
:  {0}, {1}, {12}, {2}, {23}, {3}, ... , {n-1 n}, {n}&lt;br /&gt;
:  {0}, {1}, {12}, {123}, ... {123...n}, {23...n}, {3...n}, ... , {n-1 n}, {n}    (2)&lt;br /&gt;
It is worth noting that in these two examples every F_i is a singleton. As mentioned above, in the singleton case  the maximum length is in fact 2n.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem&#039;&#039;&#039; For &amp;lt;math&amp;gt;n \leq 4&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;f(n) =2n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; For f(1) and f(2) this is given by the &amp;quot;trivial&amp;quot; upper and lower bounds above. For f(3) and f(4) we first state the following two general properties:&lt;br /&gt;
&lt;br /&gt;
* If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n (the maximal possible length in this case is the one achieved by example (2))&lt;br /&gt;
&lt;br /&gt;
* If &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt; is not used and two subsets A, B of cardinality n-1 appear in families F_i, F_j then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because every intermediate F_k contains A\cap B.&lt;br /&gt;
&lt;br /&gt;
WIth these two properties we prove f(3)=6 and f(4)=8  as follows:&lt;br /&gt;
&lt;br /&gt;
* For f(3), we have eight possible subsets of [n] but we can assume that 123 is not used, by the first argument above, which leaves only seven subsets to use. If the length was seven we would be in the singleton case, for which we know 2n is an upper bound: a contradiction. (A different argument is: if the three pairs {12}, {23} and {13} appear in three *different* F_i&#039;s, assume wlog that they do in precisely that order. Then the intermediate F_i must also contain {1}. So, the seven subsets give at most six F_i&#039;s).&lt;br /&gt;
&lt;br /&gt;
* For f(4), as before, we can assume no F_i contains 1234. We do a case study according to how many of the triplets abc are used. That is, how many of the I(abc)&#039;s are non-empty:&lt;br /&gt;
&lt;br /&gt;
If three or four I(abc) are non-empty, then they are confined to an interval of length 3 by the second property above. It follows that the I(ab) are confined in an interval of length 5 (because any of them is contained in one of the used abc&#039;s), and the I(a) are confined in an interval of length 7. We are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Towards the value of &amp;lt;math&amp;gt;f(5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows that f(5) is at least 11: [{}, {1}, {15}, {14, 5}, {12, 35, 4}, {13, 25, 45}, {245, 3}, {24, 34}, {234}, {23}, {2}]&lt;br /&gt;
&lt;br /&gt;
I can now show that f(5) is at most 12. Since we have the above example of length 11, f(5) must be 11 or 12. In fact, as a byproduct of my proof I have also found a second example of length 11: [{}, {1}, {12}, {125}, {15, 25}, {135, 245}, {145, 235}, {35, 45}, {345}, {34}, {4}].&lt;br /&gt;
&lt;br /&gt;
Suppose we have a sequence of length 13 on 5 elements. Wlog the first or last level consists only of the empty set, so we have a sequence of length 12 with no empty sets. Then:&lt;br /&gt;
&lt;br /&gt;
- F_1 \cup F_2 \cup F_3 already use at least three elements: if not, they form the unique sequence of length three with two elements and no empty set, namely [{1}, {12}, {2}]. But in this case the element {1} has already been abandoned in F_3, so it will not be used again. This means that F_3 … F_12 forms a convex sequence of length 10 in four elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
- With the same argument, F_10 \cup F_11 \cup F_13 use at least three elements. In particular, F_3 and F_10 have a common element, say 5, so restricting F_3,…,F_10 to the sets using 5 we have a sequence of length 8 on the other four elements. So far so good, since f(4)=8.&lt;br /&gt;
&lt;br /&gt;
- But this would imply that in the restriction we can assume wlog that F_3={\emptyset}. Put differently, F_3 contains the singleton {5}. Since F_3 is the first level using 5, this singleton could be deleted from F_3 without breaking convexity. This gets us back to the case where F_1\cupF_2\cup F_3 use only two elements, which we had discarded.&lt;br /&gt;
&lt;br /&gt;
I have been looking at the various cases using the method outlined above. And it looks like all the cases work and f(5) is 11. Let me start going through the cases. It may take a while to work through all of them.&lt;br /&gt;
&lt;br /&gt;
Suppose we have a counterexample that under restriction to sets containing the element 5 contains a set of length 7&lt;br /&gt;
which does not contain the set containing only the element 5 but contains a set which under restriction contains all 4 elements then we know that the original set must contain a set which contains all the elements and hence has length 10. So&lt;br /&gt;
we can eliminate this case.&lt;br /&gt;
&lt;br /&gt;
For the next case assume that in the restriction to sets containing the the element 5 we don’t have a set with four elements and the element 5 and we don’t&lt;br /&gt;
have a set containing the element 5 only and we have three sets containing the element 5 and three other elements. We note 3 or more sets of three elements and the element 5 contains all combinations of two elements and the element 5.&lt;br /&gt;
&lt;br /&gt;
Now the first family and the second family must contain a set containing at least a pair of elements. If not there are only single elements in the first two elements. Then one element will only appear in one single set which cause the entire case to have at most 9 families and we are done. And the last and the second to last family must also contain a set containing a pair of elements by similar reasoning. &lt;br /&gt;
&lt;br /&gt;
And since all pairs are contained in the three sets containing three or more elements and the element 5 the pairs mentioned at the second and first families and those at the other end must be in the sets of three and the element 5. And this means that the third and third to last families must contain sets containing three or more elements. Now if either of these families doesn’t contain the element 5 then they will contain a common element and then we continue this proof with that element replacing the element 5. If it is a previous case we use the previous proof and if it one the cases to come we will deal with it then.&lt;br /&gt;
&lt;br /&gt;
Next we note that the three sets of three elements and the element 5 must lie within three consecutive positions or else the extremal sets of three elements must contain a common pair which must appear four times which is not possible.&lt;br /&gt;
Now all the sets of two elements and the element 5 which are contained in the sets of three elements and the element 5 which as we have noted are all the sets&lt;br /&gt;
of two elements and the element 5 must appear in the positions containing the the three element sets and the element 5 or the two other positions adjacent to these&lt;br /&gt;
which is a total of five positions. But we have two sets of three elements at both ends of the sequence which correspond to a set of two elements and the element 5 which lie on a span of 7 elements and we have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
For the next case assume that in the restriction to sets containing the the element 5 we don’t have a set with four elements and the element 5 and we don’t&lt;br /&gt;
have a set containing the element 5 only and we have two sets containing the element 5 and three other elements. We note 2 sets of three elements and the element 5 contains all combinations of two elements and the element 5 except one pair. In this case we will&lt;br /&gt;
assume that this pair of elements together with the element 5 is present.&lt;br /&gt;
&lt;br /&gt;
Now the first family and the second family must contain a set containing at least a pair of elements. If not there are only single elements in the first two elements. Then one element will only appear in one single set which cause the entire case to have at most 9 families and we are done. And the last and the second to last family must also contain a set containing a pair of elements by similar reasoning.&lt;br /&gt;
&lt;br /&gt;
And since all pairs are contained in the 2 sets containing three or more elements and the element 5 or the set consisting of the remaining pair and the element 5 the pairs mentioned at the second and first families and those at the other end must be in the sets of three and the element 5. And this means that the third and third to last families must contain sets containing three or more elements. Now if either of these families doesn’t contain the element 5 then they will contain a common element and then we continue this proof with that element replacing the element 5. If it is a previous case we use the previous proof and if it one the cases to come we will deal with it then.&lt;br /&gt;
&lt;br /&gt;
Next we note that the two sets of three elements and the element 5 must lie within three consecutive positions or else the extremal sets of three elements must contain a common pair which must appear four times which is not possible.&lt;br /&gt;
Now all the sets of two elements and the element 5 which are contained in the sets of three elements and the element 5 which as we have noted are all the sets&lt;br /&gt;
of two elements except 1 and the element 5 must appear in the positions containing the the three element sets and the element 5 or the two other positions adjacent to these&lt;br /&gt;
which is a total of five positions. But we have two sets of three elements at both ends of the sequence which means that we have the set of two elements not in the two triples together&lt;br /&gt;
with the element 5 at one end of the sequence.&lt;br /&gt;
&lt;br /&gt;
Now at the other end of the sequence there is set of two or three elements together with&lt;br /&gt;
the element 5. If there is a set of three elements there is one element in common with&lt;br /&gt;
besides 5 in one set for each of the 7 elements and we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
So there must be a two element set plus the element 5 at both ends and at one end there&lt;br /&gt;
must be the two elements in the intersection of the two three element sets plus the element 5 and at the other&lt;br /&gt;
the two elements in neither set of 3 plus the element 5.&lt;br /&gt;
&lt;br /&gt;
Then the two sets of three elements plus the element 5  must lie in the two spaces following the set of two elements plus the element 5 as there is no remaining element to fill&lt;br /&gt;
the space between them.&lt;br /&gt;
&lt;br /&gt;
Then the remaining sets of two elements plus the element 5 can only go in the next consecutive slot.&lt;br /&gt;
&lt;br /&gt;
This means that the two slots preceding the set of two elements not in either triple plus&lt;br /&gt;
the element 5 can only be single elements plus the element 5. But this means that the elements in these sets are disjoint which means that there can be no common elements on either side but either set of three elements plus the element 5 has an element besides the&lt;br /&gt;
element 5 in common with the set of two elements not in either set of three elements&lt;br /&gt;
and we have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of multi-subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
That &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; is at least equal to the conjectured &amp;lt;math&amp;gt;d(n-1)+1&amp;lt;/math&amp;gt; is shown by two examples:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,a_2,\dots,a_d\}: \sum a_i = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,d(n-1)+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_1 := \{11\dots11\}, F_2 := \{11\dots12\}, \dots F_d := \{12\dots22\},&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{d+1} := \{22\dots22\}, F_{d+2} := \{22\dots23\}, \dots F_{2d} := \{23\dots33\},&lt;br /&gt;
: \dots&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{(n-2)d+1} := \{n-1,n-1,\dots,n-1,n-1\},  \dots, F_{(n-1)d} := \{n-1,n,\dots,n,n\}, F_{(n-1)d+1} := \{n,n,\dots,n,n\}.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3? &lt;br /&gt;
&lt;br /&gt;
The answer seems to be &#039;&#039;yes&#039;&#039;:  &amp;lt;math&amp;gt;f(2,n)\ge 2n-O(\log n)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(d,n)\ge dn-O(d \log n)&amp;lt;/math&amp;gt;, ...&lt;br /&gt;
&lt;br /&gt;
As for upper bounds, to show that &amp;lt;math&amp;gt;f^*(d,n) \le 2^{d-1}(n-1) + 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(d,n) \le 2^{d-1}(n-d) + 1&amp;lt;/math&amp;gt;, we use the following lemma:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: Let &amp;lt;math&amp;gt;\{F_i\}_{i=1}^t&amp;lt;/math&amp;gt; be a convex and &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-uniform sequence of families of multisets in the alphabet &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Then, there is a partition of &amp;lt;math&amp;gt;\{1,\dots,t\}&amp;lt;/math&amp;gt; into disjoint intervals &amp;lt;math&amp;gt;I_1=\{1,\dots,t_1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;I_2=\{t_1+1,\dots,t_2\}&amp;lt;/math&amp;gt;,  ...,  &amp;lt;math&amp;gt;I_m=\{t_{m-1}+1,\dots,t\}&amp;lt;/math&amp;gt; with the following properties:&lt;br /&gt;
&lt;br /&gt;
: 1) For every &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\cap_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt; is not empty.&lt;br /&gt;
&lt;br /&gt;
: 2) Each &amp;lt;math&amp;gt;a\in [n]&amp;lt;/math&amp;gt; is in the support of at most two of the &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;&#039;s. &lt;br /&gt;
&lt;br /&gt;
: 3) If &amp;lt;math&amp;gt;a\in support(F_1)&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is not in the support of any &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; other than &amp;lt;math&amp;gt;I_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In parts (2) and (3) we call support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; the union &amp;lt;math&amp;gt;\cup_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;&lt;br /&gt;
We consider the supports&lt;br /&gt;
&amp;lt;math&amp;gt;U_1, U_2, \dots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  &lt;br /&gt;
Set &amp;lt;math&amp;gt;t_0=0&amp;lt;/math&amp;gt;;  let &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_1}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_0+1}=U_1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;t_2&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_2}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_1+1}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;t_m = t&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{t_{i-1}+1} \cup \ldots \cup U_{t_{i}}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt; (condition 2).  &lt;br /&gt;
By construction and convexity, all the supports &amp;lt;math&amp;gt;U_{t_{i-1}+1},\ldots,U_{t_{i}}&amp;lt;/math&amp;gt; have a common element (condition 1). Condition 3 holds by choice of &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: &amp;lt;math&amp;gt;f^*(d,n)\le 2^{d-1} (n-1) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: For &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; this is obvious, for &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt; we use induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider the partition in the lemma above. Let &amp;lt;math&amp;gt;S_k&amp;lt;/math&amp;gt; be the support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;, that is, the union of the supports of the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt;&#039;s with &amp;lt;math&amp;gt;i\in I_k&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; be an element that is active in the whole of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;. Restricting &amp;lt;math&amp;gt;\{F_i\}_{i\in I_k}&amp;lt;/math&amp;gt; to the multisets that contain &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; (and then deleting one copy of &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; from each) gives a convex &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform sequence of families of multisets of length &amp;lt;math&amp;gt;| I_k |&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;|S_k|&amp;lt;/math&amp;gt; elements, so: &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f^*(d-1, |S_k|) \le 2^{d-2} (\sum_{i=1}^m|S_k| -m) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, conditions (2) and (3) in the lemma imply that &amp;lt;math&amp;gt;\sum|S_k| \le 2n -1&amp;lt;/math&amp;gt;, (with equality only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element, that is if &amp;lt;math&amp;gt;F_1=\{aaa\dots aa\}&amp;lt;/math&amp;gt;). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -m) +m \le 2^{d-1}(n-1) -(m-1)2^{d-2} +m&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
so to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. This holds trivially. QED&lt;br /&gt;
&lt;br /&gt;
Observe that in the last step equality can only be obtained only if &amp;lt;math&amp;gt;d=2&amp;lt;/math&amp;gt;, in which case we indeed know that the bound is tight. (The factor &amp;lt;math&amp;gt;m-1&amp;lt;/math&amp;gt; is always positive since &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt; implies there is an element in the support of every &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; and we could then conclude &amp;lt;math&amp;gt;t\le f^*(d-1,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: &amp;lt;math&amp;gt;f(d,n)\le 2^{d-1} (n-d) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Proof: basically the same except now the length of each &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; is bounded by &amp;lt;math&amp;gt;f(d-1,|S_k|-1)&amp;lt;/math&amp;gt; (the deleted element &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; can no longer appear in the &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform subsequences).&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f(d-1, |S_k|-1) \le 2^{d-2} (\sum_{i=1}^m|S_k| -md) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; elements, so we have &amp;lt;math&amp;gt;\sum|S_k| \le 2n -d&amp;lt;/math&amp;gt;, (with equality again only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -md) +m \le 2^{d-2}(2n -d-md) +m = 2^{d-1}(n-d) - 2^{d-2}(m-1)d + m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-d(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(d2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [EHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
* [KK] Gil Kalai and Daniel J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra,  Bull. Amer. Math. Soc., 26:315-316, 1992.&lt;br /&gt;
&lt;br /&gt;
* [L] David G. Larman, Paths of polytopes, Proc. London Math. Soc., 20(3):161-178, 1970. &lt;br /&gt;
&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=4780</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=4780"/>
		<updated>2011-05-29T19:54:52Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: /* f(n) for small n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\dots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and the sets in the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = d(n-1)+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/21/polymath3-polynomial-hirsch-conjecture-4/ Polymath3 : Polynomial Hirsch Conjecture 4] (Oct 21, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;. ([EHRR], adapting a proof from [KK])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary&#039;&#039;&#039; &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
On the other hand, for every n we have &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt;, as any of the following two examples show. &lt;br /&gt;
:  {0}, {1}, {12}, {2}, {23}, {3}, ... , {n-1 n}, {n}&lt;br /&gt;
:  {0}, {1}, {12}, {123}, ... {123...n}, {23...n}, {3...n}, ... , {n-1 n}, {n}    (2)&lt;br /&gt;
It is worth noting that in these two examples every F_i is a singleton. As mentioned above, in the singleton case  the maximum length is in fact 2n.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem&#039;&#039;&#039; For &amp;lt;math&amp;gt;n \leq 4&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;f(n) =2n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; For f(1) and f(2) this is given by the &amp;quot;trivial&amp;quot; upper and lower bounds above. For f(3) and f(4) we first state the following two general properties:&lt;br /&gt;
&lt;br /&gt;
* If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n (the maximal possible length in this case is the one achieved by example (2))&lt;br /&gt;
&lt;br /&gt;
* If &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt; is not used and two subsets A, B of cardinality n-1 appear in families F_i, F_j then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because every intermediate F_k contains A\cap B.&lt;br /&gt;
&lt;br /&gt;
WIth these two properties we prove f(3)=6 and f(4)=8  as follows:&lt;br /&gt;
&lt;br /&gt;
* For f(3), we have eight possible subsets of [n] but we can assume that 123 is not used, by the first argument above, which leaves only seven subsets to use. If the length was seven we would be in the singleton case, for which we know 2n is an upper bound: a contradiction. (A different argument is: if the three pairs {12}, {23} and {13} appear in three *different* F_i&#039;s, assume wlog that they do in precisely that order. Then the intermediate F_i must also contain {1}. So, the seven subsets give at most six F_i&#039;s).&lt;br /&gt;
&lt;br /&gt;
* For f(4), as before, we can assume no F_i contains 1234. We do a case study according to how many of the triplets abc are used. That is, how many of the I(abc)&#039;s are non-empty:&lt;br /&gt;
&lt;br /&gt;
If three or four I(abc) are non-empty, then they are confined to an interval of length 3 by the second property above. It follows that the I(ab) are confined in an interval of length 5 (because any of them is contained in one of the used abc&#039;s), and the I(a) are confined in an interval of length 7. We are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Towards the value of &amp;lt;math&amp;gt;f(5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows that f(5) is at least 11: [{}, {1}, {15}, {14, 5}, {12, 35, 4}, {13, 25, 45}, {245, 3}, {24, 34}, {234}, {23}, {2}]&lt;br /&gt;
&lt;br /&gt;
I can now show that f(5) is at most 12. Since we have the above example of length 11, f(5) must be 11 or 12. In fact, as a byproduct of my proof I have also found a second example of length 11: [{}, {1}, {12}, {125}, {15, 25}, {135, 245}, {145, 235}, {35, 45}, {345}, {34}, {4}].&lt;br /&gt;
&lt;br /&gt;
Suppose we have a sequence of length 13 on 5 elements. Wlog the first or last level consists only of the empty set, so we have a sequence of length 12 with no empty sets. Then:&lt;br /&gt;
&lt;br /&gt;
- F_1 \cup F_2 \cup F_3 already use at least three elements: if not, they form the unique sequence of length three with two elements and no empty set, namely [{1}, {12}, {2}]. But in this case the element {1} has already been abandoned in F_3, so it will not be used again. This means that F_3 … F_12 forms a convex sequence of length 10 in four elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
- With the same argument, F_10 \cup F_11 \cup F_13 use at least three elements. In particular, F_3 and F_10 have a common element, say 5, so restricting F_3,…,F_10 to the sets using 5 we have a sequence of length 8 on the other four elements. So far so good, since f(4)=8.&lt;br /&gt;
&lt;br /&gt;
- But this would imply that in the restriction we can assume wlog that F_3={\emptyset}. Put differently, F_3 contains the singleton {5}. Since F_3 is the first level using 5, this singleton could be deleted from F_3 without breaking convexity. This gets us back to the case where F_1\cupF_2\cup F_3 use only two elements, which we had discarded.&lt;br /&gt;
&lt;br /&gt;
I have been looking at the various cases using the method outlined above. And it looks like all the cases work and f(5) is 11. Let me start going through the cases. It may take a while to work through all of them.&lt;br /&gt;
&lt;br /&gt;
Suppose we have a counterexample that under restriction to sets containing the element 5 contains a set of length 7&lt;br /&gt;
which does not contain the set containing only the element 5 but contains a set which under restriction contains all 4 elements then we know that the original set must contain a set which contains all the elements and hence has length 10. So&lt;br /&gt;
we can eliminate this case.&lt;br /&gt;
&lt;br /&gt;
For the next case assume that in the restriction to sets containing the the element 5 we don’t have a set with four elements and the element 5 and we don’t&lt;br /&gt;
have a set containing the element 5 only and we have three sets containing the element 5 and three other elements. We note 3 or more sets of three elements and the element 5 contains all combinations of two elements and the element 5.&lt;br /&gt;
&lt;br /&gt;
Now the first family and the second family must contain a set containing at least a pair of elements. If not there are only single elements in the first two elements. Then one element will only appear in one single set which cause the entire case to have at most 9 families and we are done. And the last and the second to last family must also contain a set containing a pair of elements by similar reasoning. &lt;br /&gt;
&lt;br /&gt;
And since all pairs are contained in the three sets containing three or more elements and the element 5 the pairs mentioned at the second and first families and those at the other end must be in the sets of three and the element 5. And this means that the third and third to last families must contain sets containing three or more elements. Now if either of these families doesn’t contain the element 5 then they will contain a common element and then we continue this proof with that element replacing the element 5. If it is a previous case we use the previous proof and if it one the cases to come we will deal with it then.&lt;br /&gt;
&lt;br /&gt;
Next we note that the three sets of three elements and the element 5 must lie within three consecutive positions or else the extremal sets of three elements must contain a common pair which must appear four times which is not possible.&lt;br /&gt;
Now all the sets of two elements and the element 5 which are contained in the sets of three elements and the element 5 which as we have noted are all the sets&lt;br /&gt;
of two elements and the element 5 must appear in the positions containing the the three element sets and the element 5 or the two other positions adjacent to these&lt;br /&gt;
which is a total of five positions. But we have two sets of three elements at both ends of the sequence which correspond to a set of two elements and the element 5 which lie on a span of 7 elements and we have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of multi-subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
That &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; is at least equal to the conjectured &amp;lt;math&amp;gt;d(n-1)+1&amp;lt;/math&amp;gt; is shown by two examples:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,a_2,\dots,a_d\}: \sum a_i = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,d(n-1)+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_1 := \{11\dots11\}, F_2 := \{11\dots12\}, \dots F_d := \{12\dots22\},&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{d+1} := \{22\dots22\}, F_{d+2} := \{22\dots23\}, \dots F_{2d} := \{23\dots33\},&lt;br /&gt;
: \dots&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{(n-2)d+1} := \{n-1,n-1,\dots,n-1,n-1\},  \dots, F_{(n-1)d} := \{n-1,n,\dots,n,n\}, F_{(n-1)d+1} := \{n,n,\dots,n,n\}.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3? &lt;br /&gt;
&lt;br /&gt;
The answer seems to be &#039;&#039;yes&#039;&#039;:  &amp;lt;math&amp;gt;f(2,n)\ge 2n-O(\log n)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(d,n)\ge dn-O(d \log n)&amp;lt;/math&amp;gt;, ...&lt;br /&gt;
&lt;br /&gt;
As for upper bounds, to show that &amp;lt;math&amp;gt;f^*(d,n) \le 2^{d-1}(n-1) + 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(d,n) \le 2^{d-1}(n-d) + 1&amp;lt;/math&amp;gt;, we use the following lemma:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: Let &amp;lt;math&amp;gt;\{F_i\}_{i=1}^t&amp;lt;/math&amp;gt; be a convex and &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-uniform sequence of families of multisets in the alphabet &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Then, there is a partition of &amp;lt;math&amp;gt;\{1,\dots,t\}&amp;lt;/math&amp;gt; into disjoint intervals &amp;lt;math&amp;gt;I_1=\{1,\dots,t_1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;I_2=\{t_1+1,\dots,t_2\}&amp;lt;/math&amp;gt;,  ...,  &amp;lt;math&amp;gt;I_m=\{t_{m-1}+1,\dots,t\}&amp;lt;/math&amp;gt; with the following properties:&lt;br /&gt;
&lt;br /&gt;
: 1) For every &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\cap_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt; is not empty.&lt;br /&gt;
&lt;br /&gt;
: 2) Each &amp;lt;math&amp;gt;a\in [n]&amp;lt;/math&amp;gt; is in the support of at most two of the &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;&#039;s. &lt;br /&gt;
&lt;br /&gt;
: 3) If &amp;lt;math&amp;gt;a\in support(F_1)&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is not in the support of any &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; other than &amp;lt;math&amp;gt;I_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In parts (2) and (3) we call support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; the union &amp;lt;math&amp;gt;\cup_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;&lt;br /&gt;
We consider the supports&lt;br /&gt;
&amp;lt;math&amp;gt;U_1, U_2, \dots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  &lt;br /&gt;
Set &amp;lt;math&amp;gt;t_0=0&amp;lt;/math&amp;gt;;  let &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_1}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_0+1}=U_1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;t_2&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_2}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_1+1}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;t_m = t&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{t_{i-1}+1} \cup \ldots \cup U_{t_{i}}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt; (condition 2).  &lt;br /&gt;
By construction and convexity, all the supports &amp;lt;math&amp;gt;U_{t_{i-1}+1},\ldots,U_{t_{i}}&amp;lt;/math&amp;gt; have a common element (condition 1). Condition 3 holds by choice of &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: &amp;lt;math&amp;gt;f^*(d,n)\le 2^{d-1} (n-1) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: For &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; this is obvious, for &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt; we use induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider the partition in the lemma above. Let &amp;lt;math&amp;gt;S_k&amp;lt;/math&amp;gt; be the support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;, that is, the union of the supports of the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt;&#039;s with &amp;lt;math&amp;gt;i\in I_k&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; be an element that is active in the whole of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;. Restricting &amp;lt;math&amp;gt;\{F_i\}_{i\in I_k}&amp;lt;/math&amp;gt; to the multisets that contain &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; (and then deleting one copy of &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; from each) gives a convex &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform sequence of families of multisets of length &amp;lt;math&amp;gt;| I_k |&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;|S_k|&amp;lt;/math&amp;gt; elements, so: &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f^*(d-1, |S_k|) \le 2^{d-2} (\sum_{i=1}^m|S_k| -m) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, conditions (2) and (3) in the lemma imply that &amp;lt;math&amp;gt;\sum|S_k| \le 2n -1&amp;lt;/math&amp;gt;, (with equality only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element, that is if &amp;lt;math&amp;gt;F_1=\{aaa\dots aa\}&amp;lt;/math&amp;gt;). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -m) +m \le 2^{d-1}(n-1) -(m-1)2^{d-2} +m&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
so to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. This holds trivially. QED&lt;br /&gt;
&lt;br /&gt;
Observe that in the last step equality can only be obtained only if &amp;lt;math&amp;gt;d=2&amp;lt;/math&amp;gt;, in which case we indeed know that the bound is tight. (The factor &amp;lt;math&amp;gt;m-1&amp;lt;/math&amp;gt; is always positive since &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt; implies there is an element in the support of every &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; and we could then conclude &amp;lt;math&amp;gt;t\le f^*(d-1,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: &amp;lt;math&amp;gt;f(d,n)\le 2^{d-1} (n-d) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Proof: basically the same except now the length of each &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; is bounded by &amp;lt;math&amp;gt;f(d-1,|S_k|-1)&amp;lt;/math&amp;gt; (the deleted element &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; can no longer appear in the &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform subsequences).&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f(d-1, |S_k|-1) \le 2^{d-2} (\sum_{i=1}^m|S_k| -md) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; elements, so we have &amp;lt;math&amp;gt;\sum|S_k| \le 2n -d&amp;lt;/math&amp;gt;, (with equality again only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -md) +m \le 2^{d-2}(2n -d-md) +m = 2^{d-1}(n-d) - 2^{d-2}(m-1)d + m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-d(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(d2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [EHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
* [KK] Gil Kalai and Daniel J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra,  Bull. Amer. Math. Soc., 26:315-316, 1992.&lt;br /&gt;
&lt;br /&gt;
* [L] David G. Larman, Paths of polytopes, Proc. London Math. Soc., 20(3):161-178, 1970. &lt;br /&gt;
&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=4779</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=4779"/>
		<updated>2011-05-29T19:45:39Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: /* f(n) for small n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\dots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and the sets in the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = d(n-1)+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/21/polymath3-polynomial-hirsch-conjecture-4/ Polymath3 : Polynomial Hirsch Conjecture 4] (Oct 21, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;. ([EHRR], adapting a proof from [KK])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary&#039;&#039;&#039; &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
On the other hand, for every n we have &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt;, as any of the following two examples show. &lt;br /&gt;
:  {0}, {1}, {12}, {2}, {23}, {3}, ... , {n-1 n}, {n}&lt;br /&gt;
:  {0}, {1}, {12}, {123}, ... {123...n}, {23...n}, {3...n}, ... , {n-1 n}, {n}    (2)&lt;br /&gt;
It is worth noting that in these two examples every F_i is a singleton. As mentioned above, in the singleton case  the maximum length is in fact 2n.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem&#039;&#039;&#039; For &amp;lt;math&amp;gt;n \leq 4&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;f(n) =2n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; For f(1) and f(2) this is given by the &amp;quot;trivial&amp;quot; upper and lower bounds above. For f(3) and f(4) we first state the following two general properties:&lt;br /&gt;
&lt;br /&gt;
* If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n (the maximal possible length in this case is the one achieved by example (2))&lt;br /&gt;
&lt;br /&gt;
* If &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt; is not used and two subsets A, B of cardinality n-1 appear in families F_i, F_j then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because every intermediate F_k contains A\cap B.&lt;br /&gt;
&lt;br /&gt;
WIth these two properties we prove f(3)=6 and f(4)=8  as follows:&lt;br /&gt;
&lt;br /&gt;
* For f(3), we have eight possible subsets of [n] but we can assume that 123 is not used, by the first argument above, which leaves only seven subsets to use. If the length was seven we would be in the singleton case, for which we know 2n is an upper bound: a contradiction. (A different argument is: if the three pairs {12}, {23} and {13} appear in three *different* F_i&#039;s, assume wlog that they do in precisely that order. Then the intermediate F_i must also contain {1}. So, the seven subsets give at most six F_i&#039;s).&lt;br /&gt;
&lt;br /&gt;
* For f(4), as before, we can assume no F_i contains 1234. We do a case study according to how many of the triplets abc are used. That is, how many of the I(abc)&#039;s are non-empty:&lt;br /&gt;
&lt;br /&gt;
If three or four I(abc) are non-empty, then they are confined to an interval of length 3 by the second property above. It follows that the I(ab) are confined in an interval of length 5 (because any of them is contained in one of the used abc&#039;s), and the I(a) are confined in an interval of length 7. We are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Towards the value of &amp;lt;math&amp;gt;f(5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows that f(5) is at least 11: [{}, {1}, {15}, {14, 5}, {12, 35, 4}, {13, 25, 45}, {245, 3}, {24, 34}, {234}, {23}, {2}]&lt;br /&gt;
&lt;br /&gt;
I can now show that f(5) is at most 12. Since we have the above example of length 11, f(5) must be 11 or 12. In fact, as a byproduct of my proof I have also found a second example of length 11: [{}, {1}, {12}, {125}, {15, 25}, {135, 245}, {145, 235}, {35, 45}, {345}, {34}, {4}].&lt;br /&gt;
&lt;br /&gt;
Suppose we have a sequence of length 13 on 5 elements. Wlog the first or last level consists only of the empty set, so we have a sequence of length 12 with no empty sets. Then:&lt;br /&gt;
&lt;br /&gt;
- F_1 \cup F_2 \cup F_3 already use at least three elements: if not, they form the unique sequence of length three with two elements and no empty set, namely [{1}, {12}, {2}]. But in this case the element {1} has already been abandoned in F_3, so it will not be used again. This means that F_3 … F_12 forms a convex sequence of length 10 in four elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
- With the same argument, F_10 \cup F_11 \cup F_13 use at least three elements. In particular, F_3 and F_10 have a common element, say 5, so restricting F_3,…,F_10 to the sets using 5 we have a sequence of length 8 on the other four elements. So far so good, since f(4)=8.&lt;br /&gt;
&lt;br /&gt;
- But this would imply that in the restriction we can assume wlog that F_3={\emptyset}. Put differently, F_3 contains the singleton {5}. Since F_3 is the first level using 5, this singleton could be deleted from F_3 without breaking convexity. This gets us back to the case where F_1\cupF_2\cup F_3 use only two elements, which we had discarded.&lt;br /&gt;
&lt;br /&gt;
I have been looking at the various cases using the method outlined above. And it looks like all the cases work and f(5) is 11. Let me start going through the cases. It may take a while to work through all of them.&lt;br /&gt;
&lt;br /&gt;
Suppose we have a counterexample that under restriction to sets containing the element 5 contains a set of length 7&lt;br /&gt;
which does not contain the set containing only the element 5 but contains a set which under restriction contains all 4 elements then we know that the original set must contain a set which contains all the elements and hence has length 10. So&lt;br /&gt;
we can eliminate this case.&lt;br /&gt;
&lt;br /&gt;
For the next case assume that in the restriction to sets containing the the element 5 we don’t have a set with four elements and the element 5 and we don’t&lt;br /&gt;
have a set containing the element 5 only and we have three sets containing the element 5 and three other elements. We note 3 or more sets of three elements and the element 5 contains all combinations of two elements and the element 5.&lt;br /&gt;
&lt;br /&gt;
Now the first family and the second family must contain a set containing at least a pair of elements. If not there are only single elements in the first two elements. Then one element will only appear in one single set which cause the entire case to have at most 9 families and we are done. And the last and the second to last family must also contain a set containing a pair of elements by similar reasoning. &lt;br /&gt;
&lt;br /&gt;
And since all pairs are contained in the three sets containing three or more elements and the element 5 the pairs mentioned at the second and first families and those at the other end must be in the sets of three and the element 5. And this means that the third and third to last families must contain sets containing three or more elements. Now if either of these families doesn’t contain the element 5 then they will contain a common element and then we continue this proof with that element replacing the element 5. If it is a previous case we use the previous proof and if it one the cases to come we will deal with it then.&lt;br /&gt;
&lt;br /&gt;
Next we note that the three sets of three elements and the element 5 must lie within three consecutive positions or else the extremal sets of three elements must contain a common pair which must appear four times which is not possible.&lt;br /&gt;
Now all the sets of two elements and the element 5 which are contained in the sets of three elements and the element 5 which as we have noted are all the sets&lt;br /&gt;
of two elements and the element 5 must appear in the positions containing the the three element sets and the element 5 or the two other positions adjacent to these&lt;br /&gt;
which is a total of five positions. But we have two sets of three elements at both ends of the sequence which correspond to a set of two elements and the element 5 which lie on a span of 7 elements and we have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
For the next case assume that in the restriction to sets containing the the element 5 we don’t have a set with four elements and the element 5 and we don’t have a set containing the element 5 only and we have exactly two containing the element 5 and three other elements.&lt;br /&gt;
&lt;br /&gt;
We note two sets of three elements and the element 5 contains all but one combinations of two elements and the element 5. We also note that this combination consists of the two elements which are only in one of the sets of three elements and the element 5. Call these elements a and b.&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of multi-subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
That &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; is at least equal to the conjectured &amp;lt;math&amp;gt;d(n-1)+1&amp;lt;/math&amp;gt; is shown by two examples:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,a_2,\dots,a_d\}: \sum a_i = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,d(n-1)+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_1 := \{11\dots11\}, F_2 := \{11\dots12\}, \dots F_d := \{12\dots22\},&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{d+1} := \{22\dots22\}, F_{d+2} := \{22\dots23\}, \dots F_{2d} := \{23\dots33\},&lt;br /&gt;
: \dots&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{(n-2)d+1} := \{n-1,n-1,\dots,n-1,n-1\},  \dots, F_{(n-1)d} := \{n-1,n,\dots,n,n\}, F_{(n-1)d+1} := \{n,n,\dots,n,n\}.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3? &lt;br /&gt;
&lt;br /&gt;
The answer seems to be &#039;&#039;yes&#039;&#039;:  &amp;lt;math&amp;gt;f(2,n)\ge 2n-O(\log n)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(d,n)\ge dn-O(d \log n)&amp;lt;/math&amp;gt;, ...&lt;br /&gt;
&lt;br /&gt;
As for upper bounds, to show that &amp;lt;math&amp;gt;f^*(d,n) \le 2^{d-1}(n-1) + 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(d,n) \le 2^{d-1}(n-d) + 1&amp;lt;/math&amp;gt;, we use the following lemma:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: Let &amp;lt;math&amp;gt;\{F_i\}_{i=1}^t&amp;lt;/math&amp;gt; be a convex and &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-uniform sequence of families of multisets in the alphabet &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Then, there is a partition of &amp;lt;math&amp;gt;\{1,\dots,t\}&amp;lt;/math&amp;gt; into disjoint intervals &amp;lt;math&amp;gt;I_1=\{1,\dots,t_1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;I_2=\{t_1+1,\dots,t_2\}&amp;lt;/math&amp;gt;,  ...,  &amp;lt;math&amp;gt;I_m=\{t_{m-1}+1,\dots,t\}&amp;lt;/math&amp;gt; with the following properties:&lt;br /&gt;
&lt;br /&gt;
: 1) For every &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\cap_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt; is not empty.&lt;br /&gt;
&lt;br /&gt;
: 2) Each &amp;lt;math&amp;gt;a\in [n]&amp;lt;/math&amp;gt; is in the support of at most two of the &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;&#039;s. &lt;br /&gt;
&lt;br /&gt;
: 3) If &amp;lt;math&amp;gt;a\in support(F_1)&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is not in the support of any &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; other than &amp;lt;math&amp;gt;I_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In parts (2) and (3) we call support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; the union &amp;lt;math&amp;gt;\cup_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;&lt;br /&gt;
We consider the supports&lt;br /&gt;
&amp;lt;math&amp;gt;U_1, U_2, \dots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  &lt;br /&gt;
Set &amp;lt;math&amp;gt;t_0=0&amp;lt;/math&amp;gt;;  let &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_1}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_0+1}=U_1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;t_2&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_2}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_1+1}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;t_m = t&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{t_{i-1}+1} \cup \ldots \cup U_{t_{i}}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt; (condition 2).  &lt;br /&gt;
By construction and convexity, all the supports &amp;lt;math&amp;gt;U_{t_{i-1}+1},\ldots,U_{t_{i}}&amp;lt;/math&amp;gt; have a common element (condition 1). Condition 3 holds by choice of &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: &amp;lt;math&amp;gt;f^*(d,n)\le 2^{d-1} (n-1) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: For &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; this is obvious, for &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt; we use induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider the partition in the lemma above. Let &amp;lt;math&amp;gt;S_k&amp;lt;/math&amp;gt; be the support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;, that is, the union of the supports of the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt;&#039;s with &amp;lt;math&amp;gt;i\in I_k&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; be an element that is active in the whole of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;. Restricting &amp;lt;math&amp;gt;\{F_i\}_{i\in I_k}&amp;lt;/math&amp;gt; to the multisets that contain &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; (and then deleting one copy of &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; from each) gives a convex &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform sequence of families of multisets of length &amp;lt;math&amp;gt;| I_k |&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;|S_k|&amp;lt;/math&amp;gt; elements, so: &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f^*(d-1, |S_k|) \le 2^{d-2} (\sum_{i=1}^m|S_k| -m) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, conditions (2) and (3) in the lemma imply that &amp;lt;math&amp;gt;\sum|S_k| \le 2n -1&amp;lt;/math&amp;gt;, (with equality only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element, that is if &amp;lt;math&amp;gt;F_1=\{aaa\dots aa\}&amp;lt;/math&amp;gt;). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -m) +m \le 2^{d-1}(n-1) -(m-1)2^{d-2} +m&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
so to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. This holds trivially. QED&lt;br /&gt;
&lt;br /&gt;
Observe that in the last step equality can only be obtained only if &amp;lt;math&amp;gt;d=2&amp;lt;/math&amp;gt;, in which case we indeed know that the bound is tight. (The factor &amp;lt;math&amp;gt;m-1&amp;lt;/math&amp;gt; is always positive since &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt; implies there is an element in the support of every &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; and we could then conclude &amp;lt;math&amp;gt;t\le f^*(d-1,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: &amp;lt;math&amp;gt;f(d,n)\le 2^{d-1} (n-d) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Proof: basically the same except now the length of each &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; is bounded by &amp;lt;math&amp;gt;f(d-1,|S_k|-1)&amp;lt;/math&amp;gt; (the deleted element &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; can no longer appear in the &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform subsequences).&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f(d-1, |S_k|-1) \le 2^{d-2} (\sum_{i=1}^m|S_k| -md) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; elements, so we have &amp;lt;math&amp;gt;\sum|S_k| \le 2n -d&amp;lt;/math&amp;gt;, (with equality again only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -md) +m \le 2^{d-2}(2n -d-md) +m = 2^{d-1}(n-d) - 2^{d-2}(m-1)d + m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-d(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(d2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [EHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
* [KK] Gil Kalai and Daniel J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra,  Bull. Amer. Math. Soc., 26:315-316, 1992.&lt;br /&gt;
&lt;br /&gt;
* [L] David G. Larman, Paths of polytopes, Proc. London Math. Soc., 20(3):161-178, 1970. &lt;br /&gt;
&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3746</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3746"/>
		<updated>2010-12-06T20:58:43Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: /* f(n) for small n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\dots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and the sets in the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = d(n-1)+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/21/polymath3-polynomial-hirsch-conjecture-4/ Polymath3 : Polynomial Hirsch Conjecture 4] (Oct 21, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;. ([EHRR], adapting a proof from [KK])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary&#039;&#039;&#039; &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
On the other hand, for every n we have &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt;, as any of the following two examples show. &lt;br /&gt;
:  {0}, {1}, {12}, {2}, {23}, {3}, ... , {n-1 n}, {n}&lt;br /&gt;
:  {0}, {1}, {12}, {123}, ... {123...n}, {23...n}, {3...n}, ... , {n-1 n}, {n}    (2)&lt;br /&gt;
It is worth noting that in these two examples every F_i is a singleton. As mentioned above, in the singleton case  the maximum length is in fact 2n.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem&#039;&#039;&#039; For &amp;lt;math&amp;gt;n \leq 4&amp;lt;/math&amp;gt;,  &amp;lt;math&amp;gt;f(n) =2n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; For f(1) and f(2) this is given by the &amp;quot;trivial&amp;quot; upper and lower bounds above. For f(3) and f(4) we first state the following two general properties:&lt;br /&gt;
&lt;br /&gt;
* If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n (the maximal possible length in this case is the one achieved by example (2))&lt;br /&gt;
&lt;br /&gt;
* If &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt; is not used and two subsets A, B of cardinality n-1 appear in families F_i, F_j then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because every intermediate F_k contains A\cap B.&lt;br /&gt;
&lt;br /&gt;
WIth these two properties we prove f(3)=6 and f(4)=8  as follows:&lt;br /&gt;
&lt;br /&gt;
* For f(3), we have eight possible subsets of [n] but we can assume that 123 is not used, by the first argument above, which leaves only seven subsets to use. If the length was seven we would be in the singleton case, for which we know 2n is an upper bound: a contradiction. (A different argument is: if the three pairs {12}, {23} and {13} appear in three *different* F_i&#039;s, assume wlog that they do in precisely that order. Then the intermediate F_i must also contain {1}. So, the seven subsets give at most six F_i&#039;s).&lt;br /&gt;
&lt;br /&gt;
* For f(4), as before, we can assume no F_i contains 1234. We do a case study according to how many of the triplets abc are used. That is, how many of the I(abc)&#039;s are non-empty:&lt;br /&gt;
&lt;br /&gt;
If three or four I(abc) are non-empty, then they are confined to an interval of length 3 by the second property above. It follows that the I(ab) are confined in an interval of length 5 (because any of them is contained in one of the used abc&#039;s), and the I(a) are confined in an interval of length 7. We are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Towards the value of &amp;lt;math&amp;gt;f(5)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following example shows that f(5) is at least 11: [{}, {1}, {15}, {14, 5}, {12, 35, 4}, {13, 25, 45}, {245, 3}, {24, 34}, {234}, {23}, {2}]&lt;br /&gt;
&lt;br /&gt;
I can now show that f(5) is at most 12. Since we have the above example of length 11, f(5) must be 11 or 12. In fact, as a byproduct of my proof I have also found a second example of length 11: [{}, {1}, {12}, {125}, {15, 25}, {135, 245}, {145, 235}, {35, 45}, {345}, {34}, {4}].&lt;br /&gt;
&lt;br /&gt;
Suppose we have a sequence of length 13 on 5 elements. Wlog the first or last level consists only of the empty set, so we have a sequence of length 12 with no empty sets. Then:&lt;br /&gt;
&lt;br /&gt;
- F_1 \cup F_2 \cup F_3 already use at least three elements: if not, they form the unique sequence of length three with two elements and no empty set, namely [{1}, {12}, {2}]. But in this case the element {1} has already been abandoned in F_3, so it will not be used again. This means that F_3 … F_12 forms a convex sequence of length 10 in four elements, a contradiction.&lt;br /&gt;
&lt;br /&gt;
- With the same argument, F_10 \cup F_11 \cup F_13 use at least three elements. In particular, F_3 and F_10 have a common element, say 5, so restricting F_3,…,F_10 to the sets using 5 we have a sequence of length 8 on the other four elements. So far so good, since f(4)=8.&lt;br /&gt;
&lt;br /&gt;
- But this would imply that in the restriction we can assume wlog that F_3={\emptyset}. Put differently, F_3 contains the singleton {5}. Since F_3 is the first level using 5, this singleton could be deleted from F_3 without breaking convexity. This gets us back to the case where F_1\cupF_2\cup F_3 use only two elements, which we had discarded.&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of multi-subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
That &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; is at least equal to the conjectured &amp;lt;math&amp;gt;d(n-1)+1&amp;lt;/math&amp;gt; is shown by two examples:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,a_2,\dots,a_d\}: \sum a_i = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,d(n-1)+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_1 := \{11\dots11\}, F_2 := \{11\dots12\}, \dots F_d := \{12\dots22\},&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{d+1} := \{22\dots22\}, F_{d+2} := \{22\dots23\}, \dots F_{2d} := \{23\dots33\},&lt;br /&gt;
: \dots&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{(n-2)d+1} := \{n-1,n-1,\dots,n-1,n-1\},  \dots, F_{(n-1)d} := \{n-1,n,\dots,n,n\}, F_{(n-1)d+1} := \{n,n,\dots,n,n\}.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3? &lt;br /&gt;
&lt;br /&gt;
The answer seems to be &#039;&#039;yes&#039;&#039;:  &amp;lt;math&amp;gt;f(2,n)\ge 2n-O(\log n)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(d,n)\ge dn-O(d \log n)&amp;lt;/math&amp;gt;, ...&lt;br /&gt;
&lt;br /&gt;
As for upper bounds, to show that &amp;lt;math&amp;gt;f^*(d,n) \le 2^{d-1}(n-1) + 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(d,n) \le 2^{d-1}(n-d) + 1&amp;lt;/math&amp;gt;, we use the following lemma:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: Let &amp;lt;math&amp;gt;\{F_i\}_{i=1}^t&amp;lt;/math&amp;gt; be a convex and &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-uniform sequence of families of multisets in the alphabet &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Then, there is a partition of &amp;lt;math&amp;gt;\{1,\dots,t\}&amp;lt;/math&amp;gt; into disjoint intervals &amp;lt;math&amp;gt;I_1=\{1,\dots,t_1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;I_2=\{t_1+1,\dots,t_2\}&amp;lt;/math&amp;gt;,  ...,  &amp;lt;math&amp;gt;I_m=\{t_{m-1}+1,\dots,t\}&amp;lt;/math&amp;gt; with the following properties:&lt;br /&gt;
&lt;br /&gt;
: 1) For every &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\cap_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt; is not empty.&lt;br /&gt;
&lt;br /&gt;
: 2) Each &amp;lt;math&amp;gt;a\in [n]&amp;lt;/math&amp;gt; is in the support of at most two of the &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;&#039;s. &lt;br /&gt;
&lt;br /&gt;
: 3) If &amp;lt;math&amp;gt;a\in support(F_1)&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is not in the support of any &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; other than &amp;lt;math&amp;gt;I_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In parts (2) and (3) we call support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; the union &amp;lt;math&amp;gt;\cup_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;&lt;br /&gt;
We consider the supports&lt;br /&gt;
&amp;lt;math&amp;gt;U_1, U_2, \dots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  &lt;br /&gt;
Set &amp;lt;math&amp;gt;t_0=0&amp;lt;/math&amp;gt;;  let &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_1}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_0+1}=U_1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;t_2&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_2}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_1+1}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;t_m = t&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{t_{i-1}+1} \cup \ldots \cup U_{t_{i}}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt; (condition 2).  &lt;br /&gt;
By construction and convexity, all the supports &amp;lt;math&amp;gt;U_{t_{i-1}+1},\ldots,U_{t_{i}}&amp;lt;/math&amp;gt; have a common element (condition 1). Condition 3 holds by choice of &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: &amp;lt;math&amp;gt;f^*(d,n)\le 2^{d-1} (n-1) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: For &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; this is obvious, for &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt; we use induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider the partition in the lemma above. Let &amp;lt;math&amp;gt;S_k&amp;lt;/math&amp;gt; be the support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;, that is, the union of the supports of the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt;&#039;s with &amp;lt;math&amp;gt;i\in I_k&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; be an element that is active in the whole of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;. Restricting &amp;lt;math&amp;gt;\{F_i\}_{i\in I_k}&amp;lt;/math&amp;gt; to the multisets that contain &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; (and then deleting one copy of &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; from each) gives a convex &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform sequence of families of multisets of length &amp;lt;math&amp;gt;| I_k |&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;|S_k|&amp;lt;/math&amp;gt; elements, so: &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f^*(d-1, |S_k|) \le 2^{d-2} (\sum_{i=1}^m|S_k| -m) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, conditions (2) and (3) in the lemma imply that &amp;lt;math&amp;gt;\sum|S_k| \le 2n -1&amp;lt;/math&amp;gt;, (with equality only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element, that is if &amp;lt;math&amp;gt;F_1=\{aaa\dots aa\}&amp;lt;/math&amp;gt;). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -m) +m \le 2^{d-1}(n-1) -(m-1)2^{d-2} +m&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
so to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. This holds trivially. QED&lt;br /&gt;
&lt;br /&gt;
Observe that in the last step equality can only be obtained only if &amp;lt;math&amp;gt;d=2&amp;lt;/math&amp;gt;, in which case we indeed know that the bound is tight. (The factor &amp;lt;math&amp;gt;m-1&amp;lt;/math&amp;gt; is always positive since &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt; implies there is an element in the support of every &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; and we could then conclude &amp;lt;math&amp;gt;t\le f^*(d-1,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: &amp;lt;math&amp;gt;f(d,n)\le 2^{d-1} (n-d) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Proof: basically the same except now the length of each &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; is bounded by &amp;lt;math&amp;gt;f(d-1,|S_k|-1)&amp;lt;/math&amp;gt; (the deleted element &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; can no longer appear in the &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform subsequences).&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f(d-1, |S_k|-1) \le 2^{d-2} (\sum_{i=1}^m|S_k| -md) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; elements, so we have &amp;lt;math&amp;gt;\sum|S_k| \le 2n -d&amp;lt;/math&amp;gt;, (with equality again only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -md) +m \le 2^{d-2}(2n -d-md) +m = 2^{d-1}(n-d) - 2^{d-2}(m-1)d + m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-d(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(d2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [EHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
* [KK] Gil Kalai and Daniel J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra,  Bull. Amer. Math. Soc., 26:315-316, 1992.&lt;br /&gt;
&lt;br /&gt;
* [L] David G. Larman, Paths of polytopes, Proc. London Math. Soc., 20(3):161-178, 1970. &lt;br /&gt;
&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3715</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3715"/>
		<updated>2010-10-22T20:09:32Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: Minor change&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\dots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and the sets in the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = d(n-1)+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;. ([EHRR], adapting a proof from [KK])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary&#039;&#039;&#039; &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
On the other hand, for every n we have &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt;, as any of the following two examples show. &lt;br /&gt;
:  {0}, {1}, {12}, {2}, {23}, {3}, ... , {n-1 n}, {n}&lt;br /&gt;
:  {0}, {1}, {12}, {123}, ... {123...n}, {23...n}, {3...n}, ... , {n-1 n}, {n}    (2)&lt;br /&gt;
It is worth noting that in these two examples every F_i is a singleton. As mentioned above, in the singleton case  the maximum length is in fact 2n.&lt;br /&gt;
&lt;br /&gt;
For small n&amp;gt;=1 (at least up to f(4)) the formula f(n)=2n holds. For f(1) and f(2) this is given by the &amp;quot;trivial&amp;quot; upper and lower bounds above. For f(3) and f(4) we first state the following two general properties:&lt;br /&gt;
&lt;br /&gt;
* If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n (the maximal possible length in this case is the one achieved by example (2))&lt;br /&gt;
&lt;br /&gt;
* If &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt; is not used and two subsets A, B of cardinality n-1 appear in families F_i, F_j then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because every intermediate F_k contains A\cap B.&lt;br /&gt;
&lt;br /&gt;
WIth these two properties we prove f(3)=6 and f(4)=8  as follows:&lt;br /&gt;
&lt;br /&gt;
* For f(3), we have eight possible subsets of [n] but we can assume that 123 is not used, by the first argument above, which leaves only seven subsets to use. If the length was seven we would be in the singleton case, for which we know 2n is an upper bound: a contradiction. (A different argument is: if the three pairs {12}, {23} and {13} appear in three *different* F_i&#039;s, assume wlog that they do in precisely that order. Then the intermediate F_i must also contain {1}. So, the seven subsets give at most six F_i&#039;s).&lt;br /&gt;
&lt;br /&gt;
* For f(4), as before, we can assume no F_i contains 1234. We do a case study according to how many of the triplets abc are used. That is, how many of the I(abc)&#039;s are non-empty:&lt;br /&gt;
&lt;br /&gt;
If three or four I(abc) are non-empty, then they are confined to an interval of length 3 by the second property above. It follows that the I(ab) are confined in an interval of length 5 (because any of them is contained in one of the used abc&#039;s), and the I(a) are confined in an interval of length 7. We are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
&lt;br /&gt;
I think we have the values of f(1),f(2),f(3) and f(4). Now I am looking at f(5) &lt;br /&gt;
we have it is greater than or equal to 10 and less than or equal to f(4) + f(2) + &lt;br /&gt;
f(2) -1 = 8+4+4-1=15.&lt;br /&gt;
&lt;br /&gt;
The following example shows that f(5) is at least 11: [{}, {1}, {15}, {14, 5}, &lt;br /&gt;
{12, 35, 4}, {13, 25, 45}, {245, 3}, {24, 34}, {234}, {23}, {2}]&lt;br /&gt;
So f(5) is between 11 and 15.&lt;br /&gt;
&lt;br /&gt;
Lemma: Suppose that a convex sequence of families of sets on [n] has an F_i &lt;br /&gt;
containing [n-1] as one of its sets. Then, for every S\in F_j in the sequence we &lt;br /&gt;
have |i-j| \le n-|S|+1.&lt;br /&gt;
&lt;br /&gt;
Proof: Suppose wlog that j &amp;lt; i. Convexity implies that F_{j+1} has a set S&#039; &lt;br /&gt;
containing S\cap [n-1]= S\setminus n. Such an S&#039; can only be obtained by either &lt;br /&gt;
removing n from S or adding one (or more) elements of [n-1] to S, or both. &lt;br /&gt;
Repeating this we get a sequence of sets each contained in one of the families &lt;br /&gt;
F_j, F_{j+1}, …, F_i which is increasing except at some point a decreasing step &lt;br /&gt;
(removing n) is allowed. But convexity also implies that the “removing&#039;&#039; step can &lt;br /&gt;
be taken only once in this sequence.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
Corollary: The length of such a sequence is at most 2n+2.&lt;br /&gt;
&lt;br /&gt;
Proof: By the Lemma, for every F_j containing a non-empty set we have |i-j|\le n. &lt;br /&gt;
Thus, all those F_j‘s are within an interval of length 2n+1 centered at i. &lt;br /&gt;
Counting for the empty set gives 2n+2.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
So for the cases 13 to 15 for f(5) we need only look at triples since they are greater then 2n+2 for n=5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think I can show the following: if an (n-1)-tuple arises in a convex sequence of subsets of [n], then the sequence must have length at most 2n. (I mean this for every n, not only n=5). I have to leave now but will post the argument this afternoon. This means that to find f(5) we should concentrate on sequences using sets of at most three elements.&lt;br /&gt;
&lt;br /&gt;
From the proof of the lemma we see that the only way we can get length greater than 2n is if on both sides of F_i we get subsequences that include the step “delete n”. The typical shape of the sequence we get is something like the following (the example is for n=5, the stars represent elements of [4] and are supposed to form a unimodal sequence: increasing from the emptyset to [4] then decreasing back to a singleton.&lt;br /&gt;
&lt;br /&gt;
The goal is to show that such a shape implies not convexity with respect to n (5 in this case). This looks obvious in the sequence above but it is not, The initial sequence of families may contain other sets (using 5) in each F_i and those sets could in principle restore convexity. I am pretty convinced this cannot happen but I do not have a clean argument for it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of multi-subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
That &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; is at least equal to the conjectured &amp;lt;math&amp;gt;d(n-1)+1&amp;lt;/math&amp;gt; is shown by two examples:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,a_2,\dots,a_d\}: \sum a_i = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,d(n-1)+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_1 := \{11\dots11\}, F_2 := \{11\dots12\}, \dots F_d := \{12\dots22\},&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{d+1} := \{22\dots22\}, F_{d+2} := \{22\dots23\}, \dots F_{2d} := \{23\dots33\},&lt;br /&gt;
: \dots&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{(n-2)d+1} := \{n-1,n-1,\dots,n-1,n-1\},  \dots, F_{(n-1)d} := \{n-1,n,\dots,n,n\}, F_{(n-1)d+1} := \{n,n,\dots,n,n\}.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3? &lt;br /&gt;
&lt;br /&gt;
The answer seems to be &#039;&#039;yes&#039;&#039;:  &amp;lt;math&amp;gt;f(2,n)\ge 2n-O(\log n)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(d,n)\ge dn-O(d \log n)&amp;lt;/math&amp;gt;, ...&lt;br /&gt;
&lt;br /&gt;
As for upper bounds, to show that &amp;lt;math&amp;gt;f^*(d,n) \le 2^{d-1}(n-1) + 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(d,n) \le 2^{d-1}(n-d) + 1&amp;lt;/math&amp;gt;, we use the following lemma:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: Let &amp;lt;math&amp;gt;\{F_i\}_{i=1}^t&amp;lt;/math&amp;gt; be a convex and &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-uniform sequence of families of multisets in the alphabet &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Then, there is a partition of &amp;lt;math&amp;gt;\{1,\dots,t\}&amp;lt;/math&amp;gt; into disjoint intervals &amp;lt;math&amp;gt;I_1=\{1,\dots,t_1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;I_2=\{t_1+1,\dots,t_2\}&amp;lt;/math&amp;gt;,  ...,  &amp;lt;math&amp;gt;I_m=\{t_{m-1}+1,\dots,t\}&amp;lt;/math&amp;gt; with the following properties:&lt;br /&gt;
&lt;br /&gt;
: 1) For every &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\cap_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt; is not empty.&lt;br /&gt;
&lt;br /&gt;
: 2) Each &amp;lt;math&amp;gt;a\in [n]&amp;lt;/math&amp;gt; is in the support of at most two of the &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;&#039;s. &lt;br /&gt;
&lt;br /&gt;
: 3) If &amp;lt;math&amp;gt;a\in support(F_1)&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is not in the support of any &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; other than &amp;lt;math&amp;gt;I_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In parts (2) and (3) we call support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; the union &amp;lt;math&amp;gt;\cup_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;&lt;br /&gt;
We consider the supports&lt;br /&gt;
&amp;lt;math&amp;gt;U_1, U_2, \dots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  &lt;br /&gt;
Set &amp;lt;math&amp;gt;t_0=0&amp;lt;/math&amp;gt;;  let &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_1}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_0+1}=U_1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;t_2&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_2}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_1+1}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;t_m = t&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{t_{i-1}+1} \cup \ldots \cup U_{t_{i}}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt; (condition 2).  &lt;br /&gt;
By construction and convexity, all the supports &amp;lt;math&amp;gt;U_{t_{i-1}+1},\ldots,U_{t_{i}}&amp;lt;/math&amp;gt; have a common element (condition 1). Condition 3 holds by choice of &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: &amp;lt;math&amp;gt;f^*(d,n)\le 2^{d-1} (n-1) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: For &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; this is obvious, for &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt; we use induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider the partition in the lemma above. Let &amp;lt;math&amp;gt;S_k&amp;lt;/math&amp;gt; be the support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;, that is, the union of the supports of the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt;&#039;s with &amp;lt;math&amp;gt;i\in I_k&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; be an element that is active in the whole of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;. Restricting &amp;lt;math&amp;gt;\{F_i\}_{i\in I_k}&amp;lt;/math&amp;gt; to the multisets that contain &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; (and then deleting one copy of &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; from each) gives a convex &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform sequence of families of multisets of length &amp;lt;math&amp;gt;| I_k |&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;|S_k|&amp;lt;/math&amp;gt; elements, so: &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f^*(d-1, |S_k|) \le 2^{d-2} (\sum_{i=1}^m|S_k| -m) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, conditions (2) and (3) in the lemma imply that &amp;lt;math&amp;gt;\sum|S_k| \le 2n -1&amp;lt;/math&amp;gt;, (with equality only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element, that is if &amp;lt;math&amp;gt;F_1=\{aaa\dots aa\}&amp;lt;/math&amp;gt;). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -m) +m \le 2^{d-1}(n-1) -(m-1)2^{d-2} +m&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
so to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. This holds trivially. QED&lt;br /&gt;
&lt;br /&gt;
Observe that in the last step equality can only be obtained only if &amp;lt;math&amp;gt;d=2&amp;lt;/math&amp;gt;, in which case we indeed know that the bound is tight. (The factor &amp;lt;math&amp;gt;m-1&amp;lt;/math&amp;gt; is always positive since &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt; implies there is an element in the support of every &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; and we could then conclude &amp;lt;math&amp;gt;t\le f^*(d-1,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: &amp;lt;math&amp;gt;f(d,n)\le 2^{d-1} (n-d) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Proof: basically the same except now the length of each &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; is bounded by &amp;lt;math&amp;gt;f(d-1,|S_k|-1)&amp;lt;/math&amp;gt; (the deleted element &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; can no longer appear in the &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform subsequences).&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f(d-1, |S_k|-1) \le 2^{d-2} (\sum_{i=1}^m|S_k| -md) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; elements, so we have &amp;lt;math&amp;gt;\sum|S_k| \le 2n -d&amp;lt;/math&amp;gt;, (with equality again only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -md) +m \le 2^{d-2}(2n -d-md) +m = 2^{d-1}(n-d) - 2^{d-2}(m-1)d + m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-d(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(d2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [EHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
* [KK] Gil Kalai and Daniel J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra,  Bull. Amer. Math. Soc., 26:315-316, 1992.&lt;br /&gt;
&lt;br /&gt;
* [L] David G. Larman, Paths of polytopes, Proc. London Math. Soc., 20(3):161-178, 1970. &lt;br /&gt;
&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3714</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3714"/>
		<updated>2010-10-22T20:07:50Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: addition of material&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\dots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and the sets in the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = d(n-1)+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;. ([EHRR], adapting a proof from [KK])&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary&#039;&#039;&#039; &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
On the other hand, for every n we have &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt;, as any of the following two examples show. &lt;br /&gt;
:  {0}, {1}, {12}, {2}, {23}, {3}, ... , {n-1 n}, {n}&lt;br /&gt;
:  {0}, {1}, {12}, {123}, ... {123...n}, {23...n}, {3...n}, ... , {n-1 n}, {n}    (2)&lt;br /&gt;
It is worth noting that in these two examples every F_i is a singleton. As mentioned above, in the singleton case  the maximum length is in fact 2n.&lt;br /&gt;
&lt;br /&gt;
For small n&amp;gt;=1 (at least up to f(4)) the formula f(n)=2n holds. For f(1) and f(2) this is given by the &amp;quot;trivial&amp;quot; upper and lower bounds above. For f(3) and f(4) we first state the following two general properties:&lt;br /&gt;
&lt;br /&gt;
* If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n (the maximal possible length in this case is the one achieved by example (2))&lt;br /&gt;
&lt;br /&gt;
* If &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt; is not used and two subsets A, B of cardinality n-1 appear in families F_i, F_j then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because every intermediate F_k contains A\cap B.&lt;br /&gt;
&lt;br /&gt;
WIth these two properties we prove f(3)=6 and f(4)=8  as follows:&lt;br /&gt;
&lt;br /&gt;
* For f(3), we have eight possible subsets of [n] but we can assume that 123 is not used, by the first argument above, which leaves only seven subsets to use. If the length was seven we would be in the singleton case, for which we know 2n is an upper bound: a contradiction. (A different argument is: if the three pairs {12}, {23} and {13} appear in three *different* F_i&#039;s, assume wlog that they do in precisely that order. Then the intermediate F_i must also contain {1}. So, the seven subsets give at most six F_i&#039;s).&lt;br /&gt;
&lt;br /&gt;
* For f(4), as before, we can assume no F_i contains 1234. We do a case study according to how many of the triplets abc are used. That is, how many of the I(abc)&#039;s are non-empty:&lt;br /&gt;
&lt;br /&gt;
If three or four I(abc) are non-empty, then they are confined to an interval of length 3 by the second property above. It follows that the I(ab) are confined in an interval of length 5 (because any of them is contained in one of the used abc&#039;s), and the I(a) are confined in an interval of length 7. We are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
&lt;br /&gt;
I think we have the values of f(1),f(2),f(3) and f(4). Now I am looking at f(5) &lt;br /&gt;
we have it is greater than or equal to 10 and less than or equal to f(4) + f(2) + &lt;br /&gt;
f(2) -1 = 8+4+4-1=15.&lt;br /&gt;
&lt;br /&gt;
The following example shows that f(5) is at least 11: [{}, {1}, {15}, {14, 5}, &lt;br /&gt;
{12, 35, 4}, {13, 25, 45}, {245, 3}, {24, 34}, {234}, {23}, {2}]&lt;br /&gt;
So f(5) is between 11 and 15.&lt;br /&gt;
&lt;br /&gt;
Lemma: Suppose that a convex sequence of families of sets on [n] has an F_i &lt;br /&gt;
containing [n-1] as one of its sets. Then, for every S\in F_j in the sequence we &lt;br /&gt;
have |i-j| \le n-|S|+1.&lt;br /&gt;
&lt;br /&gt;
Proof: Suppose wlog that j &amp;lt; i. Convexity implies that F_{j+1} has a set S&#039; &lt;br /&gt;
containing S\cap [n-1]= S\setminus n. Such an S&#039; can only be obtained by either &lt;br /&gt;
removing n from S or adding one (or more) elements of [n-1] to S, or both. &lt;br /&gt;
Repeating this we get a sequence of sets each contained in one of the families &lt;br /&gt;
F_j, F_{j+1}, …, F_i which is increasing except at some point a decreasing step &lt;br /&gt;
(removing n) is allowed. But convexity also implies that the “removing&#039;&#039; step can &lt;br /&gt;
be taken only once in this sequence.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
Corollary: The length of such a sequence is at most 2n+2.&lt;br /&gt;
&lt;br /&gt;
Proof: By the Lemma, for every F_j containing a non-empty set we have |i-j|\le n. &lt;br /&gt;
Thus, all those F_j‘s are within an interval of length 2n+1 centered at i. &lt;br /&gt;
Counting for the empty set gives 2n+2.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
So for the cases 13 to 15 for f(5) we need only look at triples since they are greater then 2n+2 for n=5.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I think I can show the following: if an (n-1)-tuple arises in a convex sequence of subsets of [n], then the sequence must have length at most 2n. (I mean this for every n, not only n=5). I have to leave now but will post the argument this afternoon. This means that to find f(5) we should concentrate on sequences using sets of at most three elements.&lt;br /&gt;
&lt;br /&gt;
From the proof of the lemma we see that the only way we can get length greater than 2n is if on both sides of F_i we get subsequences that include the step “delete n”. The typical shape of the sequence we get is something like the following (the example is for n=5, the stars represent elements of [4] and are supposed to form a unimodal sequence: increasing from the emptyset to [4] then decreasing back to a singleton.&lt;br /&gt;
&lt;br /&gt;
0&lt;br /&gt;
*&lt;br /&gt;
**&lt;br /&gt;
**5&lt;br /&gt;
***5&lt;br /&gt;
***&lt;br /&gt;
****&lt;br /&gt;
***&lt;br /&gt;
**&lt;br /&gt;
**5&lt;br /&gt;
*5&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
The goal is to show that such a shape implies not convexity with respect to n (5 in this case). This looks obvious in the sequence above but it is not, The initial sequence of families may contain other sets (using 5) in each F_i and those sets could in principle restore convexity. I am pretty convinced this cannot happen but I do not have a clean argument for it&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; denote the maximum possible length of a convex $d$-uniform sequence of families of multi-subsets of &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
That &amp;lt;math&amp;gt;f^*(d,n)&amp;lt;/math&amp;gt; is at least equal to the conjectured &amp;lt;math&amp;gt;d(n-1)+1&amp;lt;/math&amp;gt; is shown by two examples:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,a_2,\dots,a_d\}: \sum a_i = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,d(n-1)+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_1 := \{11\dots11\}, F_2 := \{11\dots12\}, \dots F_d := \{12\dots22\},&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{d+1} := \{22\dots22\}, F_{d+2} := \{22\dots23\}, \dots F_{2d} := \{23\dots33\},&lt;br /&gt;
: \dots&lt;br /&gt;
:&amp;lt;math&amp;gt;F_{(n-2)d+1} := \{n-1,n-1,\dots,n-1,n-1\},  \dots, F_{(n-1)d} := \{n-1,n,\dots,n,n\}, F_{(n-1)d+1} := \{n,n,\dots,n,n\}.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
: Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3? &lt;br /&gt;
&lt;br /&gt;
The answer seems to be &#039;&#039;yes&#039;&#039;:  &amp;lt;math&amp;gt;f(2,n)\ge 2n-O(\log n)&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(d,n)\ge dn-O(d \log n)&amp;lt;/math&amp;gt;, ...&lt;br /&gt;
&lt;br /&gt;
As for upper bounds, to show that &amp;lt;math&amp;gt;f^*(d,n) \le 2^{d-1}(n-1) + 1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(d,n) \le 2^{d-1}(n-d) + 1&amp;lt;/math&amp;gt;, we use the following lemma:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: Let &amp;lt;math&amp;gt;\{F_i\}_{i=1}^t&amp;lt;/math&amp;gt; be a convex and &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-uniform sequence of families of multisets in the alphabet &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;. Then, there is a partition of &amp;lt;math&amp;gt;\{1,\dots,t\}&amp;lt;/math&amp;gt; into disjoint intervals &amp;lt;math&amp;gt;I_1=\{1,\dots,t_1\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;I_2=\{t_1+1,\dots,t_2\}&amp;lt;/math&amp;gt;,  ...,  &amp;lt;math&amp;gt;I_m=\{t_{m-1}+1,\dots,t\}&amp;lt;/math&amp;gt; with the following properties:&lt;br /&gt;
&lt;br /&gt;
: 1) For every &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\cap_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt; is not empty.&lt;br /&gt;
&lt;br /&gt;
: 2) Each &amp;lt;math&amp;gt;a\in [n]&amp;lt;/math&amp;gt; is in the support of at most two of the &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;&#039;s. &lt;br /&gt;
&lt;br /&gt;
: 3) If &amp;lt;math&amp;gt;a\in support(F_1)&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;a&amp;lt;/math&amp;gt; is not in the support of any &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; other than &amp;lt;math&amp;gt;I_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In parts (2) and (3) we call support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; the union &amp;lt;math&amp;gt;\cup_{i\in I_k} support(F_i)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;&lt;br /&gt;
We consider the supports&lt;br /&gt;
&amp;lt;math&amp;gt;U_1, U_2, \dots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  &lt;br /&gt;
Set &amp;lt;math&amp;gt;t_0=0&amp;lt;/math&amp;gt;;  let &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_1}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_0+1}=U_1&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;t_2&amp;lt;/math&amp;gt; be the last label for which &amp;lt;math&amp;gt;U_{t_2}&amp;lt;/math&amp;gt; is not disjoint from &amp;lt;math&amp;gt;U_{t_1+1}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;t_m = t&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{t_{i-1}+1} \cup \ldots \cup U_{t_{i}}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt; (condition 2).  &lt;br /&gt;
By construction and convexity, all the supports &amp;lt;math&amp;gt;U_{t_{i-1}+1},\ldots,U_{t_{i}}&amp;lt;/math&amp;gt; have a common element (condition 1). Condition 3 holds by choice of &amp;lt;math&amp;gt;t_1&amp;lt;/math&amp;gt;.&lt;br /&gt;
QED&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: &amp;lt;math&amp;gt;f^*(d,n)\le 2^{d-1} (n-1) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: For &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; this is obvious, for &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt; we use induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider the partition in the lemma above. Let &amp;lt;math&amp;gt;S_k&amp;lt;/math&amp;gt; be the support of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;, that is, the union of the supports of the &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt;&#039;s with &amp;lt;math&amp;gt;i\in I_k&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; be an element that is active in the whole of &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt;. Restricting &amp;lt;math&amp;gt;\{F_i\}_{i\in I_k}&amp;lt;/math&amp;gt; to the multisets that contain &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; (and then deleting one copy of &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; from each) gives a convex &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform sequence of families of multisets of length &amp;lt;math&amp;gt;| I_k |&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;|S_k|&amp;lt;/math&amp;gt; elements, so: &lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f^*(d-1, |S_k|) \le 2^{d-2} (\sum_{i=1}^m|S_k| -m) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now, conditions (2) and (3) in the lemma imply that &amp;lt;math&amp;gt;\sum|S_k| \le 2n -1&amp;lt;/math&amp;gt;, (with equality only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element, that is if &amp;lt;math&amp;gt;F_1=\{aaa\dots aa\}&amp;lt;/math&amp;gt;). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -m) +m \le 2^{d-1}(n-1) -(m-1)2^{d-2} +m&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
so to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. This holds trivially. QED&lt;br /&gt;
&lt;br /&gt;
Observe that in the last step equality can only be obtained only if &amp;lt;math&amp;gt;d=2&amp;lt;/math&amp;gt;, in which case we indeed know that the bound is tight. (The factor &amp;lt;math&amp;gt;m-1&amp;lt;/math&amp;gt; is always positive since &amp;lt;math&amp;gt;m=1&amp;lt;/math&amp;gt; implies there is an element in the support of every &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; and we could then conclude &amp;lt;math&amp;gt;t\le f^*(d-1,n)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: &amp;lt;math&amp;gt;f(d,n)\le 2^{d-1} (n-d) + 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Proof: basically the same except now the length of each &amp;lt;math&amp;gt;I_k&amp;lt;/math&amp;gt; is bounded by &amp;lt;math&amp;gt;f(d-1,|S_k|-1)&amp;lt;/math&amp;gt; (the deleted element &amp;lt;math&amp;gt;a_k&amp;lt;/math&amp;gt; can no longer appear in the &amp;lt;math&amp;gt;(d-1)&amp;lt;/math&amp;gt;-uniform subsequences).&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt; t= \sum_{i=1}^m |I_k| \le \sum_{i=1}^m f(d-1, |S_k|-1) \le 2^{d-2} (\sum_{i=1}^m|S_k| -md) +m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; has at least &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt; elements, so we have &amp;lt;math&amp;gt;\sum|S_k| \le 2n -d&amp;lt;/math&amp;gt;, (with equality again only possible if the support of &amp;lt;math&amp;gt;F_1&amp;lt;/math&amp;gt; is a single element). Hence:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;2^{d-2} (\sum|S_k| -md) +m \le 2^{d-2}(2n -d-md) +m = 2^{d-1}(n-d) - 2^{d-2}(m-1)d + m&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
So to finish the proof we only need to show that &amp;lt;math&amp;gt;1\ge m-d(m-1)2^{d-2}&amp;lt;/math&amp;gt;, or, equivalently, that &amp;lt;math&amp;gt;(m-1)(d2^{d-2} -1) \ge 0&amp;lt;/math&amp;gt;. QED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [EHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
* [KK] Gil Kalai and Daniel J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra,  Bull. Amer. Math. Soc., 26:315-316, 1992.&lt;br /&gt;
&lt;br /&gt;
* [L] David G. Larman, Paths of polytopes, Proc. London Math. Soc., 20(3):161-178, 1970. &lt;br /&gt;
&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3706</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3706"/>
		<updated>2010-10-10T20:02:42Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: addition of material&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
Let f(d,n) be the largest value of t in the above conjecture for which all F_i have cardinality exactly d.  Let f^*(d,n) be the largest value for which the F_i have cardinality t and are allowed to be multisets.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Nicolai&#039;s conjecture&#039;&#039;&#039; f^*(d,n) = (d-1)n+1.&lt;br /&gt;
&lt;br /&gt;
This would imply the combinatorial polynomial Hirsch conjecture and hence the polynomial Hirsch conjecture.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/10/polymath3-polynomial-hirsch-conjecture-3/ Polymath3 : Polynomial Hirsch Conjecture 3] (Oct 10, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
* f(0)=1&lt;br /&gt;
* f(1)=2&lt;br /&gt;
* f(2)=4&lt;br /&gt;
* f(3)=6&lt;br /&gt;
* 8 &amp;lt;= f(4) &amp;lt;= 11.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
More generally, the example&lt;br /&gt;
&lt;br /&gt;
: {0}, {1}, {12}, {123}, ..., {123...n}, {23...n}, {3...n}, ..., {n}    (2)&lt;br /&gt;
&lt;br /&gt;
shows that &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt; for any n &amp;gt;= 1.&lt;br /&gt;
&lt;br /&gt;
For instance this gives f(3) &amp;gt; =6.  (But there are other 6-family examples that work here, e.g. {0}, {1}, {12}, {2}, {23}, {3}.)&lt;br /&gt;
&lt;br /&gt;
To show that f(3) &amp;lt;= 6, assume for contradiction that we have seven families obeying (*).  Suppose that one of these families, say F_i, contained 123.  Then by (*), for any set R in F_j for j &amp;lt; i, there is a set in F_{j+1} that contains R.  Thus there is an ascending chain of sets in &amp;lt;math&amp;gt;F_1, F_2, ..., F_{i-1}&amp;lt;/math&amp;gt;, and similarly for &amp;lt;math&amp;gt;F_7, F_6, \ldots, F_{i+1}&amp;lt;/math&amp;gt;.  Also, at most one of these chains can contain the empty set, and neither of them can contain 123.  Thus one of the chains has length at most 3 and the other has length at most 2, giving rise to just 6 families instead of 7, contradiction.&lt;br /&gt;
&lt;br /&gt;
So the only remaining possibility is if the remaining 7 sets 0, 1, 2, 3, 12, 23, 31 are distributed among the 7 families so that each family consists of a single set.  Without loss of generality we may assume that 1 appears to the left of 2, which appears to the left of 3.  By (*), this means that none of the families to the left of 2 can contain a set with a 3 in it, and none of the families to the right of 2 can contain a set with a 1 in it.  But then there is no place for 13 to go, a contradiction.&lt;br /&gt;
&lt;br /&gt;
For f(4), the example (2) gives a lower bound of 8, while the bound (1) gives an upper bound of 6+4+2-1 = 11.  Can we do better?&lt;br /&gt;
&lt;br /&gt;
If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n.  In particular, any sequence of families in [4] of length greater than 8 cannot contain 1234.&lt;br /&gt;
&lt;br /&gt;
So we may assume without loss of generality that 1234 does not appear.  This implies that if two sets A, B appear in families F_i, F_j and &amp;lt;math&amp;gt;|A \cap B| \geq 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because there can be at most three families that contain &amp;lt;math&amp;gt;A \cap B&amp;lt;/math&amp;gt; if the full set 1234 is excluded.&lt;br /&gt;
&lt;br /&gt;
I think that f(4)=8. What follows is a case-by-case argument; I am not sure that it gives any real insight. I use the dual formulation notations.&lt;br /&gt;
&lt;br /&gt;
First, the case when I(1234) is not empty is settled so we assume the contrary. Moreover, at most three of the I(abc) can be non empty. First consider the case when I(123), I(124), I(134) are non empty. Then by looking for example at the I(1a) we see that the 3 singletons are confined in an interval of length 3. It follows that the I(ab) are confined in an interval of length 5, that the I(a) are confined in an interval of length 7, and we are done because I(\emptyset) contains at most one more element.&lt;br /&gt;
&lt;br /&gt;
The second case is when exactly two I(abc) are non-empty, I(123) and I(124) say. If their values differ by 2 (which is maximum possible), then I(13) and I(23) are confined in an interval E of length 3, I(14) and I(24) are confined in an interval F of length 3, and F intersects E in only one point (between I(123) and I(124)). Now I(34) can be empty, in which case the I(ab) are confined in an interval E\cup F of length 5, or I(34) is a singleton and we only have to show that it is in that same interval.&lt;br /&gt;
But if it where, e.g., on the right of this interval, then I(3) would have at least 2 points not lying in any of I(13), I(23), I(123) nor I(34), a contradiction. If I(123) and I(124) are adjacent or equal, then all of I(ab) where ab is not 34 are confined in a interval G of length 4, which is a union of two intervals of length 3, the first one containing I(13) and I(23), the second one I(14) and I(24). A similar argument than above proves that I(34) must be adjacent to G, so that once again the I(ab) are confined in an interval of length 5.&lt;br /&gt;
&lt;br /&gt;
The third case is when exactly one of the I(abc) is not empty, I(123) say. Then I(12), I(23) and I(13) are confined in a interval E of length 3 around I(123), and I(14), I(24), I(34) are either empty or singletons. Looking at I(1) shows that (if not empty) I(14) is in the 2-neighborhood of E. But looking at I(4) shows that all non-empty I(a4) are at distance at most 2, so that all I(ab) are confined in some interval of length 5. Some of them could be empty, but in any case it is easily checked that I(\emptyset) is confined in an interval of length 8.&lt;br /&gt;
&lt;br /&gt;
For the fourth case, assume that all I(abc) are empty but some I(ab) are not. Any two I(ab), I(ac) must lie at distance at most 2 (look at I(a) ). If for example I(12) and I(34) where at distance 5 or more, then all other I(ab) would be empty (otherwise they should be close to both I(12) and I(34)), so that I(1), I(2) would be confined in an interval E and I(3), I(4) to an interval F, such that E and F are separated by a gap of length 2. We then get a contradiction by looking at I(\emptyset). We conclude that all non-empty I(ab) are confined in a length 5 interval if all 1234 are represented, or confined in an interval of length 3 otherwise. In both cases, we get the desired conclusion.&lt;br /&gt;
&lt;br /&gt;
Last, consider the case when all I(ab) are empty. Then we have at most 4 points covered by the I(a), and at most 5 by I(\emptyset), and we are (finally) done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; be the largest number of families obeying (*) in which all families consist only of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-element sets.  Thus, for instance, &amp;lt;math&amp;gt;f(0,n)=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(1,n)=n&amp;lt;/math&amp;gt;.  We claim that &amp;lt;math&amp;gt;f(d,n) \leq 2^{d-1} n&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;d=1,2,3,\ldots&amp;lt;/math&amp;gt;.  (This argument is from [AHRR].)&lt;br /&gt;
&lt;br /&gt;
We prove this by induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.  The case &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; is trivial, so now suppose &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt;.  We consider the supports &amp;lt;math&amp;gt;U_1, U_2, \ldots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  Set &amp;lt;math&amp;gt;a_1 := 1&amp;lt;/math&amp;gt;, set &amp;lt;math&amp;gt;a_2&amp;lt;/math&amp;gt; to be the first label for which &amp;lt;math&amp;gt;U_{a_2}&amp;lt;/math&amp;gt; is disjoint from &amp;lt;math&amp;gt;U_{a_1}&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;a_3&amp;lt;/math&amp;gt; be the first label for which &amp;lt;math&amp;gt;U_{a_3}&amp;lt;/math&amp;gt; is disjoint from &amp;lt;math&amp;gt;U_{a_2}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;a_m = t+1&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{a_i} \cup \ldots \cup U_{a_{i+1}-1}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt;.  In particular, &amp;lt;math&amp;gt;\sum_i |S_i| \leq 2n&amp;lt;/math&amp;gt;.  On the other hand, by construction and convexity, all the supports &amp;lt;math&amp;gt;U_{a_i},\ldots,U_{a_{i+1}-1}&amp;lt;/math&amp;gt; have a common element.  Restricting by this element and using the induction hypothesis, we conclude that &amp;lt;math&amp;gt;a_{i+1}-a_i \leq 2^{d-2} |S_i|&amp;lt;/math&amp;gt; for each &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;.  Summing in &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; we obtain the claim.&lt;br /&gt;
&lt;br /&gt;
In fact we get a slight refinement &amp;lt;math&amp;gt;f(d,n) \leq 2^{d-1} n-2^{d-1}+1&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;U_1&amp;lt;/math&amp;gt; is contained in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; but is disjoint from all the other &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;, allowing one to get the improved bound &amp;lt;math&amp;gt;\sum_i |S_i| \leq 2n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The above argument works for multisets (in which the d-element sets &amp;lt;math&amp;gt;\{x_1,\ldots,x_d\}&amp;lt;/math&amp;gt; in the families &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to have multiplicity).  In that case, the bound &amp;lt;math&amp;gt;2n-1&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;f(2,n)&amp;lt;/math&amp;gt; is actually attained, as can be seen by the example&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a,b\}: a+b = i+1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,2n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, one has a lower bound &amp;lt;math&amp;gt;f(d,n) \geq dn-d+1&amp;lt;/math&amp;gt; in the multiset case from the example&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,\ldots,a_d\}: a_1+\ldots+a_d = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,dn-d+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [AHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3698</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3698"/>
		<updated>2010-10-05T19:20:03Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
* f(0)=1&lt;br /&gt;
* f(1)=2&lt;br /&gt;
* f(2)=4&lt;br /&gt;
* f(3)=6&lt;br /&gt;
* 8 &amp;lt;= f(4) &amp;lt;= 11.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
More generally, the example&lt;br /&gt;
&lt;br /&gt;
: {0}, {1}, {12}, {123}, ..., {123...n}, {23...n}, {3...n}, ..., {n}    (2)&lt;br /&gt;
&lt;br /&gt;
shows that &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt; for any n &amp;gt;= 1.&lt;br /&gt;
&lt;br /&gt;
For instance this gives f(3) &amp;gt; =6.  (But there are other 6-family examples that work here, e.g. {0}, {1}, {12}, {2}, {23}, {3}.)&lt;br /&gt;
&lt;br /&gt;
To show that f(3) &amp;lt;= 6, assume for contradiction that we have seven families obeying (*).  Suppose that one of these families, say F_i, contained 123.  Then by (*), for any set R in F_j for j &amp;lt; i, there is a set in F_{j+1} that contains R.  Thus there is an ascending chain of sets in &amp;lt;math&amp;gt;F_1, F_2, ..., F_{i-1}&amp;lt;/math&amp;gt;, and similarly for &amp;lt;math&amp;gt;F_7, F_6, \ldots, F_{i+1}&amp;lt;/math&amp;gt;.  Also, at most one of these chains can contain the empty set, and neither of them can contain 123.  Thus one of the chains has length at most 3 and the other has length at most 2, giving rise to just 6 families instead of 7, contradiction.&lt;br /&gt;
&lt;br /&gt;
So the only remaining possibility is if the remaining 7 sets 0, 1, 2, 3, 12, 23, 31 are distributed among the 7 families so that each family consists of a single set.  Without loss of generality we may assume that 1 appears to the left of 2, which appears to the left of 3.  By (*), this means that none of the families to the left of 2 can contain a set with a 3 in it, and none of the families to the right of 2 can contain a set with a 1 in it.  But then there is no place for 13 to go, a contradiction.&lt;br /&gt;
&lt;br /&gt;
For f(4), the example (2) gives a lower bound of 8, while the bound (1) gives an upper bound of 6+4+2-1 = 11.  Can we do better?&lt;br /&gt;
&lt;br /&gt;
If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n.  In particular, any sequence of families in [4] of length greater than 8 cannot contain 1234.&lt;br /&gt;
&lt;br /&gt;
So we may assume without loss of generality that 1234 does not appear.  This implies that if two sets A, B appear in families F_i, F_j and &amp;lt;math&amp;gt;|A \cap B| \geq 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because there can be at most three families that contain &amp;lt;math&amp;gt;A \cap B&amp;lt;/math&amp;gt; if the full set 1234 is excluded.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; be the largest number of families obeying (*) in which all families consist only of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-element sets.  Thus, for instance, &amp;lt;math&amp;gt;f(0,n)=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(1,n)=n&amp;lt;/math&amp;gt;.  We claim that &amp;lt;math&amp;gt;f(d,n) \leq 2^{d-1} n&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;d=1,2,3,\ldots&amp;lt;/math&amp;gt;.  (This argument is from [AHRR].)&lt;br /&gt;
&lt;br /&gt;
We prove this by induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.  The case &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; is trivial, so now suppose &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt;.  We consider the supports &amp;lt;math&amp;gt;U_1, U_2, \ldots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  Set &amp;lt;math&amp;gt;a_1 := 1&amp;lt;/math&amp;gt;, set &amp;lt;math&amp;gt;a_2&amp;lt;/math&amp;gt; to be the first label for which &amp;lt;math&amp;gt;U_{a_2}&amp;lt;/math&amp;gt; is disjoint from &amp;lt;math&amp;gt;U_{a_1}&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;a_3&amp;lt;/math&amp;gt; be the first label for which &amp;lt;math&amp;gt;U_{a_3}&amp;lt;/math&amp;gt; is disjoint from &amp;lt;math&amp;gt;U_{a_2}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;a_m = t+1&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{a_i} \cup \ldots \cup U_{a_{i+1}-1}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt;.  In particular, &amp;lt;math&amp;gt;\sum_i |S_i| \leq 2n&amp;lt;/math&amp;gt;.  On the other hand, by construction and convexity, all the supports &amp;lt;math&amp;gt;U_{a_i},\ldots,U_{a_{i+1}-1}&amp;lt;/math&amp;gt; have a common element.  Restricting by this element and using the induction hypothesis, we conclude that &amp;lt;math&amp;gt;a_{i+1}-a_i \leq 2^{d-2} |S_i|&amp;lt;/math&amp;gt; for each &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;.  Summing in &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; we obtain the claim.&lt;br /&gt;
&lt;br /&gt;
In fact we get a slight refinement &amp;lt;math&amp;gt;f(d,n) \leq 2^{d-1} n-2^{d-1}+1&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;U_1&amp;lt;/math&amp;gt; is contained in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; but is disjoint from all the other &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;, allowing one to get the improved bound &amp;lt;math&amp;gt;\sum_i |S_i| \leq 2n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The above argument works for multisets (in which the d-element sets &amp;lt;math&amp;gt;\{x_1,\ldots,x_d\}&amp;lt;/math&amp;gt; in the families &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to have multiplicity).  In that case, the bound &amp;lt;math&amp;gt;2n-1&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;f(2,n)&amp;lt;/math&amp;gt; is actually attained, as can be seen by the example&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a,b\}: a+b = i+1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,2n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, one has a lower bound &amp;lt;math&amp;gt;f(d,n) \geq dn-d+1&amp;lt;/math&amp;gt; in the multiset case from the example&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,\ldots,a_d\}: a_1+\ldots+a_d = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,dn-d+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [AHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3697</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=3697"/>
		<updated>2010-10-03T23:56:43Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The polynomial Hirsch conjecture (or polynomial diameter conjecture) states the following:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
One approach to this problem is purely combinatorial.  It is known that this conjecture follows from&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Combinatorial polynomial Hirsch conjecture&#039;&#039;&#039;: Consider t non-empty families of subsets &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;\{1,\ldots,n\}&amp;lt;/math&amp;gt; that are disjoint (i.e. no set S can belong to two of the families &amp;lt;math&amp;gt;F_i, F_j&amp;lt;/math&amp;gt;).  Suppose that&lt;br /&gt;
:: For every &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, and every &amp;lt;math&amp;gt;S \in F_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T \in F_k&amp;lt;/math&amp;gt;, there exists &amp;lt;math&amp;gt;R \in F_j&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;S \cap T \subset R&amp;lt;/math&amp;gt;.  (*)&lt;br /&gt;
: Let f(n) be the largest value of t for which this is possible.&lt;br /&gt;
: Conjecture: f(n) is of polynomial size in n.&lt;br /&gt;
&lt;br /&gt;
== Threads ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17, 2009)  Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/08/09/the-polynomial-hirsch-conjecture-discussion-thread/ The Polynomial Hirsch Conjecture: Discussion Thread] (Aug 9, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/10/06/the-polynomial-hirsch-conjecture-discussion-thread-continued/ The Polynomial Hirsch Conjecture: Discussion Thread, Continued] (Oct 6, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/12/08/plans-for-polymath3/ Plans for polymath3] (Dec 8, 2009) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/19/the-polynomial-hirsch-conjecture-the-crux-of-the-matter/ The Polynomial Hirsch Conjecture: The Crux of the Matter.] (Jun 19, 2010) Inactive.&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/09/29/polymath-3-polynomial-hirsch-conjecture/ Polynomial Hirsch Conjecture] (Sep 29, 2010)  Inactive&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/10/03/polymath-3-the-polynomial-hirsch-conjecture-2 The Polynomial Hirsch Conjecture 2] (Oct 3, 2010) &#039;&#039;&#039;Active&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a list of [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;br /&gt;
&lt;br /&gt;
== Possible strategies ==&lt;br /&gt;
&lt;br /&gt;
(some list here?)&lt;br /&gt;
&lt;br /&gt;
== Terminology ==&lt;br /&gt;
&lt;br /&gt;
A &#039;&#039;&#039;convex sequence of families&#039;&#039;&#039; on a domain &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a sequence &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; of non-empty families of subsets of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; which are disjoint (&amp;lt;math&amp;gt;F_i \cap F_j = \emptyset&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i&amp;lt;j&amp;lt;/math&amp;gt;) and obey the convexity condition (*).  We call &amp;lt;math&amp;gt;t&amp;lt;/math&amp;gt; the &#039;&#039;&#039;length&#039;&#039;&#039; of the convex family.  Thus, &amp;lt;math&amp;gt;f(n)&amp;lt;/math&amp;gt; is the largest length of a convex sequence of families on &amp;lt;math&amp;gt;[n]&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;&#039;support&#039;&#039;&#039; or &#039;&#039;&#039;1-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i \subset X&amp;lt;/math&amp;gt; of a family &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; of subsets of X is defined as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E = \{ x \in X: x \in E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;F_1,\ldots,F_t&amp;lt;/math&amp;gt; is a convex sequence of families, then the supports obey the convexity condition &amp;lt;math&amp;gt;U_i \cap U_k \subset U_j&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, given any &amp;lt;math&amp;gt;r \geq 1&amp;lt;/math&amp;gt;, define the &#039;&#039;&#039;r-shadow&#039;&#039;&#039; &amp;lt;math&amp;gt;U_i^{(k)} \subset \binom{X}{r} := \{ A \subset X: |A|=r\}&amp;lt;/math&amp;gt; as&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;U_i^{(r)} := \bigcup_{E \in F_i} \binom{E}{r} = \{ A \in \binom{X}{r}: A \subset E \hbox{ for some } E \in F_i \}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Then the r-shadows are also convex: &amp;lt;math&amp;gt;U_i^{(r)} \cap U_k^{(r)} \subset U_j^{(r)}&amp;lt;/math&amp;gt; whenever &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose an interval &amp;lt;math&amp;gt;F_i,\ldots,F_k&amp;lt;/math&amp;gt; of families contains a common element &amp;lt;math&amp;gt;m\in X&amp;lt;/math&amp;gt; in the supports &amp;lt;math&amp;gt;U_i,\ldots,U_k&amp;lt;/math&amp;gt;.  (By convexity, this occurs whenever &amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt; belongs to both &amp;lt;math&amp;gt;U_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_k&amp;lt;/math&amp;gt;.) Then one can define the &#039;&#039;&#039;restriction&#039;&#039;&#039; &amp;lt;math&amp;gt;F_i^{-m},\ldots,F_k^{-m}&amp;lt;/math&amp;gt; of these families by m by the formula&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-m} := \{ A \subset X \backslash \{m\}: A \cup \{m\} \in F_j \};&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
one can verify that this is also a convex family.  More generally, if the r-shadows &amp;lt;math&amp;gt;U^{(r)}_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U^{(r)}_k&amp;lt;/math&amp;gt; (and hence all intermediate r-shadows &amp;lt;math&amp;gt;U^{(r)}_j&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;) contain a common element &amp;lt;math&amp;gt;B \in \binom{X}{r}&amp;lt;/math&amp;gt;), then the restriction&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;F_j^{-B} := \{ A \subset X \backslash B: A \cup B \in F_j \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
is also a convex family.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Partial results and remarks ==&lt;br /&gt;
&lt;br /&gt;
In [EHRR] it is noted that f(n) is at least quadratic in n.&lt;br /&gt;
&lt;br /&gt;
Trivially, f(n) is non-decreasing in n.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality, we may assume that one of the extreme families consists only of the empty set.  We may then delete that family, at the cost of decreasing the number of families by 1, and work under the assumption that the empty set is not present.  (But for inductive purposes it seems to be convenient to have the empty set around.)&lt;br /&gt;
&lt;br /&gt;
Even after the empty set is removed, we may assume without loss of generality that the two extreme families are singleton sets, since we can throw out all but one element from each extreme family.&lt;br /&gt;
&lt;br /&gt;
We may assume that all families are antichains, since we can throw out any member of a family that is contained in another member of the same family.&lt;br /&gt;
&lt;br /&gt;
The support &amp;lt;math&amp;gt;U_i := \bigcup_{E \in F_i} E&amp;lt;/math&amp;gt; of a family can only change at most 2n times (adopting the convention that F_i is empty for i&amp;lt;1 or i&amp;gt;t.  Indeed, as i increases, once an element is deleted from the support, it cannot be reinstated.  This already gives the bound &amp;lt;math&amp;gt;t \leq 2n&amp;lt;/math&amp;gt; in the case when all the F_i are singleton sets.&lt;br /&gt;
&lt;br /&gt;
In particular, this shows that by paying a factor of 2n at worst in t, one can assume without loss of generality that all families have maximum support.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 1&#039;&#039;&#039; For any &amp;lt;math&amp;gt;n &amp;gt; 1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;f(n) \leq f(n-1) + 2 f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Consider t families &amp;lt;math&amp;gt;F_1,\ldots,F_t \subset \{1,\ldots,n\}&amp;lt;/math&amp;gt; obeying (*).  Consider the largest s so that the cumulative support &amp;lt;math&amp;gt;U_{[1,s]} := U_1 \cup \ldots \cup U_s&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq s \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
Consider the largest r so that the cumulative support &amp;lt;math&amp;gt;U_{[n-r+1,n]} := U_{n-r+1} \cup \ldots \cup U_n&amp;lt;/math&amp;gt; is at most n/2.   Clearly, &amp;lt;math&amp;gt;0 \leq r \leq f(\lfloor n/2\rfloor)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;t \leq s+r&amp;lt;/math&amp;gt; then we are done, so suppose that &amp;lt;math&amp;gt;t &amp;gt; s+r&amp;lt;/math&amp;gt;.  By construction, the sets &amp;lt;math&amp;gt;U_{[1,s+1]}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{[n-r,n]}&amp;lt;/math&amp;gt; both have cardinality more than &amp;lt;math&amp;gt;n/2&amp;lt;/math&amp;gt; and thus have a common element, say m.  By (*), each of the &amp;lt;math&amp;gt;t-r-s&amp;lt;/math&amp;gt; supports &amp;lt;math&amp;gt;U_{s+1},\ldots,U_{n-r}&amp;lt;/math&amp;gt; must thus contain this element m.  The restriction of &amp;lt;math&amp;gt;F_{s+1},\ldots,F_{n-r}&amp;lt;/math&amp;gt; is then a convex family on &amp;lt;math&amp;gt;[n]\backslash \{m\}&amp;lt;/math&amp;gt;, hence &amp;lt;math&amp;gt;t-r-s \leq f(n-1)&amp;lt;/math&amp;gt;, and the claim follows.  QED&lt;br /&gt;
&lt;br /&gt;
Note: the same argument gives &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(a) + f(b)&amp;lt;/math&amp;gt; for any positive integers a, b with &amp;lt;math&amp;gt;a+b+1 \geq n&amp;lt;/math&amp;gt;.  In particular we have the slight refinement&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor).&amp;lt;/math&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
In fact we can boost this a bit to&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;f(n) \leq f(n-1) + f(\lfloor n/2\rfloor) + f(\lfloor (n-1)/2\rfloor)-1&amp;lt;/math&amp;gt;  (1)&lt;br /&gt;
&lt;br /&gt;
by noting that at most one of the left and right chains of families can contain the empty set (and we can always assume without loss of generality that the empty set is on one side).&lt;br /&gt;
&lt;br /&gt;
Iterating this gives &amp;lt;math&amp;gt;f(n) \leq n^{\log_2 n+1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;n \geq 2&amp;lt;/math&amp;gt; (in fact I think we can sharpen this a bit to &amp;lt;math&amp;gt;O( n^{\log_2 n / 2 - c \log\log n} )&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== f(n) for small n ==&lt;br /&gt;
&lt;br /&gt;
* f(0)=1&lt;br /&gt;
* f(1)=2&lt;br /&gt;
* f(2)=4&lt;br /&gt;
* f(3)=6&lt;br /&gt;
* 8 &amp;lt;= f(4) &amp;lt;= 11.&lt;br /&gt;
&lt;br /&gt;
Notation: we abbreviate {1} as 1, {1,2} as 12, &amp;lt;math&amp;gt;\emptyset&amp;lt;/math&amp;gt; as 0, etc.&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;f(n) \leq 2^n&amp;lt;/math&amp;gt;.  This bound is attained for n=0,1,2, by considering the following families:&lt;br /&gt;
&lt;br /&gt;
: (n=0)  {0}&lt;br /&gt;
: (n=1)  {0}, {1}&lt;br /&gt;
: (n=2)  {0}, {1}, {12}, {2}.&lt;br /&gt;
&lt;br /&gt;
More generally, the example&lt;br /&gt;
&lt;br /&gt;
: {0}, {1}, {12}, {123}, ..., {123...n}, {23...n}, {3...n}, ..., {n}    (2)&lt;br /&gt;
&lt;br /&gt;
shows that &amp;lt;math&amp;gt;f(n) \geq 2n&amp;lt;/math&amp;gt; for any n &amp;gt;= 1.&lt;br /&gt;
&lt;br /&gt;
For instance this gives f(3) &amp;gt; =6.  (But there are other 6-family examples that work here, e.g. {0}, {1}, {12}, {2}, {23}, {3}.)&lt;br /&gt;
&lt;br /&gt;
To show that f(3) &amp;lt;= 6, assume for contradiction that we have seven families obeying (*).  Suppose that one of these families, say F_i, contained 123.  Then by (*), for any set R in F_j for j &amp;lt; i, there is a set in F_{j+1} that contains R.  Thus there is an ascending chain of sets in &amp;lt;math&amp;gt;F_1, F_2, ..., F_{i-1}&amp;lt;/math&amp;gt;, and similarly for &amp;lt;math&amp;gt;F_7, F_6, \ldots, F_{i+1}&amp;lt;/math&amp;gt;.  Also, at most one of these chains can contain the empty set, and neither of them can contain 123.  Thus one of the chains has length at most 3 and the other has length at most 2, giving rise to just 6 families instead of 7, contradiction.&lt;br /&gt;
&lt;br /&gt;
So the only remaining possibility is if the remaining 7 sets 0, 1, 2, 3, 12, 23, 31 are distributed among the 7 families so that each family consists of a single set.  Without loss of generality we may assume that 1 appears to the left of 2, which appears to the left of 3.  By (*), this means that none of the families to the left of 2 can contain a set with a 3 in it, and none of the families to the right of 2 can contain a set with a 1 in it.  But then there is no place for 13 to go, a contradiction.&lt;br /&gt;
&lt;br /&gt;
For f(4), the example (2) gives a lower bound of 8, while the bound (1) gives an upper bound of 6+4+2-1 = 11.  Can we do better?&lt;br /&gt;
&lt;br /&gt;
If a sequence of families obeying (*) contains &amp;lt;math&amp;gt;12\ldots n&amp;lt;/math&amp;gt;, then it contains an ascending chain to the left of this set and a descending chain to the right, and thus has length at most 2n.  In particular, any sequence of families in [4] of length greater than 8 cannot contain 1234.&lt;br /&gt;
&lt;br /&gt;
So we may assume without loss of generality that 1234 does not appear.  This implies that if two sets A, B appear in families F_i, F_j and &amp;lt;math&amp;gt;|A \cap B| \geq 2&amp;lt;/math&amp;gt;, then &amp;lt;math&amp;gt;|i-j| \leq 2&amp;lt;/math&amp;gt;, because there can be at most three families that contain &amp;lt;math&amp;gt;A \cap B&amp;lt;/math&amp;gt; if the full set 1234 is excluded.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Claim&#039;&#039;&#039;: f(4)=8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Assume we have 9 or more elements then there are 8 types of &lt;br /&gt;
sets in terms of which of the the first three elements are&lt;br /&gt;
in the set. We must have a repetition of the same type in&lt;br /&gt;
sets in two different families A and B.&lt;br /&gt;
Then every set must contain an element&lt;br /&gt;
that contains the 3 elements of the repetition.&lt;br /&gt;
Now if the repetition is not null there can be&lt;br /&gt;
at most 8 elements that contain the repetition&lt;br /&gt;
but we have 2 in A and B&lt;br /&gt;
but we have 7 families besides A and B which each must contain one&lt;br /&gt;
and so there is a contradiction.&lt;br /&gt;
&lt;br /&gt;
Now we can repeat this argument for each set of &lt;br /&gt;
four elements. so we have at most 5 families containing the&lt;br /&gt;
null set and each single element. &lt;br /&gt;
&lt;br /&gt;
And we have adding&lt;br /&gt;
one element not in a set in a family to that set and having the resulting&lt;br /&gt;
augmented set in another family is forbidden.&lt;br /&gt;
&lt;br /&gt;
so we have at most 5 families containing the&lt;br /&gt;
null set and each single element. And we have adding&lt;br /&gt;
one element not in a set in a family and having the resulting&lt;br /&gt;
augmented set outside the family is forbidden.&lt;br /&gt;
so outside of the 5 sets that contain&lt;br /&gt;
the singleton elements and the null set there are no&lt;br /&gt;
two element sets, no single element sets and no null set. but if there are eleven sets that leaves 5 sets for 6&lt;br /&gt;
families which gives a contradiction. So f(4) cannot be 11.&lt;br /&gt;
&lt;br /&gt;
If there are 10 families there then by the above there are 5 families&lt;br /&gt;
which have only sets of three and four elements. This means that each of these &lt;br /&gt;
families must contain one of the&lt;br /&gt;
sets with more than two elements. In particular one must&lt;br /&gt;
contain the set with four elements and one a set with three&lt;br /&gt;
elements. Then since their intersection will have three elements&lt;br /&gt;
every family must have a set with three elements but there are not&lt;br /&gt;
enough sets with three elements to go around.&lt;br /&gt;
sets which gives a contradiction. So f(4) cannot be 10.&lt;br /&gt;
&lt;br /&gt;
If there are 9 families there then by the above there are 4 families&lt;br /&gt;
which have only sets of three and four elements. We divide the proof into&lt;br /&gt;
two cases In the first case one family must&lt;br /&gt;
contain the set with four elements and one a set with three&lt;br /&gt;
elements. Then since their intersection will have three elements&lt;br /&gt;
every family must have a set with three elements but there are not&lt;br /&gt;
enough sets with three elements to go around.&lt;br /&gt;
sets which gives a contradiction. The second case&lt;br /&gt;
is when the four element set is not in one of these four families. Then These &lt;br /&gt;
sets must consist of four families each containing one of the three element sets. &lt;br /&gt;
But then the families containing 123 and 124 will contain sets whose intersection &lt;br /&gt;
is 12 but the family containing 134 will not contain a set which contains the &lt;br /&gt;
elements 1 and 2 so in this case we have a contradiction. So in both cases we &lt;br /&gt;
have a contradiction and So f(4) cannot be 9. However since f(4) must&lt;br /&gt;
be 8,9,10 or 11 from the above in fact it must be 8.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== f(d,n) ==&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;f(d,n)&amp;lt;/math&amp;gt; be the largest number of families obeying (*) in which all families consist only of &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;-element sets.  Thus, for instance, &amp;lt;math&amp;gt;f(0,n)=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;f(1,n)=n&amp;lt;/math&amp;gt;.  We claim that &amp;lt;math&amp;gt;f(d,n) \leq 2^{d-1} n&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;d=1,2,3,\ldots&amp;lt;/math&amp;gt;.  (This argument is from [AHRR].)&lt;br /&gt;
&lt;br /&gt;
We prove this by induction on &amp;lt;math&amp;gt;d&amp;lt;/math&amp;gt;.  The case &amp;lt;math&amp;gt;d=1&amp;lt;/math&amp;gt; is trivial, so now suppose &amp;lt;math&amp;gt;d&amp;gt;1&amp;lt;/math&amp;gt;.  We consider the supports &amp;lt;math&amp;gt;U_1, U_2, \ldots, U_t&amp;lt;/math&amp;gt; of &amp;lt;math&amp;gt;F_1, \ldots, F_t&amp;lt;/math&amp;gt;.  Set &amp;lt;math&amp;gt;a_1 := 1&amp;lt;/math&amp;gt;, set &amp;lt;math&amp;gt;a_2&amp;lt;/math&amp;gt; to be the first label for which &amp;lt;math&amp;gt;U_{a_2}&amp;lt;/math&amp;gt; is disjoint from &amp;lt;math&amp;gt;U_{a_1}&amp;lt;/math&amp;gt;, let &amp;lt;math&amp;gt;a_3&amp;lt;/math&amp;gt; be the first label for which &amp;lt;math&amp;gt;U_{a_3}&amp;lt;/math&amp;gt; is disjoint from &amp;lt;math&amp;gt;U_{a_2}&amp;lt;/math&amp;gt;, and so forth until one reaches &amp;lt;math&amp;gt;a_m = t+1&amp;lt;/math&amp;gt; (by convention we set &amp;lt;math&amp;gt;U_{t+1}&amp;lt;/math&amp;gt; to be empty).&lt;br /&gt;
&lt;br /&gt;
From (*) we have the convexity condition &amp;lt;math&amp;gt; U_i \cap U_k \subset U_j &amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i &amp;lt; j &amp;lt; k&amp;lt;/math&amp;gt;, which implies that if we set &amp;lt;math&amp;gt;S_i := U_{a_i} \cup \ldots \cup U_{a_{i+1}-1}&amp;lt;/math&amp;gt;, then the &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;S_j&amp;lt;/math&amp;gt; are disjoint for &amp;lt;math&amp;gt;|j-i| \geq 2&amp;lt;/math&amp;gt;.  In particular, &amp;lt;math&amp;gt;\sum_i |S_i| \leq 2n&amp;lt;/math&amp;gt;.  On the other hand, by construction and convexity, all the supports &amp;lt;math&amp;gt;U_{a_i},\ldots,U_{a_{i+1}-1}&amp;lt;/math&amp;gt; have a common element.  Restricting by this element and using the induction hypothesis, we conclude that &amp;lt;math&amp;gt;a_{i+1}-a_i \leq 2^{d-2} |S_i|&amp;lt;/math&amp;gt; for each &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt;.  Summing in &amp;lt;math&amp;gt;i&amp;lt;/math&amp;gt; we obtain the claim.&lt;br /&gt;
&lt;br /&gt;
In fact we get a slight refinement &amp;lt;math&amp;gt;f(d,n) \leq 2^{d-1} n-2^{d-1}+1&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;U_1&amp;lt;/math&amp;gt; is contained in &amp;lt;math&amp;gt;S_1&amp;lt;/math&amp;gt; but is disjoint from all the other &amp;lt;math&amp;gt;S_i&amp;lt;/math&amp;gt;, allowing one to get the improved bound &amp;lt;math&amp;gt;\sum_i |S_i| \leq 2n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The above argument works for multisets (in which the d-element sets &amp;lt;math&amp;gt;\{x_1,\ldots,x_d\}&amp;lt;/math&amp;gt; in the families &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; are allowed to have multiplicity).  In that case, the bound &amp;lt;math&amp;gt;2n-1&amp;lt;/math&amp;gt; on &amp;lt;math&amp;gt;f(2,n)&amp;lt;/math&amp;gt; is actually attained, as can be seen by the example&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a,b\}: a+b = i+1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,2n-1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
More generally, one has a lower bound &amp;lt;math&amp;gt;f(d,n) \geq dn-d+1&amp;lt;/math&amp;gt; in the multiset case from the example&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;F_i := \{ \{a_1,\ldots,a_d\}: a_1+\ldots+a_d = i+d-1\}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i=1,\ldots,dn-d+1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Question: Can one eradicate the multisets and get a true example of comparable size, say for d=3?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a proof of a weaker upper bound &amp;lt;math&amp;gt; f(2,n) \leq 100 n \log n &amp;lt;/math&amp;gt; in the d=2 case.  Suppose for contradiction that we have &amp;lt;math&amp;gt;t = 100 n \log n + O(1)&amp;lt;/math&amp;gt; families.  Consider the supports U_i of the i^th family F_i.  We claim that &amp;lt;math&amp;gt;|U_i| \leq n / (5 \log n)&amp;lt;/math&amp;gt; for at least one i between &amp;lt;math&amp;gt;45 n/\log n&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;55 n/\log n&amp;lt;/math&amp;gt;, because otherwise each F_i would need to have at least &amp;lt;math&amp;gt;\binom{n/(5\log n)}{2}&amp;lt;/math&amp;gt; edges, and there are not enough edges for this.  But then the families F_1,...,F_i are supported in a set of size m and F_{i+1},...,F_n are supported in a set of size k with &amp;lt;math&amp;gt;m+k \leq n+|U_i| \leq n + n/(5 \log n)&amp;lt;/math&amp;gt;.  On the other hand, from the induction hypothesis we see that k, m have to be at least 0.4 n, and thus at most 0.6 n.  We conclude that &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; 100 n \log n + O(1) \leq 100 k \log (0.6n) + 100 m \log (0.6 n) \leq 100 (n + n/(5 \log n)) (\log 0.6 n)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
== The combinatorial conjecture implies the polynomial Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
The following result is from [AHRR]:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Theorem 2&#039;&#039;&#039; A simple polytope with n faces has at a diameter of at most f(n).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Start with a d-dimensional polytope with n facets. To every vertex v of the polytope associate the set &amp;lt;math&amp;gt;S_v&amp;lt;/math&amp;gt; of facets containing . Starting with a vertex w, we can consider &amp;lt;math&amp;gt;F_i&amp;lt;/math&amp;gt; as the family of sets which correspond to vertices of distance i+1 from $w$. So the number of such families (for an appropriate w is as large as the diameter of the graph of the polytope. &lt;br /&gt;
&lt;br /&gt;
Why the families of graphs of simple polytopes satisfy (*)? Suppose you have a vertex v of distance i from w, and a vertex u at distance k&amp;gt;i. Then consider the shortest path from v to u in the smallest face  containing both v and u. The sets S_z for every vertex z in (and hence on this path) satisfies &amp;lt;math&amp;gt;S_v \cap S_u \subset S_z&amp;lt;/math&amp;gt;. The distances from w of adjacent vertices in the shortest path from u to v differs by at most 1. So one vertex on the path must be at distance j from w.  QED&lt;br /&gt;
&lt;br /&gt;
== Background ==&lt;br /&gt;
&lt;br /&gt;
(Maybe some history of the Hirsch conjecture here?)&lt;br /&gt;
&lt;br /&gt;
== The disproof of the Hirsch conjecture ==&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
This conjecture was recently disproven by Francisco Santos [S].&lt;br /&gt;
&lt;br /&gt;
* [http://personales.unican.es/santosf/Hirsch/ Santos&#039;s page on the Hirsch conjecture]&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/05/10/francisco-santos-disproves-the-hirsch-conjecture/ Francisco Santos Disproves the Hirsch Conjecture] (May 10, 2010)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2010/06/15/a-counterexample-to-the-hirsch-conjecture-is-now-out/ “A Counterexample to the Hirsch Conjecture,” is Now Out] (Jun 15, 2010)&lt;br /&gt;
&lt;br /&gt;
== Bibliography ==&lt;br /&gt;
&lt;br /&gt;
(Expand this biblio!)&lt;br /&gt;
&lt;br /&gt;
* [EHRR] Freidrich Eisenbrand, Nicolai Hahnle,  Sasha Razborov, and Thomas Rothvoss, &amp;quot;[http://people.cs.uchicago.edu/~razborov/files/designs.pdf Diameter of Polyhedra: The Limits of Abstraction]&amp;quot;, preprint.&lt;br /&gt;
* [S] Francisco Santos, &amp;quot;[http://arxiv.org/abs/1006.2814 A counterexample to the Hirsch conjecture]&amp;quot;, preprint.&lt;br /&gt;
&lt;br /&gt;
== Other links ==&lt;br /&gt;
&lt;br /&gt;
* Math Overflow thread: [http://mathoverflow.net/questions/40561/a-combinatorial-abstraction-for-the-polynomial-hirsch-conjecture A Combinatorial Abstraction for The “Polynomial Hirsch Conjecture”]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=%22Low_Dimensions%22_grant_acknowledgments&amp;diff=3097</id>
		<title>&quot;Low Dimensions&quot; grant acknowledgments</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=%22Low_Dimensions%22_grant_acknowledgments&amp;diff=3097"/>
		<updated>2010-04-27T18:27:40Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Participants should be arranged in alphabetical order of surname.&lt;br /&gt;
&lt;br /&gt;
== Participants and contact information ==&lt;br /&gt;
&lt;br /&gt;
(Note: this list is incomplete and unofficial.  Inclusion or omission from this list should not be construed as any formal declaration of level of contribution to this project.) &lt;br /&gt;
&lt;br /&gt;
* Kristal Cantwell[http://kristalcantwell.wordpress.com/]&lt;br /&gt;
* Kareem Carr, NYU [http://twofoldgaze.wordpress.com/]&lt;br /&gt;
* Jason Dyer, Tucson Unified School District (current to July 2010) [http://numberwarrior.wordpress.com]&lt;br /&gt;
* Christian Elsholtz&lt;br /&gt;
* Kevin O&#039;Bryant, CUNY (Staten Island and the Graduate Center), [http://www.math.csi.cuny.edu/obryant]&lt;br /&gt;
* Klas Markström, Umeå universitet, Sweden. [http://abel.math.umu.se/~klasm/]&lt;br /&gt;
* Michael Peake&lt;br /&gt;
* Terence Tao, UCLA, [http://www.math.ucla.edu/~tao]&lt;br /&gt;
&lt;br /&gt;
== Grant information ==&lt;br /&gt;
&lt;br /&gt;
* Kevin O&#039;Bryant is supported by a grant from The City University of New York PSC-CUNY Research Award Program.&lt;br /&gt;
* Terence Tao is supported by a grant from the MacArthur Foundation, by NSF grant DMS-0649473, and by the NSF Waterman award.&lt;br /&gt;
&lt;br /&gt;
== Other acknowledgments ==&lt;br /&gt;
&lt;br /&gt;
Miscellaneous contributors to the project include KS Chua, Sune Kristian Jakobsen, Tyler Neylon (bounds and related quantities), Thomas Sauvaget.&lt;br /&gt;
&lt;br /&gt;
Thanks to Michael Nielsen for hosting the polymath wiki for this project.&lt;br /&gt;
&lt;br /&gt;
This project was a spinoff from the larger &amp;quot;Polymath1&amp;quot; project, initiated by Timothy Gowers.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</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=3054</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=3054"/>
		<updated>2010-02-22T19:20:07Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &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, and extending a row 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 e ? ? + - ? +|+   90-99&lt;br /&gt;
 + ? + ? b - ? ? - ?   100-109&lt;br /&gt;
&lt;br /&gt;
looking at f[30,32] we thus have f(31)=-1, while from f[99,103] we have f(101)=f(103)=-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 e + ? + - ? +|+   90-99&lt;br /&gt;
 + - + - b - ? ? - ?   100-109&lt;br /&gt;
&lt;br /&gt;
From the [51,54] block we have f(53) = B, which then forces f[90,106]=0, so there is a cut at 106-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;
 - + -|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 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 e + ? + - ? +|+   90-99&lt;br /&gt;
 + - + - b - B|? - ?   100-109&lt;br /&gt;
 -|- - ? + E f b ? +   110-119&lt;br /&gt;
 +|+ ? ? -|- - ? + ?   120-129&lt;br /&gt;
&lt;br /&gt;
From f[118-120] we have f(59)=-1; from f[111,113] we have f(113)=+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 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 e + ? + - ? +|+   90-99&lt;br /&gt;
 + - + - b - B|? - ?   100-109&lt;br /&gt;
 -|- - + +|E f b - +   110-119&lt;br /&gt;
 +|+ ? ? -|- - ? + ?   120-129&lt;br /&gt;
&lt;br /&gt;
From f[13,30] we have 2b+e+f=0 while from f[115,120] we have -e+f+b=-1.  This forces b=-1, e=f=1:&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;
&lt;br /&gt;
From the 60-69 row we then get f(61)=+1, f(67)=+1; from f[85,92] we get f(43)=f(89)=-1; from f[93,98] we have f(47)=f(97)=-1; from f[125,127] one has f(127)=+1; from f[107,110] one gets f(107)=f(109)=+1:&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;
&lt;br /&gt;
From f[41,50] one has f(41)=-1; but then f[121,125]=2, a contradiction.  Hence this case is not possible.&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;
&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;br /&gt;
&lt;br /&gt;
From f[75,77] we have A=+1, then from f[11,13] we have b=-1, and then from f[75,79] we have f(79)=+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;
 -|- - + - + +|c + -   10-19&lt;br /&gt;
 - + - e - + + - - f   20-29&lt;br /&gt;
 + ? +|+ c|+ + - -|-   30-39&lt;br /&gt;
 - ? + ? - - e ? - +   40-49&lt;br /&gt;
 + C + ? - + - + f ?   50-59&lt;br /&gt;
 + ? ? - + - + ? c E   60-69&lt;br /&gt;
 + ? + + - - - + - +   70-79&lt;br /&gt;
 - + ? ? + C ? F - ?   80-89&lt;br /&gt;
 - - C ? ? + - ? + -   90-99&lt;br /&gt;
 +&lt;br /&gt;
&lt;br /&gt;
From f[33,34] we have c=-1, and from f[39,41] we have f(41)=+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 f[19,23] we have e = +&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;
 - + - + - + +|- - f   20-29&lt;br /&gt;
 + ? + + -|+ + - - -   30-39&lt;br /&gt;
 - + + ? - - + ? - +   40-49&lt;br /&gt;
 + + + ? - + - + f ?   50-59&lt;br /&gt;
 + ? ? - + - + ? + -   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 f[27,29] we have f = +, so from f[27,34] we have f(31) = -, and sums and multiplicity force&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 smallest sum before 70 is -1, so 71 must be -1. This forces 67 = -1, otherwise the sum at 73 is 3.&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;
83 must be -, otherwise the sum is 3 at 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;
So 89 is + (otherwise the sum is -3 at 91)&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;
(could use intermediate diagrams displayed here with text)&lt;br /&gt;
&lt;br /&gt;
f(58) is positive so f(116) is positive&lt;br /&gt;
&lt;br /&gt;
f(13) is positive and f(9) is a square so f(117) is positive&lt;br /&gt;
&lt;br /&gt;
there is a cut between 116 and 117&lt;br /&gt;
&lt;br /&gt;
f(118) is negative since f(59) is negative&lt;br /&gt;
&lt;br /&gt;
f(7) and f(17) are negative so f(119) is positive&lt;br /&gt;
&lt;br /&gt;
f(3) and f(5) are negative and f(2) is positive so 120 is positive&lt;br /&gt;
&lt;br /&gt;
121 is a square so f(121) is positive&lt;br /&gt;
&lt;br /&gt;
so at 116 the sum is zero at because there is a cut between&lt;br /&gt;
116 and 117 at 117 the sum is one since f(117) is positive&lt;br /&gt;
at 118 the sum is zero since f(118) is negative and since f(119) f(120) and f(121) are positive at 121 the sum is three and we have shown that if a completely multiplicative sequnce has f(2) equal to 1 and f(37) equal to -1 then it reaches discrepancy 3 before 246.&lt;br /&gt;
&lt;br /&gt;
Since we have previously shown that if a completely multiplicative sequence that has f(2) equal to 1 and f(37)equal to 1 reaches discrepancy 3 before 246 we have any completely multiplicative sequence with f(2) equal to one reaches discrepancy 3 before 246 and that finishes case 1.&lt;br /&gt;
&lt;br /&gt;
== Case 2. f(2) = -1 ==&lt;br /&gt;
&lt;br /&gt;
Therefore f(2) = -1. Resetting 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;
Adding in multiplicative values:&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;
(Concatenation of various proofs, needs a lot of polish here)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Assume&#039;&#039; f(5) = 1&lt;br /&gt;
&lt;br /&gt;
Suppose f(11)= 1 &lt;br /&gt;
&lt;br /&gt;
Setting f(2)=-1... Setting f(5)=1... Setting f(11)=1... Deducing... Setting f(3)=-1... Deducing... Setting f(7)=-1... Setting f(241)=1... Deducing... Setting f(23)=-1... Setting f(17)=-1... Setting f(19)=1... Deducing... Setting f(13)=-1... Setting f(47)=-1... Setting f(59)=1... Setting f(67)=-1... Setting f(239)=1... Setting f(251)=1... Setting f(31)=1... Deducing... Setting f(29)=-1... Setting f(53)=-1... Contradiction! f(1) = 1 and f(1) = -1 (from f(58)=-1) &lt;br /&gt;
&lt;br /&gt;
So f(11)=-1. &lt;br /&gt;
&lt;br /&gt;
The above part contains references to f(251). We now try to remove such references thereby keeping cases at a minimum. What follows needs a lot of polish.&lt;br /&gt;
&lt;br /&gt;
Here is the output of my prover for the case: f(2)=-1,f(5)=1,f(11)=1 until roughly f(41) is found. From then on we might need some &#039;human&#039; input to reduce the number of cases. I have added comments on what partial sums lead to the conclusions.&lt;br /&gt;
&lt;br /&gt;
a[1] = 1; a[2] = -1; a[5] = 1; a[11] = 1;&lt;br /&gt;
a[7] = -1;(*&amp;quot;s &amp;quot;6&amp;quot; &amp;quot;2*)&lt;br /&gt;
a[3] = -1;(*f[5]*)&lt;br /&gt;
a[17] = -1;(*&amp;quot;f &amp;quot;32&amp;quot; &amp;quot;35&amp;quot; &amp;quot;-3-a[17]*)&lt;br /&gt;
a[19] = 1;(*&amp;quot;f &amp;quot;54&amp;quot; &amp;quot;57&amp;quot; &amp;quot;3-a[19]*)a[23] = -1;(*&amp;quot;f &amp;quot;20&amp;quot; &amp;quot;25&amp;quot; &amp;quot;3+a[23]*)&lt;br /&gt;
a[241] = 1;(*&amp;quot;f &amp;quot;240&amp;quot; &amp;quot;243&amp;quot; &amp;quot;-3+a[241]*)&lt;br /&gt;
a[47] = -1;(*&amp;quot;f &amp;quot;44&amp;quot; &amp;quot;47&amp;quot; &amp;quot;3+a[47]*)&lt;br /&gt;
a[59] = 1;(*&amp;quot;f &amp;quot;118&amp;quot; &amp;quot;121&amp;quot; &amp;quot;3-a[59]*)&lt;br /&gt;
a[67] = -1;(*&amp;quot;f &amp;quot;132&amp;quot; &amp;quot;135&amp;quot; &amp;quot;-3-a[67]*)&lt;br /&gt;
a[239] = 1;(*&amp;quot;f &amp;quot;238&amp;quot; &amp;quot;243&amp;quot; &amp;quot;-3+a[239]*)&lt;br /&gt;
&lt;br /&gt;
(* from now on we deviate from the so far Wiki *)&lt;br /&gt;
&lt;br /&gt;
a[29] = 1;(*&amp;quot;f &amp;quot;54&amp;quot; &amp;quot;59&amp;quot; &amp;quot;3-a[29]*)a[97] = -1;(*&amp;quot;f &amp;quot;94&amp;quot; &amp;quot;97&amp;quot; &amp;quot;3+a[97]*)&lt;br /&gt;
&lt;br /&gt;
a[13] = -1;(*&amp;quot;f &amp;quot;116&amp;quot; &amp;quot;121&amp;quot; &amp;quot;3+a[13]*)a[31] = -1;(*f[30]*)&lt;br /&gt;
a[191] = 1;(*&amp;quot;f &amp;quot;186&amp;quot; &amp;quot;191&amp;quot; &amp;quot;-3+a[191]*)&lt;br /&gt;
a[197] = -1;(*&amp;quot;f &amp;quot;194&amp;quot; &amp;quot;197&amp;quot; &amp;quot;3+a[197]*)&lt;br /&gt;
&lt;br /&gt;
(*a[37]=-1; (*assumption*)&lt;br /&gt;
a[41]=1;(*f[40]*)a[61]=-1;(*&amp;quot;f &amp;quot;182&amp;quot; &amp;quot;187&amp;quot; &amp;quot;-3-a[61]*)a[223]=-1;(*&amp;quot;f \&lt;br /&gt;
&amp;quot;220&amp;quot; &amp;quot;225&amp;quot; &amp;quot;3+a[223]*)&lt;br /&gt;
a[43]=1;(*f[42]*)&lt;br /&gt;
a[83]=1;(*&amp;quot;f &amp;quot;82&amp;quot; &amp;quot;87&amp;quot; &amp;quot;-3+a[83]*)a[89]=1;(*&amp;quot;f &amp;quot;84&amp;quot; &amp;quot;89&amp;quot; \&lt;br /&gt;
&amp;quot;-3+a[89]*)a[107]=1;(*&amp;quot;f &amp;quot;214&amp;quot; &amp;quot;217&amp;quot; &amp;quot;3-a[107]*)a[131]=1;(*&amp;quot;f &amp;quot;128&amp;quot; \&lt;br /&gt;
&amp;quot;133&amp;quot; &amp;quot;-3+a[131]*)a[173]=-1;(*&amp;quot;f &amp;quot;168&amp;quot; &amp;quot;173&amp;quot; &amp;quot;3+a[173]*)&lt;br /&gt;
a[53]=1;(*&amp;quot;f &amp;quot;104&amp;quot; &amp;quot;107&amp;quot; &amp;quot;3-a[53]*)&lt;br /&gt;
(*contradiction f[55]=3*)*)&lt;br /&gt;
&lt;br /&gt;
a[37] = 1; (*because of the above contradiction*)&lt;br /&gt;
a[73] = 1;(*&amp;quot;f &amp;quot;72&amp;quot; &amp;quot;75&amp;quot; &amp;quot;-3+a[73]*)&lt;br /&gt;
a[79] = 1;(*&amp;quot;f &amp;quot;74&amp;quot; &amp;quot;79&amp;quot; &amp;quot;-3+a[79]*)&lt;br /&gt;
a[109] = 1;(*&amp;quot;f &amp;quot;108&amp;quot; &amp;quot;111&amp;quot; &amp;quot;-3+a[109]*)&lt;br /&gt;
a[113] = 1;(*&amp;quot;f &amp;quot;110&amp;quot; &amp;quot;113&amp;quot; &amp;quot;-3+a[113]*)&lt;br /&gt;
a[223] = -1; (*&amp;quot;f &amp;quot;220&amp;quot; &amp;quot;223&amp;quot; &amp;quot;3+a[223]*)&lt;br /&gt;
&lt;br /&gt;
(*a[41]=-1; (* assumption*)&lt;br /&gt;
a[43]=1;(* f[42]*)a[83]=-1;(*&amp;quot;f &amp;quot;78&amp;quot; &amp;quot;83&amp;quot; &amp;quot;3+a[83]*)a[61]=1;(*&amp;quot;f \&lt;br /&gt;
&amp;quot;118&amp;quot; &amp;quot;123&amp;quot; &amp;quot;3-a[61]*)a[163]=1;(*&amp;quot;f &amp;quot;160&amp;quot; &amp;quot;165&amp;quot; &amp;quot;-3+a[163]*)&lt;br /&gt;
a[89]=1;(*&amp;quot;f &amp;quot;84&amp;quot; &amp;quot;89&amp;quot; &amp;quot;-3+a[89]*)a[107]=1;(*&amp;quot;f &amp;quot;214&amp;quot; &amp;quot;217&amp;quot; \&lt;br /&gt;
&amp;quot;3-a[107]*)a[131]=1;(*&amp;quot;f &amp;quot;128&amp;quot; &amp;quot;133&amp;quot; &amp;quot;-3+a[131]*)a[167]=-1;(*&amp;quot;f &amp;quot;166&amp;quot; \&lt;br /&gt;
&amp;quot;171&amp;quot; &amp;quot;3+a[167]*)a[173]=-1;(*&amp;quot;f &amp;quot;168&amp;quot; &amp;quot;173&amp;quot; &amp;quot;3+a[173]*)&lt;br /&gt;
a[53]=1;(*&amp;quot;f &amp;quot;104&amp;quot; &amp;quot;107&amp;quot; &amp;quot;3-a[53]*)&lt;br /&gt;
(*contradiction f[55]=3*)*)&lt;br /&gt;
&lt;br /&gt;
a[41] = 1;(*because of the above contradiction*)&lt;br /&gt;
&lt;br /&gt;
a[43] = -1;(*f[45]*)&lt;br /&gt;
a[53] = -1;(*f[55]*)&lt;br /&gt;
a[107] = -1;(*&amp;quot;f &amp;quot;104&amp;quot; &amp;quot;107&amp;quot; &amp;quot;3+a[107]*)&lt;br /&gt;
&lt;br /&gt;
So we have f(2) = -1; f(3) = -1; f(5) = 1; f(7) = -1; f(11) = 1; f(13)= -1; f(17)= -1 and f(37) = 1.&lt;br /&gt;
&lt;br /&gt;
From this we get that a f(220)=f(221)=f(222)=f(224)=f(225)=1. This means that there is a cut at 220 and the sum at 220 is zero and the sum at f(225) is at 3 or more which is greater than two thus the discrepancy is greater than 2 and we have dealt with this case. &lt;br /&gt;
&lt;br /&gt;
[program name] -2 5 -11&lt;br /&gt;
Setting f(2)=-1... Setting f(5)=1... Setting f(11)=-1... Deducing... Setting f(3)=-1... Deducing... Setting f(7)=-1... Setting f(13)=1... Setting f(23)=-1... Setting f(241)=1... Deducing... Contradiction! -1 &amp;gt;= f[1,23] &amp;gt;= 1 &lt;br /&gt;
&lt;br /&gt;
So f(5) = -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;
If a completely multiplicative sequence with discrepancy 2 or less has length more than 246 then I think there is a human proof that f(2) and f(5) are -1. Given this I can show that if f(3) is 1 f(7) is -1.&lt;br /&gt;
&lt;br /&gt;
Assume that f(3) is 1 and f(7) is 1. We have by the above that f(2) and f(5) are -1. Then this will give the partial sum at 10 the value 2 so f(11) must be -1.&lt;br /&gt;
&lt;br /&gt;
Since f(12) is 1 the sum at 12 must be 2 and f(13) must be -1.&lt;br /&gt;
&lt;br /&gt;
Then f(25), f(26),f(27),f(28) and f(30) must be 1 this forces f(31) to be -1.&lt;br /&gt;
&lt;br /&gt;
Then f(62), f(63),f(64),f(65) and f(66) must be 1 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
So if a completely multiplicative sequence with discrepancy 2 or less has length more than 246 and f(3)=1 then f(7)=-1.&lt;br /&gt;
&lt;br /&gt;
So supopse f(3) = 1 and f(7) = -1.&lt;br /&gt;
&lt;br /&gt;
With these assumptions, the partial sum f[18,21]:=f(18)+f(19)+f(20)+f(21) equals -3+f(19). Since f[1,odd] is in {-1,0,1} it follows that f[18,21]&amp;gt;=-2 and thus f(19)=1.&lt;br /&gt;
&lt;br /&gt;
Similarly we get:&lt;br /&gt;
&lt;br /&gt;
f[168,171]=3+f(17) f(17)=-1,&lt;br /&gt;
&lt;br /&gt;
f[34,37]=3+f(37) f(37)=-1 and&lt;br /&gt;
&lt;br /&gt;
f[74,77]=3-f(11) f(11)=1.&lt;br /&gt;
&lt;br /&gt;
Since f(9)=f(10)=f(11)=f(12)=1 it follows that f(13)=-1.&lt;br /&gt;
&lt;br /&gt;
f[50,55]=-5+f(53)&amp;gt;=-2 which cannot be satisfied for f(53) in {-1,1}.&lt;br /&gt;
&lt;br /&gt;
Hence f(7) cannot be -1 and thus f(3)=-1.&lt;br /&gt;
&lt;br /&gt;
It remains to show (by hand) that there is no completely multiplicative sequence with discrepancy 2 and f(2)=f(3)=f(5)=-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;
Putting in multiplicative values:&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;
(need to finish filling in)&lt;br /&gt;
 ? ? - ? ? ? ? ? ? ?   70-79&lt;br /&gt;
 ? + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 ? ? ? ? ? ? ? ? - ?   90-99&lt;br /&gt;
&lt;br /&gt;
This is a proof that there is no completely multiplicative sequence with discrepancy 2, f(2)=f(3)=f(5)=-1 and f(7)=1.&lt;br /&gt;
&lt;br /&gt;
I assume f(2)=-1, f(3)=-1 and f(5)=-1. Then&lt;br /&gt;
&lt;br /&gt;
f[242,245]=-3+f(61) implies f(61)=1.&lt;br /&gt;
&lt;br /&gt;
For the sake of contradiction I assume furthermore f(7) = 1. Then f[1,10]=2 and thus f(11)=-1.&lt;br /&gt;
&lt;br /&gt;
We have:&lt;br /&gt;
&lt;br /&gt;
f[18,21]=-3+f(19) implies f(19)=1,&lt;br /&gt;
&lt;br /&gt;
f[168,171]=3+f(17) implies f(17)=-1,&lt;br /&gt;
&lt;br /&gt;
f[22,25]=3+f(23) implies f(23)=-1,&lt;br /&gt;
&lt;br /&gt;
f[60,63]=3-f(31) implies f(31)=1,&lt;br /&gt;
&lt;br /&gt;
f[60,65]=3-f(13) implies f(13)=1,&lt;br /&gt;
&lt;br /&gt;
f[114,117]=3+f(29) implies f(29)=-1,&lt;br /&gt;
&lt;br /&gt;
f[184,187]=3-f(37) implies f(37)=1,&lt;br /&gt;
&lt;br /&gt;
f(85,91) = 5 + f(89) -f(43) implies f(43)=1,&lt;br /&gt;
&lt;br /&gt;
f[40,43]=3+f(41) implies f(41)=-1,&lt;br /&gt;
&lt;br /&gt;
f[50,55]=3+f(53) implies f(53)=-1,&lt;br /&gt;
&lt;br /&gt;
f[58,61]=3+f(59) implies f(59)=-1,&lt;br /&gt;
&lt;br /&gt;
f[92,95]=-3-f(47) implies f(47)=-1 and&lt;br /&gt;
&lt;br /&gt;
f[132,135]=3-f(67) implies f(67)=1.&lt;br /&gt;
&lt;br /&gt;
0: 1 -1 -1 1 -1 1 1 -1 1 1|2&lt;br /&gt;
&lt;br /&gt;
10: -1 -1 1 -1 1 1 -1 -1 1 -1|0&lt;br /&gt;
&lt;br /&gt;
20: -1 1 -1 1 1 -1 -1 1 -1 -1|-2&lt;br /&gt;
&lt;br /&gt;
30: 1 -1 1 1 -1 1 1 -1 -1 1|0&lt;br /&gt;
&lt;br /&gt;
40: -1 1 1 -1 -1 1 -1 -1 1 -1|-2&lt;br /&gt;
&lt;br /&gt;
50: 1 1 -1 1 1 -1 -1 1 -1 1|0&lt;br /&gt;
&lt;br /&gt;
60: 1 -1 1 1 -1 -1 1 -1 1 1|2&lt;br /&gt;
&lt;br /&gt;
70: f(71) -1 f(73) -1 -1 1 -1 1 f(79) -1|-1+f(71)+f(73)+f(79)&lt;br /&gt;
&lt;br /&gt;
Now f[1,70]=2 and thus f(71)=-1. We have&lt;br /&gt;
&lt;br /&gt;
f[72,75]=-3+f(73) implies f(73)=1,&lt;br /&gt;
&lt;br /&gt;
f[88,91]=3+f(89) implies f(89)=-1 &lt;br /&gt;
&lt;br /&gt;
f(98)=f(99) =-1 which means there is a cut at 98 so the sum is 0 at 98. f(100) =1 so the sum is zero at 100. f(110)=f(111)=-1 so there is a cut at 110 so at 110 the sum is zero. This means that the sum of the numbers 101 to 110 is zero which means three of 101,103,107 and 109 must have positive value with the third negative.&lt;br /&gt;
&lt;br /&gt;
If we look at 200 201 202 and 203 we see that 200 and 201 have value -1 which means there is a cut at 200 and if 202 is negative then since 203 is negative the sum at 203 will be negative 3 so 202 must be positive and hence 101 must be negative and 103,107 and 109 must be positive.&lt;br /&gt;
&lt;br /&gt;
Now look at 206 through 215. Since 103 is positive 206 is negative and since 207 is negative there is a cut at 206 but the sum from 207 to 215 is negative 3 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
This is a proof that there is no completely multiplicative sequence with discrepancy 2, f(2)=f(3)=f(5)=-1 and f(7)=-1 (which is the last case).&lt;br /&gt;
&lt;br /&gt;
I assume f(2)=-1, f(3)=-1 and f(5)=-1. Then&lt;br /&gt;
&lt;br /&gt;
f[242,245]=-3+f(61) implies f(61)=1.&lt;br /&gt;
&lt;br /&gt;
For the sake of contradiction I assume furthermore f(7) = -1.&lt;br /&gt;
&lt;br /&gt;
We have:&lt;br /&gt;
&lt;br /&gt;
f[14,17]=3+f(17) implies f(17)=-1 and&lt;br /&gt;
&lt;br /&gt;
f[34,37]=3+f(37) implies f(37)=-1.&lt;br /&gt;
&lt;br /&gt;
Sub-case 1: f(11)=-1.&lt;br /&gt;
&lt;br /&gt;
0: 1 -1 -1 1 -1 1 -1 -1 1 1|0&lt;br /&gt;
&lt;br /&gt;
10: -1 -1 f(13) 1 1 1 -1 -1 f(19) -1|-2+f(13)+f(19)&lt;br /&gt;
&lt;br /&gt;
Then f[1,12]=-2 and thus f(13)=1. Now&lt;br /&gt;
&lt;br /&gt;
f[54,57]=3-f(19) implies f(19)=1.&lt;br /&gt;
&lt;br /&gt;
10: -1 -1 1 1 1 1 -1 -1 1 -1|0&lt;br /&gt;
&lt;br /&gt;
20: 1 1 f(23) 1 1 -1 -1 -1 f(29) -1|f(23)+f(29)&lt;br /&gt;
&lt;br /&gt;
f[1,22]=2 implies f(23)=-1 and then f[1,25]=3 is a contradiction. Thus f(11)=1.&lt;br /&gt;
&lt;br /&gt;
Sub-case 2: f(11)=1.&lt;br /&gt;
&lt;br /&gt;
0: 1 -1 -1 1 -1 1 -1 -1 1 1|0&lt;br /&gt;
&lt;br /&gt;
10: 1 -1 f(13) 1 1 1 -1 -1 f(19) -1|f(13)+f(19)&lt;br /&gt;
&lt;br /&gt;
We have f(9)=f(10)=f(11)=f(14)=f(15)=f(16)=1 and f(12)=-1. This implies f(13)=-1.&lt;br /&gt;
&lt;br /&gt;
f[34,39]=3-f(19) implies f(19)=1,&lt;br /&gt;
&lt;br /&gt;
f[30,33]=-3+f(31) implies f(31)=1,&lt;br /&gt;
&lt;br /&gt;
f[28,33]=-3+f(29) implies f(29)=1 and&lt;br /&gt;
&lt;br /&gt;
f[242,247]=-3+f(41) implies f(41)=1.&lt;br /&gt;
&lt;br /&gt;
10: 1 -1 -1 1 1 1 -1 -1 1 -1|0&lt;br /&gt;
&lt;br /&gt;
20: 1 -1 f(23) 1 1 1 -1 -1 1 -1|1+f(23)&lt;br /&gt;
&lt;br /&gt;
30: 1 -1 -1 1 1 1 -1 -1 1 1|3+f(23)&lt;br /&gt;
&lt;br /&gt;
40: 1 -1 f(43) 1 -1 -f(23) f(47) -1 1 -1|2+f(43)+f(47)&lt;br /&gt;
&lt;br /&gt;
Since f[1,41]=4 +f(23) we get a contradiction and thus f(11) is not 1.&lt;br /&gt;
&lt;br /&gt;
Therefore we get a contradiction in the main case (the case f(7)=-1).&lt;br /&gt;
&lt;br /&gt;
Since f(7)=1 is treated in an earlier post, that completes the proof (by hand) that there is no completely multiplicative sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a [[computer proof that completely multiplicative sequences have at least 2]], inspired by the above analysis.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</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=3042</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=3042"/>
		<updated>2010-02-11T18:26:05Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &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, and extending a row 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 e ? ? + - ? +|+   90-99&lt;br /&gt;
 + ? + ? b - ? ? - ?   100-109&lt;br /&gt;
&lt;br /&gt;
looking at f[30,32] we thus have f(31)=-1, while from f[99,103] we have f(101)=f(103)=-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 e + ? + - ? +|+   90-99&lt;br /&gt;
 + - + - b - ? ? - ?   100-109&lt;br /&gt;
&lt;br /&gt;
From the [51,54] block we have f(53) = B, which then forces f[90,106]=0, so there is a cut at 106-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;
 - + -|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 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 e + ? + - ? +|+   90-99&lt;br /&gt;
 + - + - b - B|? - ?   100-109&lt;br /&gt;
 -|- - ? + E f b ? +   110-119&lt;br /&gt;
 +|+ ? ? -|- - ? + ?   120-129&lt;br /&gt;
&lt;br /&gt;
From f[118-120] we have f(59)=-1; from f[111,113] we have f(113)=+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 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 e + ? + - ? +|+   90-99&lt;br /&gt;
 + - + - b - B|? - ?   100-109&lt;br /&gt;
 -|- - + +|E f b - +   110-119&lt;br /&gt;
 +|+ ? ? -|- - ? + ?   120-129&lt;br /&gt;
&lt;br /&gt;
From f[13,30] we have 2b+e+f=0 while from f[115,120] we have -e+f+b=-1.  This forces b=-1, e=f=1:&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;
&lt;br /&gt;
From the 60-69 row we then get f(61)=+1, f(67)=+1; from f[85,92] we get f(43)=f(89)=-1; from f[93,98] we have f(47)=f(97)=-1; from f[125,127] one has f(127)=+1; from f[107,110] one gets f(107)=f(109)=+1:&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;
&lt;br /&gt;
From f[41,50] one has f(41)=-1; but then f[121,125]=2, a contradiction.  Hence this case is not possible.&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;
&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;br /&gt;
&lt;br /&gt;
From f[75,77] we have A=+1, then from f[11,13] we have b=-1, and then from f[75,79] we have f(79)=+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;
 -|- - + - + +|c + -   10-19&lt;br /&gt;
 - + - e - + + - - f   20-29&lt;br /&gt;
 + ? +|+ c|+ + - -|-   30-39&lt;br /&gt;
 - ? + ? - - e ? - +   40-49&lt;br /&gt;
 + C + ? - + - + f ?   50-59&lt;br /&gt;
 + ? ? - + - + ? c E   60-69&lt;br /&gt;
 + ? + + - - - + - +   70-79&lt;br /&gt;
 - + ? ? + C ? F - ?   80-89&lt;br /&gt;
 - - C ? ? + - ? + -   90-99&lt;br /&gt;
 +&lt;br /&gt;
&lt;br /&gt;
From f[33,34] we have c=-1, and from f[39,41] we have f(41)=+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 f[19,23] we have e = +&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;
 - + - + - + +|- - f   20-29&lt;br /&gt;
 + ? + + -|+ + - - -   30-39&lt;br /&gt;
 - + + ? - - + ? - +   40-49&lt;br /&gt;
 + + + ? - + - + f ?   50-59&lt;br /&gt;
 + ? ? - + - + ? + -   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 f[27,29] we have f = +, so from f[27,34] we have f(31) = -, and sums and multiplicity force&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 smallest sum before 70 is -1, so 71 must be -1. This forces 67 = -1, otherwise the sum at 73 is 3.&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;
83 must be -, otherwise the sum is 3 at 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;
So 89 is + (otherwise the sum is -3 at 91)&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;
(could use intermediate diagrams displayed here with text)&lt;br /&gt;
&lt;br /&gt;
f(58) is positive so f(116) is positive&lt;br /&gt;
&lt;br /&gt;
f(13) is positive and f(9) is a square so f(117) is positive&lt;br /&gt;
&lt;br /&gt;
there is a cut between 116 and 117&lt;br /&gt;
&lt;br /&gt;
f(118) is negative since f(59) is negative&lt;br /&gt;
&lt;br /&gt;
f(7) and f(17) are negative so f(119) is positive&lt;br /&gt;
&lt;br /&gt;
f(3) and f(5) are negative and f(2) is positive so 120 is positive&lt;br /&gt;
&lt;br /&gt;
121 is a square so f(121) is positive&lt;br /&gt;
&lt;br /&gt;
so at 116 the sum is zero at because there is a cut between&lt;br /&gt;
116 and 117 at 117 the sum is one since f(117) is positive&lt;br /&gt;
at 118 the sum is zero since f(118) is negative and since f(119) f(120) and f(121) are positive at 121 the sum is three and we have shown that if a completely multiplicative sequnce has f(2) equal to 1 and f(37) equal to -1 then it reaches discrepancy 3 before 246.&lt;br /&gt;
&lt;br /&gt;
Since we have previously shown that if a completely multiplicative sequence that has f(2) equal to 1 and f(37)equal to 1 reaches discrepancy 3 before 246 we have any completely multiplicative sequence with f(2) equal to one reaches discrepancy 3 before 246 and that finishes case 1.&lt;br /&gt;
&lt;br /&gt;
== Case 2. f(2) = -1 ==&lt;br /&gt;
&lt;br /&gt;
Therefore f(2) = -1. Resetting 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;
Adding in multiplicative values:&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;
(Concatenation of various proofs, needs a lot of polish here)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Assume&#039;&#039; f(5) = 1&lt;br /&gt;
&lt;br /&gt;
Suppose f(11)= 1 &lt;br /&gt;
&lt;br /&gt;
Setting f(2)=-1... Setting f(5)=1... Setting f(11)=1... Deducing... Setting f(3)=-1... Deducing... Setting f(7)=-1... Setting f(241)=1... Deducing... Setting f(23)=-1... Setting f(17)=-1... Setting f(19)=1... Deducing... Setting f(13)=-1... Setting f(47)=-1... Setting f(59)=1... Setting f(67)=-1... Setting f(239)=1... Setting f(251)=1... Setting f(31)=1... Deducing... Setting f(29)=-1... Setting f(53)=-1... Contradiction! f(1) = 1 and f(1) = -1 (from f(58)=-1) &lt;br /&gt;
&lt;br /&gt;
So f(11)=-1. &lt;br /&gt;
&lt;br /&gt;
[program name] -2 5 -11&lt;br /&gt;
Setting f(2)=-1... Setting f(5)=1... Setting f(11)=-1... Deducing... Setting f(3)=-1... Deducing... Setting f(7)=-1... Setting f(13)=1... Setting f(23)=-1... Setting f(241)=1... Deducing... Contradiction! -1 &amp;gt;= f[1,23] &amp;gt;= 1 &lt;br /&gt;
&lt;br /&gt;
So f(5) = -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;
If a completely multiplicative sequence with discrepancy 2 or less has length more than 246 then I think there is a human proof that f(2) and f(5) are -1. Given this I can show that if f(3) is 1 f(7) is -1.&lt;br /&gt;
&lt;br /&gt;
Assume that f(3) is 1 and f(7) is 1. We have by the above that f(2) and f(5) are -1. Then this will give the partial sum at 10 the value 2 so f(11) must be -1.&lt;br /&gt;
&lt;br /&gt;
Since f(12) is 1 the sum at 12 must be 2 and f(13) must be -1.&lt;br /&gt;
&lt;br /&gt;
Then f(25), f(26),f(27),f(28) and f(30) must be 1 this forces f(31) to be -1.&lt;br /&gt;
&lt;br /&gt;
Then f(62), f(63),f(64),f(65) and f(66) must be 1 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
So if a completely multiplicative sequence with discrepancy 2 or less has length more than 246 and f(3)=1 then f(7)=-1.&lt;br /&gt;
&lt;br /&gt;
So supopse f(3) = 1 and f(7) = -1.&lt;br /&gt;
&lt;br /&gt;
With these assumptions, the partial sum f[18,21]:=f(18)+f(19)+f(20)+f(21) equals -3+f(19). Since f[1,odd] is in {-1,0,1} it follows that f[18,21]&amp;gt;=-2 and thus f(19)=1.&lt;br /&gt;
&lt;br /&gt;
Similarly we get:&lt;br /&gt;
&lt;br /&gt;
f[168,171]=3+f(17) f(17)=-1,&lt;br /&gt;
&lt;br /&gt;
f[34,37]=3+f(37) f(37)=-1 and&lt;br /&gt;
&lt;br /&gt;
f[74,77]=3-f(11) f(11)=1.&lt;br /&gt;
&lt;br /&gt;
Since f(9)=f(10)=f(11)=f(12)=1 it follows that f(13)=-1.&lt;br /&gt;
&lt;br /&gt;
f[50,55]=-5+f(53)&amp;gt;=-2 which cannot be satisfied for f(53) in {-1,1}.&lt;br /&gt;
&lt;br /&gt;
Hence f(7) cannot be -1 and thus f(3)=-1.&lt;br /&gt;
&lt;br /&gt;
It remains to show (by hand) that there is no completely multiplicative sequence with discrepancy 2 and f(2)=f(3)=f(5)=-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;
Putting in multiplicative values:&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;
(need to finish filling in)&lt;br /&gt;
 ? ? - ? ? ? ? ? ? ?   70-79&lt;br /&gt;
 ? + ? ? ? ? ? ? ? ?   80-89&lt;br /&gt;
 ? ? ? ? ? ? ? ? - ?   90-99&lt;br /&gt;
&lt;br /&gt;
This is a proof that there is no completely multiplicative sequence with discrepancy 2, f(2)=f(3)=f(5)=-1 and f(7)=1.&lt;br /&gt;
&lt;br /&gt;
I assume f(2)=-1, f(3)=-1 and f(5)=-1. Then&lt;br /&gt;
&lt;br /&gt;
f[242,245]=-3+f(61) implies f(61)=1.&lt;br /&gt;
&lt;br /&gt;
For the sake of contradiction I assume furthermore f(7) = 1. Then f[1,10]=2 and thus f(11)=-1.&lt;br /&gt;
&lt;br /&gt;
We have:&lt;br /&gt;
&lt;br /&gt;
f[18,21]=-3+f(19) implies f(19)=1,&lt;br /&gt;
&lt;br /&gt;
f[168,171]=3+f(17) implies f(17)=-1,&lt;br /&gt;
&lt;br /&gt;
f[22,25]=3+f(23) implies f(23)=-1,&lt;br /&gt;
&lt;br /&gt;
f[60,63]=3-f(31) implies f(31)=1,&lt;br /&gt;
&lt;br /&gt;
f[60,65]=3-f(13) implies f(13)=1,&lt;br /&gt;
&lt;br /&gt;
f[114,117]=3+f(29) implies f(29)=-1,&lt;br /&gt;
&lt;br /&gt;
f[184,187]=3-f(37) implies f(37)=1,&lt;br /&gt;
&lt;br /&gt;
f(85,91) = 5 + f(89) -f(43) implies f(43)=1,&lt;br /&gt;
&lt;br /&gt;
f[40,43]=3+f(41) implies f(41)=-1,&lt;br /&gt;
&lt;br /&gt;
f[50,55]=3+f(53) implies f(53)=-1,&lt;br /&gt;
&lt;br /&gt;
f[58,61]=3+f(59) implies f(59)=-1,&lt;br /&gt;
&lt;br /&gt;
f[92,95]=-3-f(47) implies f(47)=-1 and&lt;br /&gt;
&lt;br /&gt;
f[132,135]=3-f(67) implies f(67)=1.&lt;br /&gt;
&lt;br /&gt;
0: 1 -1 -1 1 -1 1 1 -1 1 1|2&lt;br /&gt;
&lt;br /&gt;
10: -1 -1 1 -1 1 1 -1 -1 1 -1|0&lt;br /&gt;
&lt;br /&gt;
20: -1 1 -1 1 1 -1 -1 1 -1 -1|-2&lt;br /&gt;
&lt;br /&gt;
30: 1 -1 1 1 -1 1 1 -1 -1 1|0&lt;br /&gt;
&lt;br /&gt;
40: -1 1 1 -1 -1 1 -1 -1 1 -1|-2&lt;br /&gt;
&lt;br /&gt;
50: 1 1 -1 1 1 -1 -1 1 -1 1|0&lt;br /&gt;
&lt;br /&gt;
60: 1 -1 1 1 -1 -1 1 -1 1 1|2&lt;br /&gt;
&lt;br /&gt;
70: f(71) -1 f(73) -1 -1 1 -1 1 f(79) -1|-1+f(71)+f(73)+f(79)&lt;br /&gt;
&lt;br /&gt;
Now f[1,70]=2 and thus f(71)=-1. We have&lt;br /&gt;
&lt;br /&gt;
f[72,75]=-3+f(73) implies f(73)=1,&lt;br /&gt;
&lt;br /&gt;
f[88,91]=3+f(89) implies f(89)=-1 &lt;br /&gt;
&lt;br /&gt;
f(98)=f(99) =-1 which means there is a cut at 98 so the sum is 0 at 98. f(100) =1 so the sum is zero at 100. f(110)=f(111)=-1 so there is a cut at 110 so at 110 the sum is zero. This means that the sum of the numbers 101 to 110 is zero which means three of 101,103,107 and 109 must have positive value with the third negative.&lt;br /&gt;
&lt;br /&gt;
If we look at 200 201 202 and 203 we see that 200 and 201 have value -1 which means there is a cut at 200 and if 202 is negative then since 203 is negative the sum at 203 will be negative 3 so 202 must be positive and hence 101 must be negative and 103,107 and 109 must be positive.&lt;br /&gt;
&lt;br /&gt;
Now look at 206 through 215. Since 103 is positive 206 is negative and since 207 is negative there is a cut at 206 but the sum from 207 to 215 is negative 3 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
This is a proof that there is no completely multiplicative sequence with discrepancy 2, f(2)=f(3)=f(5)=-1 and f(7)=-1 (which is the last case).&lt;br /&gt;
&lt;br /&gt;
I assume f(2)=-1, f(3)=-1 and f(5)=-1. Then&lt;br /&gt;
&lt;br /&gt;
f[242,245]=-3+f(61) implies f(61)=1.&lt;br /&gt;
&lt;br /&gt;
For the sake of contradiction I assume furthermore f(7) = -1.&lt;br /&gt;
&lt;br /&gt;
We have:&lt;br /&gt;
&lt;br /&gt;
f[14,17]=3+f(17) implies f(17)=-1 and&lt;br /&gt;
&lt;br /&gt;
f[34,37]=3+f(37) implies f(37)=-1.&lt;br /&gt;
&lt;br /&gt;
Sub-case 1: f(11)=-1.&lt;br /&gt;
&lt;br /&gt;
0: 1 -1 -1 1 -1 1 -1 -1 1 1|0&lt;br /&gt;
&lt;br /&gt;
10: -1 -1 f(13) 1 1 1 -1 -1 f(19) -1|-2+f(13)+f(19)&lt;br /&gt;
&lt;br /&gt;
Then f[1,12]=-2 and thus f(13)=1. Now&lt;br /&gt;
&lt;br /&gt;
f[54,57]=3-f(19) implies f(19)=1.&lt;br /&gt;
&lt;br /&gt;
10: -1 -1 1 1 1 1 -1 -1 1 -1|0&lt;br /&gt;
&lt;br /&gt;
20: 1 1 f(23) 1 1 -1 -1 -1 f(29) -1|f(23)+f(29)&lt;br /&gt;
&lt;br /&gt;
f[1,22]=2 implies f(23)=-1 and then f[1,25]=3 is a contradiction. Thus f(11)=1.&lt;br /&gt;
&lt;br /&gt;
Sub-case 2: f(11)=1.&lt;br /&gt;
&lt;br /&gt;
0: 1 -1 -1 1 -1 1 -1 -1 1 1|0&lt;br /&gt;
&lt;br /&gt;
10: 1 -1 f(13) 1 1 1 -1 -1 f(19) -1|f(13)+f(19)&lt;br /&gt;
&lt;br /&gt;
We have f(9)=f(10)=f(11)=f(14)=f(15)=f(16)=1 and f(12)=-1. This implies f(13)=-1.&lt;br /&gt;
&lt;br /&gt;
f[34,39]=3-f(19) implies f(19)=1,&lt;br /&gt;
&lt;br /&gt;
f[30,33]=-3+f(31) implies f(31)=1,&lt;br /&gt;
&lt;br /&gt;
f[28,33]=-3+f(29) implies f(29)=1 and&lt;br /&gt;
&lt;br /&gt;
f[242,247]=-3+f(41) implies f(41)=1.&lt;br /&gt;
&lt;br /&gt;
10: 1 -1 -1 1 1 1 -1 -1 1 -1|0&lt;br /&gt;
&lt;br /&gt;
20: 1 -1 f(23) 1 1 1 -1 -1 1 -1|1+f(23)&lt;br /&gt;
&lt;br /&gt;
30: 1 -1 -1 1 1 1 -1 -1 1 1|3+f(23)&lt;br /&gt;
&lt;br /&gt;
40: 1 -1 f(43) 1 -1 -f(23) f(47) -1 1 -1|2+f(43)+f(47)&lt;br /&gt;
&lt;br /&gt;
Since f[1,41]=4 +f(23) we get a contradiction and thus f(11) is not 1.&lt;br /&gt;
&lt;br /&gt;
Therefore we get a contradiction in the main case (the case f(7)=-1).&lt;br /&gt;
&lt;br /&gt;
Since f(7)=1 is treated in an earlier post, that completes the proof (by hand) that there is no completely multiplicative sequence with discrepancy 2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is a [[computer proof that completely multiplicative sequences have at least 2]], inspired by the above analysis.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=2327</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=2327"/>
		<updated>2009-08-14T15:23:02Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
A weaker conjecture which is also open is:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30)&lt;br /&gt;
* [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=2313</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=2313"/>
		<updated>2009-08-12T03:03:51Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: /* A possible proof */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
A weaker conjecture which is also open is:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
== A possible proof ==&lt;br /&gt;
&lt;br /&gt;
The Hirsch conjecture is equivalent to the d-step conjecture. The d-step conjecture is equivalent to the following case we have n dimensional space and two sets of hyperplanes intersecting in two points what is required is an n-step path between the two points.&lt;br /&gt;
&lt;br /&gt;
Let us assume that we are at the lowest value for which the d-step conjecture holds.&lt;br /&gt;
&lt;br /&gt;
If one of the hyperplanes has only 2n-2 other hyperplanes intersecting it then the graph of its intersection with the polytope has diameter n-1 by the inductive hypotheses and if we can get a edge connecting it with the other set of n points we are done but I think there is such an edge because the other n-1 hyperplanes in its bundle don’t block this hyperplane so the hyperplanes in the other bundle must do this and the result is that the hyperplane intersects the cone formed by the other set of hyperplanes in a n-1 dimensional polytope which includes vertices and each of those vertices is a line on the cone of the other hyperplanes. &lt;br /&gt;
&lt;br /&gt;
The result is we get a line to the hyperplane which combined with the fact it has diameter n-1 gives us the d-step conjecture. &lt;br /&gt;
&lt;br /&gt;
If all the hyperplanes intersects all the other hyperplanes then the polar of the polytope has the graph of a simplex in a higher dimensional space which since simple graphs have equivalent polytopes means that the dual is that simplex but the simplex is self dual so the polytope itself must be that simplex but that simplex has higher dimension which gives a contradiction and so the d step conjecture and hence Hirsch’s conjecture holds.&lt;br /&gt;
&lt;br /&gt;
So the only case left is that only 2n-3 or less other hyperplanes intersect one hyperplane. The diameter of this graph must be greater than n-1 or as above we can get an edge connecting it with the other set of points and we are done. In this case we can take the intersection of this plane as a lower dimensional counterexample to the hirsch conjecture if the ratio of hyperplanes to dimensions is 2 to 1 we contradict the induction hypothesis and we are done. If not the ratio is less than 2 to 1 and we proceed as follows:&lt;br /&gt;
&lt;br /&gt;
We take two points which are a diameter apart on the graph. Then since there are the ratio is less than 2 to 1 these points have a common plane and the diameter of the two points on that plane is greater than or the same as on the polytope. We take the intersection of the plane with the polytope as the new polytope then the dimension goes down by one as does the number of hyperplanes and we repeat with the new polytope eventually the ratio will go to 2 to 1 or the dimension will be three or less. In one case the inductive hypotheses is contradicted and we are done in the other case the the polytope must satisfy  the Hirsch conjecture and again we are done.&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30)&lt;br /&gt;
* [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=2312</id>
		<title>The polynomial Hirsch conjecture</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=The_polynomial_Hirsch_conjecture&amp;diff=2312"/>
		<updated>2009-08-12T03:03:22Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;: &#039;&#039;&#039;The Hirsch conjecture&#039;&#039;&#039;: The graph of a d-polytope with n facets has diameter at most n-d.&lt;br /&gt;
&lt;br /&gt;
A weaker conjecture which is also open is:&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;Polynomial Diameter Conjecture&#039;&#039;&#039;: Let G be the graph of a d-polytope with n facets. Then the diameter of G is bounded above by a polynomial of d and n.&lt;br /&gt;
&lt;br /&gt;
== A possible proof ==&lt;br /&gt;
&lt;br /&gt;
The Hirsch conjecture is equivalent to the d-step conjecture. The d-step conjecture is equivalent to the following case we have n dimensional space and two sets of hyperplanes intersecting in two points what is required is an n-step path between the two points.&lt;br /&gt;
&lt;br /&gt;
Let us assume that we are at the lowest value for which the d-step conjecture holds&lt;br /&gt;
&lt;br /&gt;
If one of the hyperplanes has only 2n-2 other hyperplanes intersecting it then the graph of its intersection with the polytope has diameter n-1 by the inductive hypotheses and if we can get a edge connecting it with the other set of n points we are done but I think there is such an edge because the other n-1 hyperplanes in its bundle don’t block this hyperplane so the hyperplanes in the other bundle must do this and the result is that the hyperplane intersects the cone formed by the other set of hyperplanes in a n-1 dimensional polytope which includes vertices and each of those vertices is a line on the cone of the other hyperplanes. &lt;br /&gt;
&lt;br /&gt;
The result is we get a line to the hyperplane which combined with the fact it has diameter n-1 gives us the d-step conjecture. &lt;br /&gt;
&lt;br /&gt;
If all the hyperplanes intersects all the other hyperplanes then the polar of the polytope has the graph of a simplex in a higher dimensional space which since simple graphs have equivalent polytopes means that the dual is that simplex but the simplex is self dual so the polytope itself must be that simplex but that simplex has higher dimension which gives a contradiction and so the d step conjecture and hence Hirsch’s conjecture holds.&lt;br /&gt;
&lt;br /&gt;
So the only case left is that only 2n-3 or less other hyperplanes intersect one hyperplane. The diameter of this graph must be greater than n-1 or as above we can get an edge connecting it with the other set of points and we are done. In this case we can take the intersection of this plane as a lower dimensional counterexample to the hirsch conjecture if the ratio of hyperplanes to dimensions is 2 to 1 we contradict the induction hypothesis and we are done. If not the ratio is less than 2 to 1 and we proceed as follows:&lt;br /&gt;
&lt;br /&gt;
We take two points which are a diameter apart on the graph. Then since there are the ratio is less than 2 to 1 these points have a common plane and the diameter of the two points on that plane is greater than or the same as on the polytope. We take the intersection of the plane with the polytope as the new polytope then the dimension goes down by one as does the number of hyperplanes and we repeat with the new polytope eventually the ratio will go to 2 to 1 or the dimension will be three or less. In one case the inductive hypotheses is contradicted and we are done in the other case the the polytope must satisfy  the Hirsch conjecture and again we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/17/the-polynomial-hirsch-conjecture-a-proposal-for-polymath3 The polynomial Hirsch conjecture, a proposal for Polymath 3] (July 17)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/28/polymath3-abstract-polynomial-hirsch-conjecture-aphc/ The polynomial Hirsch conjecture, a proposal for Polymath 3 cont.] (July 28)&lt;br /&gt;
* [http://gilkalai.wordpress.com/2009/07/30/the-polynomial-hirsch-conjecture-how-to-improve-the-upper-bounds/ The polynomial Hirsch conjecture - how to improve the upper bounds] (July 30)&lt;br /&gt;
* [http://en.wordpress.com/tag/hirsch-conjecture/ Wordpress posts on the Hirsch conjecture]&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2059</id>
		<title>Coloring.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2059"/>
		<updated>2009-07-28T16:08:14Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{The coloring Hales-Jewett problem}\label{coloring-sec}&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every $k$ and every $r$ there exists an $n = HJ(k,r)$ such that if you colour the elements of $[k]{}^n$ with $r$ colours, then there must be a combinatorial line with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the Density Hales-Jewett theorem, since there must be a set of density at least $r^{-1}$ of elements of $[k]{}^n$ all of whose elements have the same colour. It also follows from the Graham-Rothschild theorem [\cite{}].&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the colour classes contains an $m$-dimensional combinatorial subspace, if $n$ is sufficiently large depending on $k$, $r$ and $m$.&lt;br /&gt;
&lt;br /&gt;
A related idea is that of the Van der Waerden number $W(k,r)$ [\cite{waerden}], which is the length of the longest sequence $1,2,\ldots,n$ which can be $r$-coloured without a monochromatic arithmetic progression of length $k$.  These numbers were used in this project to construct $r$-colourings of $k^{m}$ without combinatorial lines, and so provide new lower bounds for $HJ(k,r)$. This method is not new but the lower bounds appear to be new \cite{beck},\cite{shelah}.&lt;br /&gt;
&lt;br /&gt;
\begin{lemma} $HJ(k,r) \ge \lfloor (W(k,r)-1)/(k-1)\rfloor$ \end{lemma}&lt;br /&gt;
&lt;br /&gt;
\begin{proof}&lt;br /&gt;
Let $m = \lfloor (W(k,r)-1)/(k-1) \rfloor$.  Suppose we have a Van der Warden colouring of $1, 2, \ldots W(k,r)$.  Give each point $(a_1,a_2,\ldots,a_m) \in [k]{}^m$ the colour that corresponds to $1+\sum (a_j-1)$.  The points of a combinatorial line give sums that form an arithmetic progression, and will therefore not be monochromatic.&lt;br /&gt;
\end{proof}&lt;br /&gt;
&lt;br /&gt;
A recent table of lower bounds for the Van der Waerden numbers can be found at \cite{heule} &lt;br /&gt;
&lt;br /&gt;
These numbers were used to produce the following table of lower bounds for colouring Hales-Jewett numbers.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb] \centerline{\begin{tabular}{l|lllll}&lt;br /&gt;
$k\backslash r$ &amp;amp; 2    &amp;amp; 3     &amp;amp; 4     &amp;amp; 5     &amp;amp; 6      \\&lt;br /&gt;
\hline&lt;br /&gt;
3   &amp;amp;      &amp;amp; 13    &amp;amp; 37    &amp;amp; 84    &amp;amp; 103    \\&lt;br /&gt;
4   &amp;amp; 11   &amp;amp; 97    &amp;amp; 349   &amp;amp; 751   &amp;amp; 3259   \\&lt;br /&gt;
5   &amp;amp; 59   &amp;amp; 302   &amp;amp; 2609  &amp;amp; 6011  &amp;amp; 14173  \\&lt;br /&gt;
6   &amp;amp; 226  &amp;amp; 1777  &amp;amp; 18061 &amp;amp; 49391 &amp;amp; 120097 \\&lt;br /&gt;
7   &amp;amp; 617  &amp;amp; 7309  &amp;amp; 64661 &amp;amp;       &amp;amp;        \\&lt;br /&gt;
8   &amp;amp; 1069 &amp;amp; 34057 &amp;amp;       &amp;amp;       &amp;amp;        \\&lt;br /&gt;
9   &amp;amp; 3389 &amp;amp;       &amp;amp;       &amp;amp;       &amp;amp;        &lt;br /&gt;
\end{tabular}}&lt;br /&gt;
\caption{Lower bounds for colouring Hales-Jewett numbers} &lt;br /&gt;
\label{HJcolour}\end{figure}&lt;br /&gt;
&lt;br /&gt;
A related problem is if we colour the elements of $[k]{}^n$ with $r$ colours and look for a geometric line. Call the numbers associated with this problem $n = M(k,r)$. We have a relationship between the $HJ(k,r)$ and the $M(k,r)$. We can start with a colouring of $[k]{}^n$ free of combinatorial lines and get a colourings of $[k]{}^{2n-1}$ and  $[k]{}^{2n}$ free of geometric lines.We send each point of the original space to sets of points in the second space. When we go from $[k]{}^n$ to $[k]{}^{2n-1}$ we send coordinates equal to $n$ to $n$ and for the rest let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping a point can have one to $2^{k}$ colourings. When we go from $[k]{}^n$ to $[k]{}^{2n}$ let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping each point has  $2^{k}$ images. In both of these colourings the preimage of a geometric line is a combinatorial line. So a combinatorial line free colouring becomes a geometric line free coloring and we get $M(2k-1,r)$ and $M(2k,r)$ are both greater than or equal to $HJ(k,r)$. We can then use this lower bound for $HJ(k,2)$, $2^{k}/k^{2}$ $\cite{beck}$. This improves on the previous method of computing the $M(k,r)$ It also improves the previous lower bound for $M(k,2)$ from $2^{k/4}/3(k^{4})$ to  $2^{k/2-3}/(k/2)^{2}$ if k is even, $2^{k/2-3}/(k+1/2)^{2}$ if k is odd. The previous method the sum of the squares of the coordinates and looked for sequences free of quadratic progressions $\cite{beck}$.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2058</id>
		<title>Coloring.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2058"/>
		<updated>2009-07-28T15:58:14Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{The coloring Hales-Jewett problem}\label{coloring-sec}&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every $k$ and every $r$ there exists an $n = HJ(k,r)$ such that if you colour the elements of $[k]{}^n$ with $r$ colours, then there must be a combinatorial line with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the Density Hales-Jewett theorem, since there must be a set of density at least $r^{-1}$ of elements of $k^{n}$ all of whose elements have the same colour. It also follows from the Graham-Rothschild theorem [\cite{}].&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the colour classes contains an $m$-dimensional combinatorial subspace, if $n$ is sufficiently large depending on $k$, $r$ and $m$.&lt;br /&gt;
&lt;br /&gt;
A related idea is that of the Van der Waerden number $W(k,r)$ [\cite{waerden}], which is the length of the longest sequence $1,2,\ldots,n$ which can be $r$-coloured without a monochromatic arithmetic progression of length $k$.  These numbers were used in this project to construct $r$-colourings of $k^{m}$ without combinatorial lines, and so provide new lower bounds for $HJ(k,r)$. This method is not new but the lower bounds appear to be new \cite{beck},\cite{shelah}.&lt;br /&gt;
&lt;br /&gt;
\begin{lemma} $HJ(k,r) \ge \lfloor (W(k,r)-1)/(k-1)\rfloor$ \end{lemma}&lt;br /&gt;
&lt;br /&gt;
\begin{proof}&lt;br /&gt;
Let $m = \lfloor (W(k,r)-1)/(k-1) \rfloor$.  Suppose we have a Van der Warden colouring of $1, 2, \ldots W(k,r)$.  Give each point $(a_1,a_2,\ldots,a_m) \in [k]{}^m$ the colour that corresponds to $1+\sum (a_j-1)$.  The points of a combinatorial line give sums that form an arithmetic progression, and will therefore not be monochromatic.&lt;br /&gt;
\end{proof}&lt;br /&gt;
&lt;br /&gt;
A recent table of lower bounds for the Van der Waerden numbers can be found at \cite{heule} &lt;br /&gt;
&lt;br /&gt;
These numbers were used to produce the following table of lower bounds for colouring Hales-Jewett numbers.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb] \centerline{\begin{tabular}{l|lllll}&lt;br /&gt;
$k\backslash r$ &amp;amp; 2    &amp;amp; 3     &amp;amp; 4     &amp;amp; 5     &amp;amp; 6      \\&lt;br /&gt;
\hline&lt;br /&gt;
3   &amp;amp;      &amp;amp; 13    &amp;amp; 37    &amp;amp; 84    &amp;amp; 103    \\&lt;br /&gt;
4   &amp;amp; 11   &amp;amp; 97    &amp;amp; 349   &amp;amp; 751   &amp;amp; 3259   \\&lt;br /&gt;
5   &amp;amp; 59   &amp;amp; 302   &amp;amp; 2609  &amp;amp; 6011  &amp;amp; 14173  \\&lt;br /&gt;
6   &amp;amp; 226  &amp;amp; 1777  &amp;amp; 18061 &amp;amp; 49391 &amp;amp; 120097 \\&lt;br /&gt;
7   &amp;amp; 617  &amp;amp; 7309  &amp;amp; 64661 &amp;amp;       &amp;amp;        \\&lt;br /&gt;
8   &amp;amp; 1069 &amp;amp; 34057 &amp;amp;       &amp;amp;       &amp;amp;        \\&lt;br /&gt;
9   &amp;amp; 3389 &amp;amp;       &amp;amp;       &amp;amp;       &amp;amp;        &lt;br /&gt;
\end{tabular}}&lt;br /&gt;
\caption{Lower bounds for colouring Hales-Jewett numbers} &lt;br /&gt;
\label{HJcolour}\end{figure}&lt;br /&gt;
&lt;br /&gt;
A related problem is if we colour the elements of $k^{n}$ with $r$ colours and look for a geometric line. Call the numbers associated with this problem $n = M(k,r)$. We have a relationship between the $HJ(k,r)$ and the $M(k,r)$. We can start with a colouring of $k^{n}$ free of combinatorial lines and get a colourings of $k^{2n-1}$ and  $k^{2n-1}$ free of geometric lines.&lt;br /&gt;
We send each point of the original space to sets of points in the second space. When we go from&lt;br /&gt;
$k^{n}$ to $k^{2n-1}$ we send coordinates equal to $n$ to $n$ and for the rest let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping a point can have one to $2^{k}$ colourings. When we go from $k^{n}$ to $k^{2n}$ let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping each point has  $2^{k}$ colourings. In both of these colourings the preimage of a geometric line is a combinatorial line. So a combinatorial line free colouring becomes a geometric line free coloring and we get $M(2k-1,r)$ and $M(2k,r)$ are both greater than or equal to $HJ(k,r)$. We can then use this lower bound for $HJ(k,2)$, $2^{k}/k^{2}$This improves on the previous method of computing the $M(k,r)$ It also improves the previous lower bound for $M(k,2)$ from $2^{k/4}/3(k^{4})$ to  $2^{k/2-3}/(k/2)^{2}$ if k is even, $2^{k/2-3}/(k+1/2)^{2}$ if k is odd. The previous method the sum of the squares of the coordinates and looked for sequences free of quadratic progressions $\cite{beck}$.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2057</id>
		<title>Coloring.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2057"/>
		<updated>2009-07-28T15:55:06Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{The coloring Hales-Jewett problem}\label{coloring-sec}&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every $k$ and every $r$ there exists an $n = HJ(k,r)$ such that if you colour the elements of $[k]{}^n$ with $r$ colours, then there must be a combinatorial line with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the Density Hales-Jewett theorem, since there must be a set of density at least $r^{-1}$ of elements of $[k]{}^n$ all of whose elements have the same colour. It also follows from the Graham-Rothschild theorem [\cite{}].&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the colour classes contains an $m$-dimensional combinatorial subspace, if $n$ is sufficiently large depending on $k$, $r$ and $m$.&lt;br /&gt;
&lt;br /&gt;
A related idea is that of the Van der Waerden number $W(k,r)$ [\cite{waerden}], which is the length of the longest sequence $1,2,\ldots,n$ which can be $r$-coloured without a monochromatic arithmetic progression of length $k$.  These numbers were used in this project to construct $r$-colourings of $[k]{}^m$ without combinatorial lines, and so provide new lower bounds for $HJ(k,r)$. This method is not new but the lower bounds appear to be new \cite{beck},\cite{shelah}.&lt;br /&gt;
&lt;br /&gt;
\begin{lemma} $HJ(k,r) \ge \lfloor (W(k,r)-1)/(k-1)\rfloor$ \end{lemma}&lt;br /&gt;
&lt;br /&gt;
\begin{proof}&lt;br /&gt;
Let $m = \lfloor (W(k,r)-1)/(k-1) \rfloor$.  Suppose we have a Van der Warden colouring of $1, 2, \ldots W(k,r)$.  Give each point $(a_1,a_2,\ldots,a_m) \in [k]{}^m$ the colour that corresponds to $1+\sum (a_j-1)$.  The points of a combinatorial line give sums that form an arithmetic progression, and will therefore not be monochromatic.&lt;br /&gt;
\end{proof}&lt;br /&gt;
&lt;br /&gt;
A recent table of lower bounds for the Van der Waerden numbers can be found at \cite{heule} &lt;br /&gt;
&lt;br /&gt;
These numbers were used to produce the following table of lower bounds for colouring Hales-Jewett numbers.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb] \centerline{\begin{tabular}{l|lllll}&lt;br /&gt;
$k\backslash r$ &amp;amp; 2    &amp;amp; 3     &amp;amp; 4     &amp;amp; 5     &amp;amp; 6      \\&lt;br /&gt;
\hline&lt;br /&gt;
3   &amp;amp;      &amp;amp; 13    &amp;amp; 37    &amp;amp; 84    &amp;amp; 103    \\&lt;br /&gt;
4   &amp;amp; 11   &amp;amp; 97    &amp;amp; 349   &amp;amp; 751   &amp;amp; 3259   \\&lt;br /&gt;
5   &amp;amp; 59   &amp;amp; 302   &amp;amp; 2609  &amp;amp; 6011  &amp;amp; 14173  \\&lt;br /&gt;
6   &amp;amp; 226  &amp;amp; 1777  &amp;amp; 18061 &amp;amp; 49391 &amp;amp; 120097 \\&lt;br /&gt;
7   &amp;amp; 617  &amp;amp; 7309  &amp;amp; 64661 &amp;amp;       &amp;amp;        \\&lt;br /&gt;
8   &amp;amp; 1069 &amp;amp; 34057 &amp;amp;       &amp;amp;       &amp;amp;        \\&lt;br /&gt;
9   &amp;amp; 3389 &amp;amp;       &amp;amp;       &amp;amp;       &amp;amp;        &lt;br /&gt;
\end{tabular}}&lt;br /&gt;
\caption{Lower bounds for colouring Hales-Jewett numbers} &lt;br /&gt;
\label{HJcolour}\end{figure}&lt;br /&gt;
&lt;br /&gt;
A related problem is if we colour the elements of $k^{n}$ with $r$ colours and look for a geometric line. Call the numbers associated with this problem $n = M(k,r)$. We have a relationship between the $HJ(k,r)$ and the $M(k,r)$. We can start with a colouring of $k^{n}$ free of combinatorial lines and get a colourings of $k^{2n-1}$ and  $k^{2n-1}$ free of geometric lines.&lt;br /&gt;
We send each point of the original space to sets of points in the second space. When we go from&lt;br /&gt;
$k^{n}$ to $k^{2n-1}$ we send coordinates equal to $n$ to $n$ and for the rest let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping a point can have one to $2^{k}$ colourings. When we go from $k^{n}$ to $k^{2n}$ let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping each point has  $2^{k}$ colourings. In both of these colourings the preimage of a geometric line is a combinatorial line. So a combinatorial line free colouring becomes a geometric line free coloring and we get $M(2k-1,r)$ and $M(2k,r)$ are both greater than or equal to $HJ(k,r)$. We can then use this lower bound for $HJ(k,2)$, $2^{k}/k^{2}$This improves on the previous method of computing the $M(k,r)$ It also improves the previous lower bound for $M(k,2)$ from $2^{k/4}/3(k^{4})$ to  $2^{k/2-3}/(k/2)^{2}$ if k is even, $2^{k/2-3}/(k+1/2)^{2}$ if k is odd. The previous method the sum of the squares of the coordinates and looked for sequences free of quadratic progressions $\cite{beck}$.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2056</id>
		<title>Coloring.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2056"/>
		<updated>2009-07-28T15:42:09Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{The coloring Hales-Jewett problem}\label{coloring-sec}&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every $k$ and every $r$ there exists an $n = HJ(k,r)$ such that if you colour the elements of $[k]{}^n$ with $r$ colours, then there must be a combinatorial line with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the Density Hales-Jewett theorem, since there must be a set of density at least $r^{-1}$ of elements of $[k]{}^n$ all of whose elements have the same colour. It also follows from the Graham-Rothschild theorem [\cite{}].&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the colour classes contains an $m$-dimensional combinatorial subspace, if $n$ is sufficiently large depending on $k$, $r$ and $m$.&lt;br /&gt;
&lt;br /&gt;
A related idea is that of the Van der Waerden number $W(k,r)$ [\cite{waerden}], which is the length of the longest sequence $1,2,\ldots,n$ which can be $r$-coloured without a monochromatic arithmetic progression of length $k$.  These numbers were used in this project to construct $r$-colourings of $[k]{}^m$ without combinatorial lines, and so provide new lower bounds for $HJ(k,r)$. This method is not new but the lower bounds appear to be new \cite{beck},\cite{shelah}.&lt;br /&gt;
&lt;br /&gt;
\begin{lemma} $HJ(k,r) \ge \lfloor (W(k,r)-1)/(k-1)\rfloor$ \end{lemma}&lt;br /&gt;
&lt;br /&gt;
\begin{proof}&lt;br /&gt;
Let $m = \lfloor (W(k,r)-1)/(k-1) \rfloor$.  Suppose we have a Van der Warden colouring of $1, 2, \ldots W(k,r)$.  Give each point $(a_1,a_2,\ldots,a_m) \in [k]{}^m$ the colour that corresponds to $1+\sum (a_j-1)$.  The points of a combinatorial line give sums that form an arithmetic progression, and will therefore not be monochromatic.&lt;br /&gt;
\end{proof}&lt;br /&gt;
&lt;br /&gt;
A recent table of lower bounds for the Van der Waerden numbers can be found at \cite{heule} &lt;br /&gt;
&lt;br /&gt;
These numbers were used to produce the following table of lower bounds for colouring Hales-Jewett numbers.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb] \centerline{\begin{tabular}{l|lllll}&lt;br /&gt;
$k\backslash r$ &amp;amp; 2    &amp;amp; 3     &amp;amp; 4     &amp;amp; 5     &amp;amp; 6      \\&lt;br /&gt;
\hline&lt;br /&gt;
3   &amp;amp;      &amp;amp; 13    &amp;amp; 37    &amp;amp; 84    &amp;amp; 103    \\&lt;br /&gt;
4   &amp;amp; 11   &amp;amp; 97    &amp;amp; 349   &amp;amp; 751   &amp;amp; 3259   \\&lt;br /&gt;
5   &amp;amp; 59   &amp;amp; 302   &amp;amp; 2609  &amp;amp; 6011  &amp;amp; 14173  \\&lt;br /&gt;
6   &amp;amp; 226  &amp;amp; 1777  &amp;amp; 18061 &amp;amp; 49391 &amp;amp; 120097 \\&lt;br /&gt;
7   &amp;amp; 617  &amp;amp; 7309  &amp;amp; 64661 &amp;amp;       &amp;amp;        \\&lt;br /&gt;
8   &amp;amp; 1069 &amp;amp; 34057 &amp;amp;       &amp;amp;       &amp;amp;        \\&lt;br /&gt;
9   &amp;amp; 3389 &amp;amp;       &amp;amp;       &amp;amp;       &amp;amp;        &lt;br /&gt;
\end{tabular}}&lt;br /&gt;
\caption{Lower bounds for colouring Hales-Jewett numbers} &lt;br /&gt;
\label{HJcolour}\end{figure}&lt;br /&gt;
&lt;br /&gt;
A related problem is if we colour the elements of $k^{n}$ with $r$ colours and look for a geometric line. Call the numbers associated with this problem $n = M(k,r)$. We have a relationship between the $HJ(k,r)$ and the $M(k,r)$. We can start with a colouring of $k^{n}$ free of combinatorial lines and get a colourings of $k^{2n-1}$ and  $k^{2n-1}$ free of geometric lines.&lt;br /&gt;
We send each point of the original space to sets of points in the second space. When we go from&lt;br /&gt;
$k^{n}$ to $k^{2n-1}$ we send coordinates equal to $n$ to $n$ and for the rest let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping a point can have one to $2^{k}$ colourings. When we go from $k^{n}$ to $k^{2n}$ let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping each point has  $2^{k}$ colourings. In both of these colourings the preimage of a geometric line is a combinatorial line. So a combinatorial line free colouring becomes a geometric line free coloring and we get $M(2k-1,r)$ and $M(2k,r)$ are both greater than or equal to $HJ(k,r)$. This improves on the previous method of computing the $M(k,r)$ It also improves the previous lower bound for $M(k,2)$ from $2^{k/4}/3(k^{4})$ to roughly $2^{k/2-3}/k^{2}$ . The previous method the sum of the squares of the coordinates and looked for sequences free of quadratic progressions $\cite{beck}$.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2035</id>
		<title>Coloring.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2035"/>
		<updated>2009-07-26T20:36:31Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{The coloring Hales-Jewett problem}\label{coloring-sec}&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every $k$ and every $r$ there exists an $n = HJ(k,r)$ such that if you colour the elements of $[k]{}^n$ with $r$ colours, then there must be a combinatorial line with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the Density Hales-Jewett theorem, since there must be a set of density at least $r^{-1}$ of elements of $[k]{}^n$ all of whose elements have the same colour. It also follows from the Graham-Rothschild theorem [\cite{}].&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the colour classes contains an $m$-dimensional combinatorial subspace, if $n$ is sufficiently large depending on $k$, $r$ and $m$.&lt;br /&gt;
&lt;br /&gt;
A related idea is that of the Van der Waerden number $W(k,r)$ [\cite{waerden}], which is the length of the longest sequence $1,2,\ldots,n$ which can be $r$-coloured without a monochromatic arithmetic progression of length $k$.  These numbers were used in this project to construct $r$-colourings of $[k]{}^m$ without combinatorial lines, and so provide new lower bounds for $HJ(k,r)$. This method is not new but the lower bounds appear to be new \cite{beck},\cite{shelah}.&lt;br /&gt;
&lt;br /&gt;
\begin{lemma} $HJ(k,r) \ge \lfloor (W(k,r)-1)/(k-1)\rfloor$ \end{lemma}&lt;br /&gt;
&lt;br /&gt;
\begin{proof}&lt;br /&gt;
Let $m = \lfloor (W(k,r)-1)/(k-1) \rfloor$.  Suppose we have a Van der Warden colouring of $1, 2, \ldots W(k,r)$.  Give each point $(a_1,a_2,\ldots,a_m) \in [k]{}^m$ the colour that corresponds to $1+\sum (a_j-1)$.  The points of a combinatorial line give sums that form an arithmetic progression, and will therefore not be monochromatic.&lt;br /&gt;
\end{proof}&lt;br /&gt;
&lt;br /&gt;
A recent table of lower bounds for the Van der Waerden numbers can be found at \cite{heule} &lt;br /&gt;
&lt;br /&gt;
These numbers were used to produce the following table of lower bounds for colouring Hales-Jewett numbers.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb] \centerline{\begin{tabular}{l|lllll}&lt;br /&gt;
$k\backslash r$ &amp;amp; 2    &amp;amp; 3     &amp;amp; 4     &amp;amp; 5     &amp;amp; 6      \\&lt;br /&gt;
\hline&lt;br /&gt;
3   &amp;amp;      &amp;amp; 13    &amp;amp; 37    &amp;amp; 84    &amp;amp; 103    \\&lt;br /&gt;
4   &amp;amp; 11   &amp;amp; 97    &amp;amp; 349   &amp;amp; 751   &amp;amp; 3259   \\&lt;br /&gt;
5   &amp;amp; 59   &amp;amp; 302   &amp;amp; 2609  &amp;amp; 6011  &amp;amp; 14173  \\&lt;br /&gt;
6   &amp;amp; 226  &amp;amp; 1777  &amp;amp; 18061 &amp;amp; 49391 &amp;amp; 120097 \\&lt;br /&gt;
7   &amp;amp; 617  &amp;amp; 7309  &amp;amp; 64661 &amp;amp;       &amp;amp;        \\&lt;br /&gt;
8   &amp;amp; 1069 &amp;amp; 34057 &amp;amp;       &amp;amp;       &amp;amp;        \\&lt;br /&gt;
9   &amp;amp; 3389 &amp;amp;       &amp;amp;       &amp;amp;       &amp;amp;        &lt;br /&gt;
\end{tabular}}&lt;br /&gt;
\caption{Lower bounds for colouring Hales-Jewett numbers} &lt;br /&gt;
\label{HJcolour}\end{figure}&lt;br /&gt;
&lt;br /&gt;
A related problem is if we colour the elements of $k^{n}$ with $r$ colours and look for a geometric line. Call the numbers associated with this problem $n = M(k,r)$. We have a relationship between the $HJ(k,r)$ and the $M(k,r)$. We can start with a colouring of $[k]{}^n$ free of combinatorial lines and get a colourings of $[k]{}^2n-1$ and  $k^{2n-1}$ free of geometric lines.&lt;br /&gt;
We send each point of the original space to sets of points in the second space. When we go from&lt;br /&gt;
$k^{n}$ to $k^{2n-1}$ we send coordinates equal to $n$ to $n$ and for the rest let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping a point can have one to $2^{k}$ colourings. When we go from $k^{n}$ to $k^{2n}$ let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping each point has  $2^{k}$ colourings. In both of these colourings the preimage of a geometric line is a combinatorial line. So a combinatorial line free colouring becomes a geometric line free coloring and we get $M(2k-1,r)$ and $M(2k,r)$ are both greater than or equal to $HJ(k,r)$. This improves on the previous method of computing the $M(k,r)$ It also improves the previous lower bound for $M(k,2)$ from roughly $2^{k/4}$ to roughly $2^{k/4}$ $\cite{beck}$.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Polymath.tex&amp;diff=2034</id>
		<title>Polymath.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Polymath.tex&amp;diff=2034"/>
		<updated>2009-07-26T20:31:40Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\documentclass[12pt,a4paper,reqno]{amsart}&lt;br /&gt;
\usepackage{amssymb}&lt;br /&gt;
\usepackage{amscd}&lt;br /&gt;
%\usepackage{psfig}&lt;br /&gt;
\usepackage{graphicx}&lt;br /&gt;
%\usepackage{showkeys}  &lt;br /&gt;
% uncomment this when editing cross-references&lt;br /&gt;
\numberwithin{equation}{section}&lt;br /&gt;
&lt;br /&gt;
\addtolength{\textwidth}{3 truecm}&lt;br /&gt;
\addtolength{\textheight}{1 truecm}&lt;br /&gt;
\setlength{\voffset}{-.6 truecm}&lt;br /&gt;
\setlength{\hoffset}{-1.3 truecm}&lt;br /&gt;
     &lt;br /&gt;
\theoremstyle{plain}&lt;br /&gt;
&lt;br /&gt;
\newtheorem{theorem}{Theorem}[section]&lt;br /&gt;
%\newtheorem{theorem}[theorem]{Theorem}&lt;br /&gt;
\newtheorem{proposition}[theorem]{Proposition}&lt;br /&gt;
\newtheorem{lemma}[theorem]{Lemma}&lt;br /&gt;
\newtheorem{corollary}[theorem]{Corollary}&lt;br /&gt;
\newtheorem{conjecture}[theorem]{Conjecture}&lt;br /&gt;
\newtheorem{principle}[theorem]{Principle}&lt;br /&gt;
\newtheorem{claim}[theorem]{Claim}&lt;br /&gt;
&lt;br /&gt;
\theoremstyle{definition}&lt;br /&gt;
&lt;br /&gt;
%\newtheorem{roughdef}[subsection]{Rough Definition}&lt;br /&gt;
\newtheorem{definition}[theorem]{Definition}&lt;br /&gt;
\newtheorem{remark}[theorem]{Remark}&lt;br /&gt;
\newtheorem{remarks}[theorem]{Remarks}&lt;br /&gt;
\newtheorem{example}[theorem]{Example}&lt;br /&gt;
\newtheorem{examples}[theorem]{Examples}&lt;br /&gt;
%\newtheorem{problem}[subsection]{Problem}&lt;br /&gt;
%\newtheorem{question}[subsection]{Question}&lt;br /&gt;
&lt;br /&gt;
\newcommand\E{\mathbb{E}}&lt;br /&gt;
\newcommand\R{\mathbb{R}}&lt;br /&gt;
\newcommand\Z{\mathbb{Z}}&lt;br /&gt;
\newcommand\N{\mathbb{N}}&lt;br /&gt;
\renewcommand\P{\mathbb{P}}&lt;br /&gt;
&lt;br /&gt;
\parindent 0mm&lt;br /&gt;
\parskip   5mm &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\begin{document}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\title{Density Hales-Jewett and Moser numbers}&lt;br /&gt;
&lt;br /&gt;
\author{D.H.J. Polymath}&lt;br /&gt;
\address{http://michaelnielsen.org/polymath1/index.php}&lt;br /&gt;
\email{???}&lt;br /&gt;
&lt;br /&gt;
\subjclass{???}&lt;br /&gt;
&lt;br /&gt;
\begin{abstract}  &lt;br /&gt;
For any $n \geq 0$ and $k \geq 1$, the density Hales-Jewett number $c_{n,k}$ is defined as the size of the largest subset of the cube $[k]^n$ := $\{1,\ldots,k\}^n$ which contains no combinatorial line; similarly, the Moser number $c&#039;_{n,k}$ is the largest subset of the cube $[k]^n$ which contains no geometric line. A deep theorem of Furstenberg and Katznelson \cite{fk1}, \cite{fk2}, \cite{mcc} shows that $c_{n,k}$ = $o(k^n)$ as $n \to \infty$ (which implies a similar claim for $c&#039;_{n,k}$; this is already non-trivial for $k = 3$. Several new proofs of this result have also been recently established \cite{poly}, \cite{austin}.&lt;br /&gt;
&lt;br /&gt;
Using both human and computer-assisted arguments, we compute several values of $c_{n,k}$ and $c&#039;_{n,k}$ for small $n,k$. For instance the sequence $c_{n,3}$ for $n=0,\ldots,6$ is $1,2,6,18,52,150,450$, while the sequence $c&#039;_{n,3}$ for $n=0,\ldots,6$ is $1,2,6,16,43,124,353$. We also establish some results for higher $k$, showing for instance that an analogue of the LYM inequality (which relates to the $k = 2$ case) does not hold for higher $k$. &lt;br /&gt;
\end{abstract}&lt;br /&gt;
&lt;br /&gt;
\maketitle&lt;br /&gt;
%\today&lt;br /&gt;
&lt;br /&gt;
\setcounter{tocdepth}{1}&lt;br /&gt;
\tableofcontents&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
\include{introduction}&lt;br /&gt;
\include{dhj-lown-lower}&lt;br /&gt;
\include{dhj-lown}&lt;br /&gt;
\include{moser-lower}&lt;br /&gt;
\include{moser}&lt;br /&gt;
\include{fujimura}&lt;br /&gt;
\include{higherk}&lt;br /&gt;
\include{coloring}&lt;br /&gt;
&lt;br /&gt;
\appendix&lt;br /&gt;
&lt;br /&gt;
\include{genetic}&lt;br /&gt;
\include{integer}&lt;br /&gt;
&lt;br /&gt;
\begin{thebibliography}{10}&lt;br /&gt;
&lt;br /&gt;
\bibitem{ajtai}  Ajtai M, Szemerédi E, \emph{Sets of lattice points that form no squares}, Studia Scientiarum Mathematicarum Hungarica, 9, 9-11 (1974), (1975)&lt;br /&gt;
&lt;br /&gt;
\bibitem{austin}  T. Austin, \emph{Deducing the density Hales-Jewett theorem from an infinitary removal lemma}, preprint.&lt;br /&gt;
&lt;br /&gt;
\bibitem{beck} J. Beck, Combinatorial Games: Tic-Tac-Toe Theory. Cambridge University Press, 2008. &lt;br /&gt;
&lt;br /&gt;
\bibitem{behrend}&lt;br /&gt;
F. Behrend, \emph{On the sets of integers which contain no three in arithmetic progression}, Proceedings of the National Academy of Sciences \textbf{23} (1946), 331–-332.&lt;br /&gt;
&lt;br /&gt;
\bibitem{chandra}&lt;br /&gt;
A. Chandra, \emph{On the solution of Moser&#039;s problem in four dimensions}, Canad. Math. Bull. \textbf{16} (1973), 507--511.&lt;br /&gt;
&lt;br /&gt;
\bibitem{chvatal1} V. Chv\&#039;{a}tal, \emph{Remarks on a problem of Moser}, Canadian Math Bulletin, Vol 15, 1972, 19--21.&lt;br /&gt;
&lt;br /&gt;
\bibitem{chvatal2} V. Chv\&#039;{a}tal, \emph{Edmonds polytopes and a hierarchy of combinatorial problems}, Discrete Math. 4 (1973) 305-337.&lt;br /&gt;
&lt;br /&gt;
\bibitem{elkin}&lt;br /&gt;
M. Elkin, \emph{An Improved Construction of Progression-Free Sets}, preprint.&lt;br /&gt;
&lt;br /&gt;
\bibitem{fk1} H. Furstenberg, Y. Katznelson, \emph{A density version of the Hales-Jewett theorem for $k = 3$}, Graph Theory and Combinatorics (Cambridge, 1988). Discrete Math. 75 (1989), no. 1-3, 227–-241.&lt;br /&gt;
&lt;br /&gt;
\bibitem{fk2} H. Furstenberg, Y. Katznelson, \emph{A density version of the Hales-Jewett theorem}, J. Anal. Math. 57 (1991), 64–-119. MR1191743&lt;br /&gt;
&lt;br /&gt;
\bibitem{greenwolf}&lt;br /&gt;
B. Green, J. Wolf, \emph{A note on Elkin&#039;s improvement of Behrend&#039;s construction}, preprint.&lt;br /&gt;
&lt;br /&gt;
\bibitem{heule} Marijn Heule, presentation at {\tt http://www.st.ewi.tudelft.nl/sat/slides/waerden.pdf}&lt;br /&gt;
&lt;br /&gt;
\bibitem{komlos}&lt;br /&gt;
J. Koml\&#039;{o}s, solution to problem P.170 by Leo Moser, Canad. Math.. Bull. vol {\bf (??check)} (1972), 312--313, 1970.&lt;br /&gt;
&lt;br /&gt;
\bibitem{Krisha} K. Krishna, M. Narasimha Murty, &amp;quot;Genetic K-means algorithm,&amp;quot; Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on , vol.29, no.3, pp.433-439, Jun 1999&lt;br /&gt;
&lt;br /&gt;
\bibitem{markstrom} {{\tt http://abel.math.umu.se/~klasm/Data/HJ/}}&lt;br /&gt;
&lt;br /&gt;
\bibitem{moser} L. Moser, Problem P.170 in Canad. Math. Bull. 13 (1970), 268.   &lt;br /&gt;
&lt;br /&gt;
\bibitem{mcc} R. McCutcheon, \emph{The conclusion of the proof of the density Hales-Jewett theorem for k=3}, unpublished. &lt;br /&gt;
&lt;br /&gt;
\bibitem{obryant}&lt;br /&gt;
K. O&#039;Bryant, \emph{Sets of integers that do not contain long arithmetic progressions}, preprint. &lt;br /&gt;
&lt;br /&gt;
\bibitem{oeis}&lt;br /&gt;
N. J. A. Sloane, Ed. (2008), The On-Line Encyclopedia of Integer Sequences, {\tt www.research.att.com/~njas/sequences/}&lt;br /&gt;
&lt;br /&gt;
\bibitem{potenchin}&lt;br /&gt;
A. Potechin, \emph{Maximal caps in $AG(6, 3)$}, Journal Designs, Codes and Cryptography, Volume 46, Number 3 / March, 2008.&lt;br /&gt;
&lt;br /&gt;
\bibitem{poly} D.H.J. Polymath, ???, preprint.  {\bf need title}&lt;br /&gt;
&lt;br /&gt;
\bibitem{rankin} &lt;br /&gt;
R. A. Rankin, Sets of integers containing not more than a given number of terms in arithmetical progression, Proc. Roy. Soc. Edinburgh Sect. A 65 (1960/1961), 332–344 (1960/61). MR 0142526 (26 \#95) &lt;br /&gt;
&lt;br /&gt;
\bibitem{roth}&lt;br /&gt;
K. Roth, \emph{On certain sets of integers, I}, Journal of the London Mathematical Society \textbf{28} (1953), 104-–109.&lt;br /&gt;
&lt;br /&gt;
\bibitem{Rothlauf} F. Rothlauf, D. E. Goldberg, Representations for Genetic and Evolutionary Algorithms. Physica-Verlag, 2002.&lt;br /&gt;
&lt;br /&gt;
\bibitem{shelah} S. Shelah, \emph{Primitive recursive bounds for van der Warden numbers}, Journal of the American Mathematical Society \textbf{28} 1988, 683-–697.&lt;br /&gt;
&lt;br /&gt;
\bibitem{sperner} &lt;br /&gt;
E. Sperner, \emph{Ein Satz \&amp;quot;uber Untermengen einer endlichen Menge}, Mathematische Zeitschrift \textbf{27} (1928), 544-–548.&lt;br /&gt;
&lt;br /&gt;
\bibitem{szem}&lt;br /&gt;
E. Szemer\&#039;edi, \emph{On sets of integers containing no $k$ elements in arithmetic progression}, Acta Arithmetica \textbf{27} (1975), 199-–245.&lt;br /&gt;
&lt;br /&gt;
\bibitem{waerden} {\tt http://en.wikipedia.org/wiki/Van\_der\_Waerden\_number}&lt;br /&gt;
&lt;br /&gt;
\end{thebibliography}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\end{document}&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Polymath.tex&amp;diff=2033</id>
		<title>Polymath.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Polymath.tex&amp;diff=2033"/>
		<updated>2009-07-26T20:27:24Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\documentclass[12pt,a4paper,reqno]{amsart}&lt;br /&gt;
\usepackage{amssymb}&lt;br /&gt;
\usepackage{amscd}&lt;br /&gt;
%\usepackage{psfig}&lt;br /&gt;
\usepackage{graphicx}&lt;br /&gt;
%\usepackage{showkeys}  &lt;br /&gt;
% uncomment this when editing cross-references&lt;br /&gt;
\numberwithin{equation}{section}&lt;br /&gt;
&lt;br /&gt;
\addtolength{\textwidth}{3 truecm}&lt;br /&gt;
\addtolength{\textheight}{1 truecm}&lt;br /&gt;
\setlength{\voffset}{-.6 truecm}&lt;br /&gt;
\setlength{\hoffset}{-1.3 truecm}&lt;br /&gt;
     &lt;br /&gt;
\theoremstyle{plain}&lt;br /&gt;
&lt;br /&gt;
\newtheorem{theorem}{Theorem}[section]&lt;br /&gt;
%\newtheorem{theorem}[theorem]{Theorem}&lt;br /&gt;
\newtheorem{proposition}[theorem]{Proposition}&lt;br /&gt;
\newtheorem{lemma}[theorem]{Lemma}&lt;br /&gt;
\newtheorem{corollary}[theorem]{Corollary}&lt;br /&gt;
\newtheorem{conjecture}[theorem]{Conjecture}&lt;br /&gt;
\newtheorem{principle}[theorem]{Principle}&lt;br /&gt;
\newtheorem{claim}[theorem]{Claim}&lt;br /&gt;
&lt;br /&gt;
\theoremstyle{definition}&lt;br /&gt;
&lt;br /&gt;
%\newtheorem{roughdef}[subsection]{Rough Definition}&lt;br /&gt;
\newtheorem{definition}[theorem]{Definition}&lt;br /&gt;
\newtheorem{remark}[theorem]{Remark}&lt;br /&gt;
\newtheorem{remarks}[theorem]{Remarks}&lt;br /&gt;
\newtheorem{example}[theorem]{Example}&lt;br /&gt;
\newtheorem{examples}[theorem]{Examples}&lt;br /&gt;
%\newtheorem{problem}[subsection]{Problem}&lt;br /&gt;
%\newtheorem{question}[subsection]{Question}&lt;br /&gt;
&lt;br /&gt;
\newcommand\E{\mathbb{E}}&lt;br /&gt;
\newcommand\R{\mathbb{R}}&lt;br /&gt;
\newcommand\Z{\mathbb{Z}}&lt;br /&gt;
\newcommand\N{\mathbb{N}}&lt;br /&gt;
\renewcommand\P{\mathbb{P}}&lt;br /&gt;
&lt;br /&gt;
\parindent 0mm&lt;br /&gt;
\parskip   5mm &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\begin{document}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\title{Density Hales-Jewett and Moser numbers}&lt;br /&gt;
&lt;br /&gt;
\author{D.H.J. Polymath}&lt;br /&gt;
\address{http://michaelnielsen.org/polymath1/index.php}&lt;br /&gt;
\email{???}&lt;br /&gt;
&lt;br /&gt;
\subjclass{???}&lt;br /&gt;
&lt;br /&gt;
\begin{abstract}  &lt;br /&gt;
For any $n \geq 0$ and $k \geq 1$, the density Hales-Jewett number $c_{n,k}$ is defined as the size of the largest subset of the cube $[k]^n$ := $\{1,\ldots,k\}^n$ which contains no combinatorial line; similarly, the Moser number $c&#039;_{n,k}$ is the largest subset of the cube $[k]^n$ which contains no geometric line. A deep theorem of Furstenberg and Katznelson \cite{fk1}, \cite{fk2}, \cite{mcc} shows that $c_{n,k}$ = $o(k^n)$ as $n \to \infty$ (which implies a similar claim for $c&#039;_{n,k}$; this is already non-trivial for $k = 3$. Several new proofs of this result have also been recently established \cite{poly}, \cite{austin}.&lt;br /&gt;
&lt;br /&gt;
Using both human and computer-assisted arguments, we compute several values of $c_{n,k}$ and $c&#039;_{n,k}$ for small $n,k$. For instance the sequence $c_{n,3}$ for $n=0,\ldots,6$ is $1,2,6,18,52,150,450$, while the sequence $c&#039;_{n,3}$ for $n=0,\ldots,6$ is $1,2,6,16,43,124,353$. We also establish some results for higher $k$, showing for instance that an analogue of the LYM inequality (which relates to the $k = 2$ case) does not hold for higher $k$. &lt;br /&gt;
\end{abstract}&lt;br /&gt;
&lt;br /&gt;
\maketitle&lt;br /&gt;
%\today&lt;br /&gt;
&lt;br /&gt;
\setcounter{tocdepth}{1}&lt;br /&gt;
\tableofcontents&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
\include{introduction}&lt;br /&gt;
\include{dhj-lown-lower}&lt;br /&gt;
\include{dhj-lown}&lt;br /&gt;
\include{moser-lower}&lt;br /&gt;
\include{moser}&lt;br /&gt;
\include{fujimura}&lt;br /&gt;
\include{higherk}&lt;br /&gt;
\include{coloring}&lt;br /&gt;
&lt;br /&gt;
\appendix&lt;br /&gt;
&lt;br /&gt;
\include{genetic}&lt;br /&gt;
\include{integer}&lt;br /&gt;
&lt;br /&gt;
\begin{thebibliography}{10}&lt;br /&gt;
&lt;br /&gt;
\bibitem{ajtai}  Ajtai M, Szemerédi E, \emph{Sets of lattice points that form no squares}, Studia Scientiarum Mathematicarum Hungarica, 9, 9-11 (1974), (1975)&lt;br /&gt;
&lt;br /&gt;
\bibitem{austin}  T. Austin, \emph{Deducing the density Hales-Jewett theorem from an infinitary removal lemma}, preprint.&lt;br /&gt;
&lt;br /&gt;
\bibitem{Beck} J. Beck, Combinatorial Games: Tic-Tac-Toe Theory. Cambridge University Press, 2008. &lt;br /&gt;
&lt;br /&gt;
\bibitem{behrend}&lt;br /&gt;
F. Behrend, \emph{On the sets of integers which contain no three in arithmetic progression}, Proceedings of the National Academy of Sciences \textbf{23} (1946), 331–-332.&lt;br /&gt;
&lt;br /&gt;
\bibitem{chandra}&lt;br /&gt;
A. Chandra, \emph{On the solution of Moser&#039;s problem in four dimensions}, Canad. Math. Bull. \textbf{16} (1973), 507--511.&lt;br /&gt;
&lt;br /&gt;
\bibitem{chvatal1} V. Chv\&#039;{a}tal, \emph{Remarks on a problem of Moser}, Canadian Math Bulletin, Vol 15, 1972, 19--21.&lt;br /&gt;
&lt;br /&gt;
\bibitem{chvatal2} V. Chv\&#039;{a}tal, \emph{Edmonds polytopes and a hierarchy of combinatorial problems}, Discrete Math. 4 (1973) 305-337.&lt;br /&gt;
&lt;br /&gt;
\bibitem{elkin}&lt;br /&gt;
M. Elkin, \emph{An Improved Construction of Progression-Free Sets}, preprint.&lt;br /&gt;
&lt;br /&gt;
\bibitem{fk1} H. Furstenberg, Y. Katznelson, \emph{A density version of the Hales-Jewett theorem for $k = 3$}, Graph Theory and Combinatorics (Cambridge, 1988). Discrete Math. 75 (1989), no. 1-3, 227–-241.&lt;br /&gt;
&lt;br /&gt;
\bibitem{fk2} H. Furstenberg, Y. Katznelson, \emph{A density version of the Hales-Jewett theorem}, J. Anal. Math. 57 (1991), 64–-119. MR1191743&lt;br /&gt;
&lt;br /&gt;
\bibitem{greenwolf}&lt;br /&gt;
B. Green, J. Wolf, \emph{A note on Elkin&#039;s improvement of Behrend&#039;s construction}, preprint.&lt;br /&gt;
&lt;br /&gt;
\bibitem{heule} Marijn Heule, presentation at {\tt http://www.st.ewi.tudelft.nl/sat/slides/waerden.pdf}&lt;br /&gt;
&lt;br /&gt;
\bibitem{komlos}&lt;br /&gt;
J. Koml\&#039;{o}s, solution to problem P.170 by Leo Moser, Canad. Math.. Bull. vol {\bf (??check)} (1972), 312--313, 1970.&lt;br /&gt;
&lt;br /&gt;
\bibitem{Krisha} K. Krishna, M. Narasimha Murty, &amp;quot;Genetic K-means algorithm,&amp;quot; Systems, Man, and Cybernetics, Part B: Cybernetics, IEEE Transactions on , vol.29, no.3, pp.433-439, Jun 1999&lt;br /&gt;
&lt;br /&gt;
\bibitem{markstrom} {{\tt http://abel.math.umu.se/~klasm/Data/HJ/}}&lt;br /&gt;
&lt;br /&gt;
\bibitem{moser} L. Moser, Problem P.170 in Canad. Math. Bull. 13 (1970), 268.   &lt;br /&gt;
&lt;br /&gt;
\bibitem{mcc} R. McCutcheon, \emph{The conclusion of the proof of the density Hales-Jewett theorem for k=3}, unpublished. &lt;br /&gt;
&lt;br /&gt;
\bibitem{obryant}&lt;br /&gt;
K. O&#039;Bryant, \emph{Sets of integers that do not contain long arithmetic progressions}, preprint. &lt;br /&gt;
&lt;br /&gt;
\bibitem{oeis}&lt;br /&gt;
N. J. A. Sloane, Ed. (2008), The On-Line Encyclopedia of Integer Sequences, {\tt www.research.att.com/~njas/sequences/}&lt;br /&gt;
&lt;br /&gt;
\bibitem{potenchin}&lt;br /&gt;
A. Potechin, \emph{Maximal caps in $AG(6, 3)$}, Journal Designs, Codes and Cryptography, Volume 46, Number 3 / March, 2008.&lt;br /&gt;
&lt;br /&gt;
\bibitem{poly} D.H.J. Polymath, ???, preprint.  {\bf need title}&lt;br /&gt;
&lt;br /&gt;
\bibitem{rankin} &lt;br /&gt;
R. A. Rankin, Sets of integers containing not more than a given number of terms in arithmetical progression, Proc. Roy. Soc. Edinburgh Sect. A 65 (1960/1961), 332–344 (1960/61). MR 0142526 (26 \#95) &lt;br /&gt;
&lt;br /&gt;
\bibitem{roth}&lt;br /&gt;
K. Roth, \emph{On certain sets of integers, I}, Journal of the London Mathematical Society \textbf{28} (1953), 104-–109.&lt;br /&gt;
&lt;br /&gt;
\bibitem{Rothlauf} F. Rothlauf, D. E. Goldberg, Representations for Genetic and Evolutionary Algorithms. Physica-Verlag, 2002.&lt;br /&gt;
&lt;br /&gt;
\bibitem{Shelah} S. Shelah, \emph{Primitive recursive bounds for van der Warden numbers}, Journal of the American Mathematical Society \textbf{28} 1988, 683-–697.&lt;br /&gt;
&lt;br /&gt;
\bibitem{sperner} &lt;br /&gt;
E. Sperner, \emph{Ein Satz \&amp;quot;uber Untermengen einer endlichen Menge}, Mathematische Zeitschrift \textbf{27} (1928), 544-–548.&lt;br /&gt;
&lt;br /&gt;
\bibitem{szem}&lt;br /&gt;
E. Szemer\&#039;edi, \emph{On sets of integers containing no $k$ elements in arithmetic progression}, Acta Arithmetica \textbf{27} (1975), 199-–245.&lt;br /&gt;
&lt;br /&gt;
\bibitem{waerden} {\tt http://en.wikipedia.org/wiki/Van\_der\_Waerden\_number}&lt;br /&gt;
&lt;br /&gt;
\end{thebibliography}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
\end{document}&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2032</id>
		<title>Coloring.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring.tex&amp;diff=2032"/>
		<updated>2009-07-26T20:22:50Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{The coloring Hales-Jewett problem}\label{coloring-sec}&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every $k$ and every $r$ there exists an $n = HJ(k,r)$ such that if you colour the elements of $[k]{}^n$ with $r$ colours, then there must be a combinatorial line with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the Density Hales-Jewett theorem, since there must be a set of density at least $r^{-1}$ of elements of $[k]{}^n$ all of whose elements have the same colour. It also follows from the Graham-Rothschild theorem [\cite{}].&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the colour classes contains an $m$-dimensional combinatorial subspace, if $n$ is sufficiently large depending on $k$, $r$ and $m$.&lt;br /&gt;
&lt;br /&gt;
A related idea is that of the Van der Waerden number $W(k,r)$ [\cite{waerden}], which is the length of the longest sequence $1,2,\ldots,n$ which can be $r$-coloured without a monochromatic arithmetic progression of length $k$.  These numbers were used in this project to construct $r$-colourings of $[k]{}^m$ without combinatorial lines, and so provide new lower bounds for $HJ(k,r)$.&lt;br /&gt;
&lt;br /&gt;
\begin{lemma} $HJ(k,r) \ge \lfloor (W(k,r)-1)/(k-1)\rfloor$ \end{lemma}&lt;br /&gt;
&lt;br /&gt;
\begin{proof}&lt;br /&gt;
Let $m = \lfloor (W(k,r)-1)/(k-1) \rfloor$.  Suppose we have a Van der Warden colouring of $1, 2, \ldots W(k,r)$.  Give each point $(a_1,a_2,\ldots,a_m) \in [k]{}^m$ the colour that corresponds to $1+\sum (a_j-1)$.  The points of a combinatorial line give sums that form an arithmetic progression, and will therefore not be monochromatic.&lt;br /&gt;
\end{proof}&lt;br /&gt;
&lt;br /&gt;
A recent table of lower bounds for the Van der Waerden numbers can be found at \cite{heule} &lt;br /&gt;
&lt;br /&gt;
These numbers were used to produce the following table of lower bounds for colouring Hales-Jewett numbers.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb] \centerline{\begin{tabular}{l|lllll}&lt;br /&gt;
$k\backslash r$ &amp;amp; 2    &amp;amp; 3     &amp;amp; 4     &amp;amp; 5     &amp;amp; 6      \\&lt;br /&gt;
\hline&lt;br /&gt;
3   &amp;amp;      &amp;amp; 13    &amp;amp; 37    &amp;amp; 84    &amp;amp; 103    \\&lt;br /&gt;
4   &amp;amp; 11   &amp;amp; 97    &amp;amp; 349   &amp;amp; 751   &amp;amp; 3259   \\&lt;br /&gt;
5   &amp;amp; 59   &amp;amp; 302   &amp;amp; 2609  &amp;amp; 6011  &amp;amp; 14173  \\&lt;br /&gt;
6   &amp;amp; 226  &amp;amp; 1777  &amp;amp; 18061 &amp;amp; 49391 &amp;amp; 120097 \\&lt;br /&gt;
7   &amp;amp; 617  &amp;amp; 7309  &amp;amp; 64661 &amp;amp;       &amp;amp;        \\&lt;br /&gt;
8   &amp;amp; 1069 &amp;amp; 34057 &amp;amp;       &amp;amp;       &amp;amp;        \\&lt;br /&gt;
9   &amp;amp; 3389 &amp;amp;       &amp;amp;       &amp;amp;       &amp;amp;        &lt;br /&gt;
\end{tabular}}&lt;br /&gt;
\caption{Lower bounds for colouring Hales-Jewett numbers} &lt;br /&gt;
\label{HJcolour}\end{figure}&lt;br /&gt;
&lt;br /&gt;
A related problem is if we colour the elements of $k^{n}$ with $r$ colours and look for a geometric line. Call the numbers associated with this problem $n = M(k,r)$. We have a relationship between the $HJ(k,r)$ and the $M(k,r)$. We can start with a colouring of $[k]{}^n$ free of combinatorial lines and get a colourings of $[k]{}^2n-1$ and  $k^{2n-1}$ free of geometric lines.&lt;br /&gt;
We send each point of the original space to sets of points in the second space. When we go from&lt;br /&gt;
$k^{n}$ to $k^{2n-1}$ we send coordinates equal to $n$ to $n$ and for the rest let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping a point can have one to $2^{k}$ colourings. When we go from $k^{n}$ to $k^{2n}$ let the coordinate be equal to $i$, then we send it either to $2n-i$ or $i$. So in this mapping each point has  $2^{k}$ colourings. In both of these colourings the preimage of a geometric line is a combinatorial line. So a combinatorial line free colouring becomes a geometric line free coloring and we get $M(2k-1,r)$ and $M(2k,r)$ are both greater than or equal to $HJ(k,r)$. This improves on the previous method of computing the $M(k,r)$ It also improves the previous lower bound for $M(k,2)$ from roughly $2^{k/4}$ to roughly $2^{k/4}$.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=2013</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=2013"/>
		<updated>2009-07-25T16:51:20Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &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]. Some analysis of the effort is contained [http://terrytao.wordpress.com/2009/07/22/imo-2009-q6-mini-polymath-project-impressions-reflections-analysis/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, including but not limited to proofs of this problem.  (One is also welcome to place here open problems and questions, conjectures, and anything else of relevance to the 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 &amp;lt;math&amp;gt;n \geq 3&amp;lt;/math&amp;gt; and that the claim has already been proven for smaller n.  We order &amp;lt;math&amp;gt;a_1 &amp;lt; a_2 &amp;lt; \ldots &amp;lt; a_n&amp;lt;/math&amp;gt;.&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 j.  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 the induction hypothesis.  Similarly, if i is the greatest 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.  Specifically, the n distinct elements are as follows:&lt;br /&gt;
&lt;br /&gt;
# &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i \notin I&amp;lt;/math&amp;gt;;&lt;br /&gt;
# &amp;lt;math&amp;gt;a_i+a_{n-j+1}+\ldots+a_{n-1}&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;i \in I&amp;lt;/math&amp;gt;; and &lt;br /&gt;
# for the biggest &amp;lt;math&amp;gt;i \in I&amp;lt;/math&amp;gt;, the numbers a_i+a_{n-j+1}+\ldots+a_n - a_m.&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;
A variant of Proof #2, with fewer cases (2!) and a bit more formally presented.&lt;br /&gt;
&lt;br /&gt;
===Generalisation===&lt;br /&gt;
&lt;br /&gt;
Given a starting point &amp;lt;math&amp;gt;a_{0}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; distinct positive integers,&lt;br /&gt;
&amp;lt;math&amp;gt;A={a_{1},a_{2},...,a_{n}}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; values &amp;lt;math&amp;gt;M={m_{1},m_{2},...,m_{k}}&amp;lt;/math&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;a_{0}\notin M&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sum_{i=0}^{n}a_{i}\notin M&amp;lt;/math&amp;gt;,&lt;br /&gt;
then there is an ordering, &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;, on &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, such that &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Base Case===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set and theorem is trivially true.&lt;br /&gt;
&lt;br /&gt;
===Inductive Step===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;n&amp;gt;1&amp;lt;/math&amp;gt;, then either &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set, and hypothesis&lt;br /&gt;
is trivially true, or &amp;lt;math&amp;gt;k&amp;gt;0&amp;lt;/math&amp;gt;. Assume hypothesis is true for all &amp;lt;math&amp;gt;n&#039;&amp;lt;n&amp;lt;/math&amp;gt;,&lt;br /&gt;
and &amp;lt;math&amp;gt;k&#039;&amp;lt;k&amp;lt;/math&amp;gt;.  Label A so that &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, and M so that &amp;lt;math&amp;gt;m_{1}=min(M)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Case 1====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;a_{0}+a_{n}\leq m_{1}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, so by the inductive&lt;br /&gt;
hypothesis, it is possible to find an ordering for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{n}&amp;lt;/math&amp;gt;. Call that ordering&lt;br /&gt;
&amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Consider the mapping &amp;lt;math&amp;gt;\phi(1)=n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\phi(x)=\phi&#039;(x-1)&amp;lt;/math&amp;gt; when&lt;br /&gt;
&amp;lt;math&amp;gt;x\geq2&amp;lt;/math&amp;gt;. Then we have that &amp;lt;math&amp;gt;a&#039;_{0}+\sum_{i=1}^{j}a_{\phi&#039;(i)}\notin M&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n-1&amp;lt;/math&amp;gt;, which is the same as &amp;lt;math&amp;gt;a_{0}+a_{n}+\sum_{i=2}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;2\leq j\leq n&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;a_{\phi(1)}=a_{n}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Next consider the partial sums, &amp;lt;math&amp;gt;s_{j}=a_{0}+\sum_{i=1}^{j}a_{\phi(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since &amp;lt;math&amp;gt;a_{\phi(i)}&amp;lt;/math&amp;gt; is a positive integer, &amp;lt;math&amp;gt;s_{j}&amp;lt;s_{j+1}&amp;lt;/math&amp;gt;, so there&lt;br /&gt;
exists some &amp;lt;math&amp;gt;\gamma\in\{0\ldots n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;j&amp;lt;\gamma&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now consider the reordering&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\rho(x)=\begin{cases}&lt;br /&gt;
    \phi(x+1) &amp;amp; 1\leq x&amp;lt;\gamma\\&lt;br /&gt;
    \phi(0) &amp;amp; x=\gamma\\&lt;br /&gt;
    \phi(x) &amp;amp; \gamma&amp;lt;x&lt;br /&gt;
    \end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the corresponding partial sums &amp;lt;math&amp;gt;s&#039;_{j}=a_{0}+\sum_{i=1}^{j}a_{\rho(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider &amp;lt;math&amp;gt;j\leq\gamma&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}-a_{\phi(0)}+a_{\rho(j)}=s_{j}-a_{n}+a_{\phi(\gamma)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
And since &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}&amp;lt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;, and&lt;br /&gt;
hence &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Further, for &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;s_{j}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
in all cases, and our ordering, &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; suffices.&lt;br /&gt;
&lt;br /&gt;
====Case 2====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;m_{1}&amp;lt;a_{0}+a_{n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case we first observe that &amp;lt;math&amp;gt;m_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}&amp;lt;/math&amp;gt; are&lt;br /&gt;
distinct members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;k\geq2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n\geq3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We consider &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; pigeon holes labelled &amp;lt;math&amp;gt;1\leq i&amp;lt;n&amp;lt;/math&amp;gt;, assigning each&lt;br /&gt;
element &amp;lt;math&amp;gt;m\in M&amp;lt;/math&amp;gt; to a pigeon hole if either &amp;lt;math&amp;gt;m=a_{0}+a_{i}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;m=a_{0}+a_{i}+a_{n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since each &amp;lt;math&amp;gt;a_{i}&amp;lt;/math&amp;gt; is distinct and positive and &amp;lt;math&amp;gt;a_{i}&amp;lt;a_{n}&amp;lt;/math&amp;gt;, no&amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
can be assigned to two different pigeon holes, and furthermore, since&lt;br /&gt;
&amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt; only the remaining &amp;lt;math&amp;gt;k-1&amp;lt;/math&amp;gt; members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; can&lt;br /&gt;
be assigned to a pigeon-hole.&lt;br /&gt;
&lt;br /&gt;
But since &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;k-1&amp;lt;n-1&amp;lt;/math&amp;gt;, and at least one pigeon-hole must be&lt;br /&gt;
empty, so call it &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. This means &amp;lt;math&amp;gt;a_{0}+a_{x}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
are not members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and by the inductive hypothesis, we can find&lt;br /&gt;
an ordering &amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{x},a_{n}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1},a_{0}+a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;, and establish an ordering that satisfies&lt;br /&gt;
the requirements: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\phi(j)=\begin{cases}&lt;br /&gt;
    x &amp;amp; j=1\\&lt;br /&gt;
    n &amp;amp; j=2\\&lt;br /&gt;
    \phi&#039;(j-2) &amp;amp; j&amp;gt;2&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proof #4 ==&lt;br /&gt;
&lt;br /&gt;
There is a dual form of Bramm’s proof. It is based on the fact that we can subtract everything from the sum of the a_i’s and get a copy of the same problem. Roughly what happens is that you can replace max a with target-max a and let f be the number of mines betweem target-max a and target. I think that most proofs of this result have a dual associated with them.&lt;br /&gt;
&lt;br /&gt;
Here is case one of the dual: Target-Max a is a mine and f is greater 0. In that case, out of the target-a_i that are not max a (n numbers), at least n-f are not mined (when taken as a first jump). Consider the n double jumps (target–max a_i != max a, target-max a, target). At least n-f of those are not mined on the last jump. The number of mines in (0 target -max a) is the number of mines (n) less f less the one for target -max a, yielding n-f-1 which is less than n-f. Thus by counting argument, at least one of the double jumps does not hit a mine on both jumps. This double jump takes two jumps and jumps over f+1 &amp;gt;=2 mines, yielding a problem with n-2 mines and n-1 remaining jumps, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case two of the dual: Target-max a is not a mine and f&amp;gt;0. Take max a as last jump, yielding problem with n remaining jumps and n-f&amp;lt;n mines, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case three of the dual: Target- max a is a mine and f=0. Let max M be the largest mine in M. Construct M’=M\{max M}. Jump target-max a to target as the last jump and solve the n-problem with the remaining a_i and M’ Let a_x be the last jump of this solution. Exchange max a and a_x (i.e. jump a_x last and max a before that). target -(max a+a_x) is no mine (guaranteed by solution), target-a_x is no mine (because target-a_x is greater than target-max a == max M as above). There are no mines in the rest. We have completed solution for n+1.&lt;br /&gt;
&lt;br /&gt;
Here is the final case of the dual: Target-max a is not a mine and f=0. As in case 3, construct M’, jump max a last and solve for the remaining a_i and M’. If this solution hits max M in step k, construct a new solution by exchanging step k-1 and the last step (i.e. target-max a). There are no mines after max M, thus the mine is avoided and no new mines are hit. We have completed solution for n+1&lt;br /&gt;
&lt;br /&gt;
== Proof #5 ==&lt;br /&gt;
&lt;br /&gt;
We remove the largest mine and the largest step a_max. We apply induction. Two things can happen we hit the largest mine or we reach the sum of all the a_i’s(target) minus the largest step a_max. If we hit the largest mine we swap the last step for the largest step and we skip over the largest mine then we just continue till we are done. If we go to the the sum of all the a_i’s except the largest step and it is not a mine we add one more step and we are done. If it is a mine and we replace the last step with a_max and we don’t land on a mine then we take one more step then we are done.&lt;br /&gt;
&lt;br /&gt;
We have one case left where target – a_max is a mine and there is one or more mines greater than target – a_max call the number of these mines f.&lt;br /&gt;
Then what remains is case one of the dual proof which we solve as follows:&lt;br /&gt;
&lt;br /&gt;
target-max a is a mine and f is greater 0. In that case, out of the target-a_i that are not max a (n numbers), at least n-f are not mined (when taken as a first jump). Consider the n double jumps (target–max a_i != max a, target-max a target). At least n-f of those are not mined on first jump. The number of mines in (0 target -max a) is the number of mines (n) less f less the one for target -max a, yielding n-f-1 which is less than n-f. Thus by counting argument, at least one of the double jumps does not hit a mine on both jumps. This double jump takes two jumps and jumps over f+1 &amp;gt;=2 mines, yielding a problem with n-2 mines and n-1 remaining jumps, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
== Proof #6 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=2003</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=2003"/>
		<updated>2009-07-24T04:21:46Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: /* Proof #4 */&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]. Some analysis of the effort is contained [http://terrytao.wordpress.com/2009/07/22/imo-2009-q6-mini-polymath-project-impressions-reflections-analysis/ here].&lt;br /&gt;
&lt;br /&gt;
This page is a repository for any text related to this project, including but not limited to proofs of this problem.  (One is also welcome to place here open problems and questions, conjectures, and anything else of relevance to the 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 &amp;lt;math&amp;gt;n \geq 3&amp;lt;/math&amp;gt; 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 j.  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;
A variant of Proof #2, with fewer cases (2!) and a bit more formally presented.&lt;br /&gt;
&lt;br /&gt;
===Generalisation===&lt;br /&gt;
&lt;br /&gt;
Given a starting point &amp;lt;math&amp;gt;a_{0}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; distinct positive integers,&lt;br /&gt;
&amp;lt;math&amp;gt;A={a_{1},a_{2},...,a_{n}}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; values &amp;lt;math&amp;gt;M={m_{1},m_{2},...,m_{k}}&amp;lt;/math&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;a_{0}\notin M&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sum_{i=0}^{n}a_{i}\notin M&amp;lt;/math&amp;gt;,&lt;br /&gt;
then there is an ordering, &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;, on &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, such that &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Base Case===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set and theorem is trivially true.&lt;br /&gt;
&lt;br /&gt;
===Inductive Step===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;n&amp;gt;1&amp;lt;/math&amp;gt;, then either &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set, and hypothesis&lt;br /&gt;
is trivially true, or &amp;lt;math&amp;gt;k&amp;gt;0&amp;lt;/math&amp;gt;. Assume hypothesis is true for all &amp;lt;math&amp;gt;n&#039;&amp;lt;n&amp;lt;/math&amp;gt;,&lt;br /&gt;
and &amp;lt;math&amp;gt;k&#039;&amp;lt;k&amp;lt;/math&amp;gt;.  Label A so that &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, and M so that &amp;lt;math&amp;gt;m_{1}=min(M)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Case 1====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;a_{0}+a_{n}\leq m_{1}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, so by the inductive&lt;br /&gt;
hypothesis, it is possible to find an ordering for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{n}&amp;lt;/math&amp;gt;. Call that ordering&lt;br /&gt;
&amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Consider the mapping &amp;lt;math&amp;gt;\phi(1)=n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\phi(x)=\phi&#039;(x-1)&amp;lt;/math&amp;gt; when&lt;br /&gt;
&amp;lt;math&amp;gt;x\geq2&amp;lt;/math&amp;gt;. Then we have that &amp;lt;math&amp;gt;a&#039;_{0}+\sum_{i=1}^{j}a_{\phi&#039;(i)}\notin M&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n-1&amp;lt;/math&amp;gt;, which is the same as &amp;lt;math&amp;gt;a_{0}+a_{n}+\sum_{i=2}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;2\leq j\leq n&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;a_{\phi(1)}=a_{n}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Next consider the partial sums, &amp;lt;math&amp;gt;s_{j}=a_{0}+\sum_{i=1}^{j}a_{\phi(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since &amp;lt;math&amp;gt;a_{\phi(i)}&amp;lt;/math&amp;gt; is a positive integer, &amp;lt;math&amp;gt;s_{j}&amp;lt;s_{j+1}&amp;lt;/math&amp;gt;, so there&lt;br /&gt;
exists some &amp;lt;math&amp;gt;\gamma\in\{0\ldots n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;j&amp;lt;\gamma&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now consider the reordering&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\rho(x)=\begin{cases}&lt;br /&gt;
    \phi(x+1) &amp;amp; 1\leq x&amp;lt;\gamma\\&lt;br /&gt;
    \phi(0) &amp;amp; x=\gamma\\&lt;br /&gt;
    \phi(x) &amp;amp; \gamma&amp;lt;x&lt;br /&gt;
    \end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the corresponding partial sums &amp;lt;math&amp;gt;s&#039;_{j}=a_{0}+\sum_{i=1}^{j}a_{\rho(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider &amp;lt;math&amp;gt;j\leq\gamma&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}-a_{\phi(0)}+a_{\rho(j)}=s_{j}-a_{n}+a_{\phi(\gamma)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
And since &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}&amp;lt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;, and&lt;br /&gt;
hence &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Further, for &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;s_{j}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
in all cases, and our ordering, &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; suffices.&lt;br /&gt;
&lt;br /&gt;
====Case 2====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;m_{1}&amp;lt;a_{0}+a_{n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case we first observe that &amp;lt;math&amp;gt;m_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}&amp;lt;/math&amp;gt; are&lt;br /&gt;
distinct members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;k\geq2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n\geq3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We consider &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; pigeon holes labelled &amp;lt;math&amp;gt;1\leq i&amp;lt;n&amp;lt;/math&amp;gt;, assigning each&lt;br /&gt;
element &amp;lt;math&amp;gt;m\in M&amp;lt;/math&amp;gt; to a pigeon hole if either &amp;lt;math&amp;gt;m=a_{0}+a_{i}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;m=a_{0}+a_{i}+a_{n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since each &amp;lt;math&amp;gt;a_{i}&amp;lt;/math&amp;gt; is distinct and positive and &amp;lt;math&amp;gt;a_{i}&amp;lt;a_{n}&amp;lt;/math&amp;gt;, no&amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
can be assigned to two different pigeon holes, and furthermore, since&lt;br /&gt;
&amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt; only the remaining &amp;lt;math&amp;gt;k-1&amp;lt;/math&amp;gt; members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; can&lt;br /&gt;
be assigned to a pigeon-hole.&lt;br /&gt;
&lt;br /&gt;
But since &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;k-1&amp;lt;n-1&amp;lt;/math&amp;gt;, and at least one pigeon-hole must be&lt;br /&gt;
empty, so call it &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. This means &amp;lt;math&amp;gt;a_{0}+a_{x}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
are not members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and by the inductive hypothesis, we can find&lt;br /&gt;
an ordering &amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{x},a_{n}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1},a_{0}+a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;, and establish an ordering that satisfies&lt;br /&gt;
the requirements: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\phi(j)=\begin{cases}&lt;br /&gt;
    x &amp;amp; j=1\\&lt;br /&gt;
    n &amp;amp; j=2\\&lt;br /&gt;
    \phi&#039;(j-2) &amp;amp; j&amp;gt;2&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proof #4 ==&lt;br /&gt;
&lt;br /&gt;
There is a dual form of Bramm’s proof. It is based on the fact that we can subtract everything from the sum of the a_i’s and get a copy of the same problem. Roughly what happens is that you can replace max a with target-max a and let f be the number of mines betweem target-max a and target. I think that most proofs of this result have a dual associated with them.&lt;br /&gt;
&lt;br /&gt;
Here is case one of the dual: Target-Max a is a mine and f is greater 0. In that case, out of the target-a_i that are not max a (n numbers), at least n-f are not mined (when taken as a first jump). Consider the n double jumps (target–max a_i != max a, target-max a, target). At least n-f of those are not mined on the last jump. The number of mines in (0 target -max a) is the number of mines (n) less f less the one for target -max a, yielding n-f-1 which is less than n-f. Thus by counting argument, at least one of the double jumps does not hit a mine on both jumps. This double jump takes two jumps and jumps over f+1 &amp;gt;=2 mines, yielding a problem with n-2 mines and n-1 remaining jumps, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case two of the dual: Target-max a is not a mine and f&amp;gt;0. Take max a as last jump, yielding problem with n remaining jumps and n-f&amp;lt;n mines, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case three of the dual: Target- max a is a mine and f=0. Let max M be the largest mine in M. Construct M’=M\{max M}. Jump target-max a to target as the last jump and solve the n-problem with the remaining a_i and M’ Let a_x be the last jump of this solution. Exchange max a and a_x (i.e. jump a_x last and max a before that). target -(max a+a_x) is no mine (guaranteed by solution), target-a_x is no mine (because target-a_x is greater than target-max a == max M as above). There are no mines in the rest. We have completed solution for n+1.&lt;br /&gt;
&lt;br /&gt;
Here is the final case of the dual: Target-max a is not a mine and f=0. As in case 3, construct M’, jump max a last and solve for the remaining a_i and M’. If this solution hits max M in step k, construct a new solution by exchanging step k-1 and the last step (i.e. target-max a). There are no mines after max M, thus the mine is avoided and no new mines are hit. We have completed solution for n+1&lt;br /&gt;
&lt;br /&gt;
== Proof #5 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1992</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=1992"/>
		<updated>2009-07-23T16:19:54Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: /* Proof #4 */&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 &amp;lt;math&amp;gt;n \geq 3&amp;lt;/math&amp;gt; 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;
A variant of Proof #2, with fewer cases (2!) and a bit more formally presented.&lt;br /&gt;
&lt;br /&gt;
===Generalisation===&lt;br /&gt;
&lt;br /&gt;
Given a starting point &amp;lt;math&amp;gt;a_{0}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; distinct positive integers,&lt;br /&gt;
&amp;lt;math&amp;gt;A={a_{1},a_{2},...,a_{n}}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; values &amp;lt;math&amp;gt;M={m_{1},m_{2},...,m_{k}}&amp;lt;/math&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;a_{0}\notin M&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sum_{i=0}^{n}a_{i}\notin M&amp;lt;/math&amp;gt;,&lt;br /&gt;
then there is an ordering, &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;, on &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, such that &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Base Case===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set and theorem is trivially true.&lt;br /&gt;
&lt;br /&gt;
===Inductive Step===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;n&amp;gt;1&amp;lt;/math&amp;gt;, then either &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set, and hypothesis&lt;br /&gt;
is trivially true, or &amp;lt;math&amp;gt;k&amp;gt;0&amp;lt;/math&amp;gt;. Assume hypothesis is true for all &amp;lt;math&amp;gt;n&#039;&amp;lt;n&amp;lt;/math&amp;gt;,&lt;br /&gt;
and &amp;lt;math&amp;gt;k&#039;&amp;lt;k&amp;lt;/math&amp;gt;.  Label A so that &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, and M so that &amp;lt;math&amp;gt;m_{1}=min(M)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Case 1====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;a_{0}+a_{n}\leq m_{1}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, so by the inductive&lt;br /&gt;
hypothesis, it is possible to find an ordering for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{n}&amp;lt;/math&amp;gt;. Call that ordering&lt;br /&gt;
&amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Consider the mapping &amp;lt;math&amp;gt;\phi(1)=n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\phi(x)=\phi&#039;(x-1)&amp;lt;/math&amp;gt; when&lt;br /&gt;
&amp;lt;math&amp;gt;x\geq2&amp;lt;/math&amp;gt;. Then we have that &amp;lt;math&amp;gt;a&#039;_{0}+\sum_{i=1}^{j}a_{\phi&#039;(i)}\notin M&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n-1&amp;lt;/math&amp;gt;, which is the same as &amp;lt;math&amp;gt;a_{0}+a_{n}+\sum_{i=2}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;2\leq j\leq n&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;a_{\phi(1)}=a_{n}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Next consider the partial sums, &amp;lt;math&amp;gt;s_{j}=a_{0}+\sum_{i=1}^{j}a_{\phi(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since &amp;lt;math&amp;gt;a_{\phi(i)}&amp;lt;/math&amp;gt; is a positive integer, &amp;lt;math&amp;gt;s_{j}&amp;lt;s_{j+1}&amp;lt;/math&amp;gt;, so there&lt;br /&gt;
exists some &amp;lt;math&amp;gt;\gamma\in\{0\ldots n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;j&amp;lt;\gamma&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now consider the reordering&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\rho(x)=\begin{cases}&lt;br /&gt;
    \phi(x+1) &amp;amp; 1\leq x&amp;lt;\gamma\\&lt;br /&gt;
    \phi(0) &amp;amp; x=\gamma\\&lt;br /&gt;
    \phi(x) &amp;amp; \gamma&amp;lt;x&lt;br /&gt;
    \end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the corresponding partial sums &amp;lt;math&amp;gt;s&#039;_{j}=a_{0}+\sum_{i=1}^{j}a_{\rho(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider &amp;lt;math&amp;gt;j\leq\gamma&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}-a_{\phi(0)}+a_{\rho(j)}=s_{j}-a_{n}+a_{\phi(\gamma)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
And since &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}&amp;lt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;, and&lt;br /&gt;
hence &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Further, for &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;s_{j}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
in all cases, and our ordering, &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; suffices.&lt;br /&gt;
&lt;br /&gt;
====Case 2====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;m_{1}&amp;lt;a_{0}+a_{n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case we first observe that &amp;lt;math&amp;gt;m_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}&amp;lt;/math&amp;gt; are&lt;br /&gt;
distinct members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;k\geq2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n\geq3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We consider &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; pigeon holes labelled &amp;lt;math&amp;gt;1\leq i&amp;lt;n&amp;lt;/math&amp;gt;, assigning each&lt;br /&gt;
element &amp;lt;math&amp;gt;m\in M&amp;lt;/math&amp;gt; to a pigeon hole if either &amp;lt;math&amp;gt;m=a_{0}+a_{i}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;m=a_{0}+a_{i}+a_{n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since each &amp;lt;math&amp;gt;a_{i}&amp;lt;/math&amp;gt; is distinct and positive and &amp;lt;math&amp;gt;a_{i}&amp;lt;a_{n}&amp;lt;/math&amp;gt;, no&amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
can be assigned to two different pigeon holes, and furthermore, since&lt;br /&gt;
&amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt; only the remaining &amp;lt;math&amp;gt;k-1&amp;lt;/math&amp;gt; members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; can&lt;br /&gt;
be assigned to a pigeon-hole.&lt;br /&gt;
&lt;br /&gt;
But since &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;k-1&amp;lt;n-1&amp;lt;/math&amp;gt;, and at least one pigeon-hole must be&lt;br /&gt;
empty, so call it &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. This means &amp;lt;math&amp;gt;a_{0}+a_{x}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
are not members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and by the inductive hypothesis, we can find&lt;br /&gt;
an ordering &amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{x},a_{n}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1},a_{0}+a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;, and establish an ordering that satisfies&lt;br /&gt;
the requirements: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\phi(j)=\begin{cases}&lt;br /&gt;
    x &amp;amp; j=1\\&lt;br /&gt;
    n &amp;amp; j=2\\&lt;br /&gt;
    \phi&#039;(j-2) &amp;amp; j&amp;gt;2&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proof #4 ==&lt;br /&gt;
&lt;br /&gt;
There is a dual form of Bramm’s proof. It is based on the fact that we can subtract everything from the sum of the a_i’s and get a copy of the same problem with roughly what happens is that you can replace max a with target-max a and let f be the number of mines target-max a and target. I think that most proofs have a dual associated with them.&lt;br /&gt;
&lt;br /&gt;
Here is case one of the dual: Max a is a mine and f is greater 0. In that case, out of the target-a_i that are not max a (n numbers), at least n-f are not mined (when taken as a first jump). Consider the n double jumps (target–max a_i != max a, target-max a, target). At least n-f of those are not mined on the last jump. The number of mines in (0 target -max a) is the number of mines (n) less f less the one for target -max a, yielding n-f-1 which is less than n-f. Thus by counting argument, at least one of the double jumps does not hit a mine on both jumps. This double jump takes two jumps and jumps over f+1 &amp;gt;=2 mines, yielding a problem with n-2 mines and n-1 remaining jumps, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case two of the dual: Target-max a is not a mine and f&amp;gt;0. Take max a as last jump, yielding problem with n remaining jumps and n-f&amp;lt;n mines, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case three of the dual: Target- max a is a mine and f=0. Let max M be the largest mine in M. Construct M’=M\{max M}. Jump target-max a to target as the last jump and solve the n-problem with the remaining a_i and M’ Let a_x be the last jump of this solution. Exchange max a and a_x (i.e. jump a_x last and max a before that). target -(max a+a_x) is no mine (guaranteed by solution), target-a_x is no mine (because target-a_x is greater than target-max a == max M as above). There are no mines in the rest. We have completed solution for n+1.&lt;br /&gt;
&lt;br /&gt;
Here is the final case of the dual: Target-max a is not a mine and f=0. As in case 3, construct M’, jump max a last and solve for the remaining a_i and M’. If this solution hits max M in step k, construct a new solution by exchanging step k-1 and the last step (i.e. target-max a). There are no mines after max M, thus the mine is avoided and no new mines are hit. We have completed solution for n+1&lt;br /&gt;
&lt;br /&gt;
== Proof #5 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Imo_2009_q6&amp;diff=1991</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=1991"/>
		<updated>2009-07-23T16:16:51Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &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 &amp;lt;math&amp;gt;n \geq 3&amp;lt;/math&amp;gt; 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;
A variant of Proof #2, with fewer cases (2!) and a bit more formally presented.&lt;br /&gt;
&lt;br /&gt;
===Generalisation===&lt;br /&gt;
&lt;br /&gt;
Given a starting point &amp;lt;math&amp;gt;a_{0}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; distinct positive integers,&lt;br /&gt;
&amp;lt;math&amp;gt;A={a_{1},a_{2},...,a_{n}}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;k&amp;lt;/math&amp;gt; values &amp;lt;math&amp;gt;M={m_{1},m_{2},...,m_{k}}&amp;lt;/math&amp;gt;&lt;br /&gt;
with &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;a_{0}\notin M&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\sum_{i=0}^{n}a_{i}\notin M&amp;lt;/math&amp;gt;,&lt;br /&gt;
then there is an ordering, &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;, on &amp;lt;math&amp;gt;A&amp;lt;/math&amp;gt;, such that &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; between &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Base Case===&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;n=1&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set and theorem is trivially true.&lt;br /&gt;
&lt;br /&gt;
===Inductive Step===&lt;br /&gt;
&lt;br /&gt;
When &amp;lt;math&amp;gt;n&amp;gt;1&amp;lt;/math&amp;gt;, then either &amp;lt;math&amp;gt;k=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; is the empty set, and hypothesis&lt;br /&gt;
is trivially true, or &amp;lt;math&amp;gt;k&amp;gt;0&amp;lt;/math&amp;gt;. Assume hypothesis is true for all &amp;lt;math&amp;gt;n&#039;&amp;lt;n&amp;lt;/math&amp;gt;,&lt;br /&gt;
and &amp;lt;math&amp;gt;k&#039;&amp;lt;k&amp;lt;/math&amp;gt;.  Label A so that &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, and M so that &amp;lt;math&amp;gt;m_{1}=min(M)&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Case 1====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;a_{0}+a_{n}\leq m_{1}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, so by the inductive&lt;br /&gt;
hypothesis, it is possible to find an ordering for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{n}&amp;lt;/math&amp;gt;. Call that ordering&lt;br /&gt;
&amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Consider the mapping &amp;lt;math&amp;gt;\phi(1)=n&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\phi(x)=\phi&#039;(x-1)&amp;lt;/math&amp;gt; when&lt;br /&gt;
&amp;lt;math&amp;gt;x\geq2&amp;lt;/math&amp;gt;. Then we have that &amp;lt;math&amp;gt;a&#039;_{0}+\sum_{i=1}^{j}a_{\phi&#039;(i)}\notin M&#039;&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n-1&amp;lt;/math&amp;gt;, which is the same as &amp;lt;math&amp;gt;a_{0}+a_{n}+\sum_{i=2}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;2\leq j\leq n&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;a_{0}+a_{n}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;a_{\phi(1)}=a_{n}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;a_{0}+\sum_{i=1}^{j}a_{\phi(i)}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;1\leq j\leq n&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Next consider the partial sums, &amp;lt;math&amp;gt;s_{j}=a_{0}+\sum_{i=1}^{j}a_{\phi(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since &amp;lt;math&amp;gt;a_{\phi(i)}&amp;lt;/math&amp;gt; is a positive integer, &amp;lt;math&amp;gt;s_{j}&amp;lt;s_{j+1}&amp;lt;/math&amp;gt;, so there&lt;br /&gt;
exists some &amp;lt;math&amp;gt;\gamma\in\{0\ldots n\}&amp;lt;/math&amp;gt; such that &amp;lt;math&amp;gt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;&lt;br /&gt;
when &amp;lt;math&amp;gt;j&amp;lt;\gamma&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt; when &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Now consider the reordering&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;&lt;br /&gt;
\rho(x)=\begin{cases}&lt;br /&gt;
    \phi(x+1) &amp;amp; 1\leq x&amp;lt;\gamma\\&lt;br /&gt;
    \phi(0) &amp;amp; x=\gamma\\&lt;br /&gt;
    \phi(x) &amp;amp; \gamma&amp;lt;x&lt;br /&gt;
    \end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the corresponding partial sums &amp;lt;math&amp;gt;s&#039;_{j}=a_{0}+\sum_{i=1}^{j}a_{\rho(i)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Consider &amp;lt;math&amp;gt;j\leq\gamma&amp;lt;/math&amp;gt;. Then &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}-a_{\phi(0)}+a_{\rho(j)}=s_{j}-a_{n}+a_{\phi(\gamma)}&amp;lt;/math&amp;gt;.&lt;br /&gt;
And since &amp;lt;math&amp;gt;a_{n}=max(A)&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}&amp;lt;s_{j}\leq m_{1}&amp;lt;/math&amp;gt;, and&lt;br /&gt;
hence &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
Further, for &amp;lt;math&amp;gt;\gamma\leq j&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}=s_{j}&amp;lt;/math&amp;gt;, and since &amp;lt;math&amp;gt;m_{1}&amp;lt;s_{j}&amp;lt;/math&amp;gt;&lt;br /&gt;
and &amp;lt;math&amp;gt;s_{j}\notin M\setminus\{m_{1}\}&amp;lt;/math&amp;gt;, we have &amp;lt;math&amp;gt;s&#039;_{j}\notin M&amp;lt;/math&amp;gt;&lt;br /&gt;
in all cases, and our ordering, &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt; suffices.&lt;br /&gt;
&lt;br /&gt;
====Case 2====&lt;br /&gt;
&lt;br /&gt;
Assume: &amp;lt;math&amp;gt;m_{1}&amp;lt;a_{0}+a_{n}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In this case we first observe that &amp;lt;math&amp;gt;m_{1}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{n}&amp;lt;/math&amp;gt; are&lt;br /&gt;
distinct members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;k\geq2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n\geq3&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
We consider &amp;lt;math&amp;gt;n-1&amp;lt;/math&amp;gt; pigeon holes labelled &amp;lt;math&amp;gt;1\leq i&amp;lt;n&amp;lt;/math&amp;gt;, assigning each&lt;br /&gt;
element &amp;lt;math&amp;gt;m\in M&amp;lt;/math&amp;gt; to a pigeon hole if either &amp;lt;math&amp;gt;m=a_{0}+a_{i}&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;m=a_{0}+a_{i}+a_{n}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Since each &amp;lt;math&amp;gt;a_{i}&amp;lt;/math&amp;gt; is distinct and positive and &amp;lt;math&amp;gt;a_{i}&amp;lt;a_{n}&amp;lt;/math&amp;gt;, no&amp;lt;math&amp;gt;m&amp;lt;/math&amp;gt;&lt;br /&gt;
can be assigned to two different pigeon holes, and furthermore, since&lt;br /&gt;
&amp;lt;math&amp;gt;a_{0}+a_{n}\in M&amp;lt;/math&amp;gt; only the remaining &amp;lt;math&amp;gt;k-1&amp;lt;/math&amp;gt; members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt; can&lt;br /&gt;
be assigned to a pigeon-hole.&lt;br /&gt;
&lt;br /&gt;
But since &amp;lt;math&amp;gt;k&amp;lt;n&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;k-1&amp;lt;n-1&amp;lt;/math&amp;gt;, and at least one pigeon-hole must be&lt;br /&gt;
empty, so call it &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;. This means &amp;lt;math&amp;gt;a_{0}+a_{x}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;&lt;br /&gt;
are not members of &amp;lt;math&amp;gt;M&amp;lt;/math&amp;gt;, and by the inductive hypothesis, we can find&lt;br /&gt;
an ordering &amp;lt;math&amp;gt;\phi&#039;&amp;lt;/math&amp;gt; for &amp;lt;math&amp;gt;A&#039;=A\setminus\{a_{x},a_{n}\}&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;M&#039;=M\setminus\{m_{1},a_{0}+a_{n}\}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;a&#039;_{0}=a_{0}+a_{x}+a_{n}&amp;lt;/math&amp;gt;, and establish an ordering that satisfies&lt;br /&gt;
the requirements: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\phi(j)=\begin{cases}&lt;br /&gt;
    x &amp;amp; j=1\\&lt;br /&gt;
    n &amp;amp; j=2\\&lt;br /&gt;
    \phi&#039;(j-2) &amp;amp; j&amp;gt;2&lt;br /&gt;
\end{cases}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Proof #4 ==&lt;br /&gt;
&lt;br /&gt;
There is a dual form of Bramm’s proof. It is based on the fact that we can subtract everything from the sum of the a_i’s and get a copy of the same problem with roughly what happens is that you can replace max a with target-max a and let f be the number of mines target-max a and target. I think that most proofs have a dual associated with them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here is case one of the dual: Max a is a mine and f is greater 0. In that case, out of the target-a_i that are not max a (n numbers), at least n-f are not mined (when taken as a first jump). Consider the n double jumps (target–max a_i != max a, target-max a, target). At least n-f of those are not mined on the last jump. The number of mines in (0 target -max a) is the number of mines (n) less f less the one for target -max a, yielding n-f-1 which is less than n-f. Thus by counting argument, at least one of the double jumps does not hit a mine on both jumps. This double jump takes two jumps and jumps over f+1 &amp;gt;=2 mines, yielding a problem with n-2 mines and n-1 remaining jumps, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case two of the dual: Target-max a is not a mine and f&amp;gt;0. Take max a as last jump, yielding problem with n remaining jumps and n-f&amp;lt;n mines, which is solved by induction.&lt;br /&gt;
&lt;br /&gt;
Here is case three of the dual: Target- max a is a mine and f=0. Let max M be the largest mine in M. Construct M’=M\{max M}. Jump target-max a to target as the last jump and solve the n-problem with the remaining a_i and M’ Let a_x be the last jump of this solution. Exchange max a and a_x (i.e. jump a_x last and max a before that). target -(max a+a_x) is no mine (guaranteed by solution), target-a_x is no mine (because target-a_x is greater than target-max a == max M as above). There are no mines in the rest. We have completed solution for n+1.&lt;br /&gt;
&lt;br /&gt;
Here is the final case of the dual: Target-max a is not a mine and f=0. As in case 3, construct M’, jump max a last and solve for the remaining a_i and M’. If this solution hits max M in step k, construct a new solution by exchanging step k-1 and the last step (i.e. target-max a). There are no mines after max M, thus the mine is avoided and no new mines are hit. We have completed solution for n+1&lt;br /&gt;
&lt;br /&gt;
== Proof #5 ==&lt;br /&gt;
&lt;br /&gt;
(Insert proof here)&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Coloring_Hales-Jewett_theorem&amp;diff=1968</id>
		<title>Coloring Hales-Jewett theorem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Coloring_Hales-Jewett_theorem&amp;diff=1968"/>
		<updated>2009-07-19T18:18:11Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
The Hales-Jewett theorem states that for every k and every r there exists an n such that if you colour the elements of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; with r colours, then there must be a [[combinatorial line]] with all its points of the same colour.&lt;br /&gt;
&lt;br /&gt;
This is a consequence of the [[Density Hales-Jewett theorem]], since there must be a set of density at least &amp;lt;math&amp;gt;r^{-1}&amp;lt;/math&amp;gt; of elements of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; all of whose elements have the same colour. It also follows from the [[Graham-Rothschild theorem]].&lt;br /&gt;
&lt;br /&gt;
By iterating the Hales-Jewett theorem, one can also show that one of the color classes contains an m-dimensional [[combinatorial subspace]], if n is sufficiently large depending on k, r and m.&lt;br /&gt;
&lt;br /&gt;
There are two combinatorial proofs of the Hales-Jewett theorem: the original one by Hales and Jewett, and a second proof by Shelah. They are given below.&lt;br /&gt;
&lt;br /&gt;
There is an infinitary generalisation of this theorem known as the [[Carlson-Simpson theorem]].&lt;br /&gt;
&lt;br /&gt;
Here is the [http://en.wikipedia.org/wiki/Hales%E2%80%93Jewett_theorem Wikipedia entry on this theorem].&lt;br /&gt;
&lt;br /&gt;
For a fixed r and k, the least n needed for the Hales-Jewett theorem to apply is denoted HJ(k,r).  The following bounds are known (see [http://www.math.ucsd.edu/~etressle/hj32.pdf this paper]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;HJ(3,1) = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;HJ(3,2) = 4&amp;lt;/math&amp;gt;&lt;br /&gt;
: &amp;lt;math&amp;gt;HJ(3,3) &amp;gt; 6&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==The original proof of the Hales-Jewett theorem==&lt;br /&gt;
&lt;br /&gt;
The first proof of the Hales-Jewett theorem was an abstraction of the argument used to prove van der Waerden&#039;s theorem. It goes like this. As above, let us write HJ(k,r) for the smallest n such that for every r-colouring of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; there is a monochromatic combinatorial line. We shall attempt to bound HJ(k,r) in terms of the function &amp;lt;math&amp;gt;s\mapsto HJ(k-1,s),&amp;lt;/math&amp;gt; which we may assume by induction to take finite values for every s.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;t_1,t_2,\dots,t_r&amp;lt;/math&amp;gt; be a rapidly increasing sequence of integers, to be chosen later, let &amp;lt;math&amp;gt;n=t_1+\dots+t_r&amp;lt;/math&amp;gt; and consider an r-colouring of &amp;lt;math&amp;gt;[k]^n=[k]^{t_1}\times\dots\times[k]^{t_r}.&amp;lt;/math&amp;gt; Now define an induced &amp;lt;math&amp;gt;k^{n-t_r}&amp;lt;/math&amp;gt;-colouring on &amp;lt;math&amp;gt;[k]^{t_r}&amp;lt;/math&amp;gt; by colouring each x according to the function that takes &amp;lt;math&amp;gt;w\in[k]^{n-t_r}&amp;lt;/math&amp;gt; to the colour of &amp;lt;math&amp;gt;(w,x).&amp;lt;/math&amp;gt; By induction, we can find a monochromatic combinatorial line &amp;lt;math&amp;gt;L_r&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;[k]^{t_r}&amp;lt;/math&amp;gt; such that all the points in that line have the same (induced) colour, with the possible exception of the point where the value of the variable coordinates is k. For this we need &amp;lt;math&amp;gt;t_r\geq HJ(k-1,k^{n-t_r}).&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now pass to the subspace &amp;lt;math&amp;gt;[k]^{n-t_r}\times L_r,&amp;lt;/math&amp;gt; and note that the only way a sequence in this space can depend on its final coordinate is through whether that final coordinate takes the value k or not. Inside this subspace, run precisely the same argument, but this time with &amp;lt;math&amp;gt;[k]^{t_{r-1}}&amp;lt;/math&amp;gt; taking over the role of &amp;lt;math&amp;gt;[k]^{t_r}.&amp;lt;/math&amp;gt; There is a choice here about what &amp;quot;precisely the same argument&amp;quot; means. It can either mean that we treat &amp;lt;math&amp;gt;[k]^{n-t_r}\times L_r&amp;lt;/math&amp;gt; as  &amp;lt;math&amp;gt;([k]^{n-t_r-t_{r-1}}\times L_r)\times[k]^{t_{r-1}}&amp;lt;/math&amp;gt; and talk about the original colouring, or it can mean that we restrict attention to the set &amp;lt;math&amp;gt;[k]^{n-t_r}=[k]^{t_1}\times\dots\times[k]^{t_{r-1}}&amp;lt;/math&amp;gt; and talk about the colouring where the colour of w is the colour of (w,x) for the points &amp;lt;math&amp;gt;x\in L_r&amp;lt;/math&amp;gt; with variable coordinate not equal to k. The usual argument goes via the second option, but for the sake of comparison with Shelah&#039;s proof it is nicer to go for the first (so what we are presenting here is not quite identical to the proof of Hales and Jewett).&lt;br /&gt;
&lt;br /&gt;
After the second stage of the iteration, for which we require that &lt;br /&gt;
&amp;lt;math&amp;gt;t_{r-1}\geq HJ(k-1,k^{n-t_r-t_{r-1}+1}),&amp;lt;/math&amp;gt; we have a line &amp;lt;math&amp;gt;L_{r-1}&amp;lt;/math&amp;gt; such that the colour of a point in &amp;lt;math&amp;gt;[k]^{t_1}\times\dots\times[k]^{t_{r-2}}\times L_{r-1}\times L_r&amp;lt;/math&amp;gt; does not depend on which point you choose in &amp;lt;math&amp;gt;L_{r-1}\times L_r,&amp;lt;/math&amp;gt; except if you change a non-k to a k or a k to a non-k. &lt;br /&gt;
&lt;br /&gt;
Continuing this process, one ends up with a subspace &amp;lt;math&amp;gt;L_1\times\dots\times L_r&amp;lt;/math&amp;gt; such that the colour of a point depends only on which of its coordinates are equal to k. This reduces the problem to HJ(2,r), which follows trivially from the pigeonhole principle. To spell it out, consider the points &amp;lt;math&amp;gt;(k-1,k-1,\dots,k-1),&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(k,k-1,k-1,\dots,k-1),&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(k,k,k-1,\dots,k-1),\dots(k,k,k,\dots,k).&amp;lt;/math&amp;gt; There are r+1 of these points, so two of them have the same colour. Those two are the top two points of a combinatorial line, all the rest of which must have the same colour as well.&lt;br /&gt;
&lt;br /&gt;
==Shelah&#039;s proof of the Hales-Jewett theorem==&lt;br /&gt;
&lt;br /&gt;
This is very unfair to Shelah, but I am trying to present what he did as an almost trivial exercise in &amp;quot;turning an induction upside-down&amp;quot;. The above proof used HJ(k-1) to create a subspace that we can treat as &amp;lt;math&amp;gt;[2]^r,&amp;lt;/math&amp;gt; because the colouring in that subspace depends only on which coordinates are k and which are not k. Now let us try to use HJ(2) to create a subspace that we can treat as &amp;lt;math&amp;gt;[k-1]^m,&amp;lt;/math&amp;gt; for some appropriate m, since in the subspace we shall ensure that the colouring is insensitive to changes between k-1 and k. To emphasize how easy this is, I shall paste the above paragraphs into this section and make the necessary adjustments.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;t_1,t_2,\dots,t_m&amp;lt;/math&amp;gt; be a rapidly increasing sequence of integers, to be chosen later (including m), let &amp;lt;math&amp;gt;n=t_1+\dots+t_m&amp;lt;/math&amp;gt; and consider an r-colouring of &amp;lt;math&amp;gt;[k]^n=[k]^{t_1}\times\dots\times[k]^{t_m}.&amp;lt;/math&amp;gt; Now define an induced &amp;lt;math&amp;gt;k^{n-t_m}&amp;lt;/math&amp;gt;-colouring on &amp;lt;math&amp;gt;[k]^{t_m}&amp;lt;/math&amp;gt; by colouring each x according to the function that takes &amp;lt;math&amp;gt;w\in[k]^{n-t_m}&amp;lt;/math&amp;gt; to the colour of &amp;lt;math&amp;gt;(w,x).&amp;lt;/math&amp;gt; By HJ(2) (a trivial application of the pigeonhole principle, as we saw above), we can find a monochromatic combinatorial line &amp;lt;math&amp;gt;L_r&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;[k]^{t_m}&amp;lt;/math&amp;gt; such that the first two points in that line have the same (induced) colour. For this we need &amp;lt;math&amp;gt;t_r\geq HJ(2,k^{n-t_m})=k^{n-t_m}.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now pass to the subspace &amp;lt;math&amp;gt;[k]^{n-t_m}\times L_m,&amp;lt;/math&amp;gt; and note that if you change the final coordinate of a sequence in this space from a 1 to a 2, or vice versa, then it does not change the colour of the sequence. Inside this subspace, run precisely the same argument, but this time with &amp;lt;math&amp;gt;[k]^{t_{m-1}}&amp;lt;/math&amp;gt; taking over the role of &amp;lt;math&amp;gt;[k]^{t_m}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;L_m&amp;lt;/math&amp;gt; taking over the role of &amp;lt;math&amp;gt;[k]^{t_{m-1}}.&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
After the second stage of the iteration, for which we require that &amp;lt;math&amp;gt;t_{m-1}\geq HJ(2,k^{n-t_r-t_{m-1}+1})=k^{n-t_m-t_{m-1}}+1,&amp;lt;/math&amp;gt; we have a line &amp;lt;math&amp;gt;L_{m-1}&amp;lt;/math&amp;gt; such that the colour of a point in &amp;lt;math&amp;gt;[k]^{t_1}\times\dots\times[k]^{t_{m-2}}\times L_{m-1}\times L_m&amp;lt;/math&amp;gt; does not change if you change any of the coordinates in &amp;lt;math&amp;gt;L_{m-1}\times L_m,&amp;lt;/math&amp;gt; from a 1 to a 2 or vice versa. &lt;br /&gt;
&lt;br /&gt;
Continuing this process, one ends up with a subspace &amp;lt;math&amp;gt;L_1\times\dots\times L_m&amp;lt;/math&amp;gt; such that the colour of a point does not change if you change a coordinate from a 1 to a 2 or vice versa. This reduces the problem to HJ(k-1), so we can take m to be HJ(k-1,r) and we are done. To spell it out, consider the set of all points in &amp;lt;math&amp;gt;L_1\times\dots\times L_m&amp;lt;/math&amp;gt; that have no variable coordinate equal to 1. Inside this set, we can find, by HJ(k-1,m), a combinatorial line such that all points in the line with variable coordinate not equal to 1 have the same colour. But by the way the subspace is chosen, we still have the same colour if we change the variable coordinate to a 1.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(3,3) ==&lt;br /&gt;
&lt;br /&gt;
We can show that &amp;lt;math&amp;gt;HJ(3,3) &amp;gt; 7&amp;lt;/math&amp;gt; by exhibiting a 3-colouring of &amp;lt;math&amp;gt;[3]^7&amp;lt;/math&amp;gt; with no monochromatic lines.&lt;br /&gt;
&lt;br /&gt;
We start with the set formed by removing (0,1,6), (1,0,6), (0,5,2), (5,0,2) , (1,5,1), (5,1,1),(1,6,0), (6,1,0) from D_7.&lt;br /&gt;
Note that none of (0,1,6), (1,0,6), (0,5,2), (5,0,2) , (1,5,1), (5,1,1),(1,6,0), (6,1,0)contains a point whose coordinate sum is divisible by three we give it color 1&lt;br /&gt;
where (a,b,c) is shorthand for the slice Γ_a,b,c.&lt;br /&gt;
It is combinatorial line free from the n=7 section of the upper and lower bounds wiki at&lt;br /&gt;
http://michaelnielsen.org/polymath1/index.php?title=Upper_and_lower_bounds#n.3D7&lt;br /&gt;
&lt;br /&gt;
then we divide the remaining points into all points whose coordinate sum is not equal to 0 mod 9 and&lt;br /&gt;
all points of (0,1,6), (1,0,6), (0,5,2), (5,0,2) , (1,5,1), (5,1,1),(1,6,0), (6,1,0)whose coordinate sum is equal to 1 mod 3 We give these color 2&lt;br /&gt;
&lt;br /&gt;
then we take all points of (0,1,6), (1,0,6), (0,5,2), (5,0,2) , (1,5,1), (5,1,1),(1,6,0), (6,1,0)whose coordinate sum equal to 2 mod 3 and those points&lt;br /&gt;
whose sum is equal to 0 mod 9. We give these color 3.&lt;br /&gt;
&lt;br /&gt;
Then with this coloring there are nor monochromatic lines. If there are any monochromatic&lt;br /&gt;
Lines with number of moving coordinates not divisible by three in color 2 they must contain point whose coordinate sum is equal to 2 mod three&lt;br /&gt;
But there are no such points with color 2. If there are any monochromatic lines whose coordinate sum is divisible by three&lt;br /&gt;
Than they must contain points whose coordinate sum is 0 mod 9 but there are no such points with color 2. So there&lt;br /&gt;
Are no monochromatic combinatorial lines with color 2.&lt;br /&gt;
&lt;br /&gt;
If there are any monochromatic&lt;br /&gt;
Lines with number of moving coordinates not divisible by three in color 3 they must contain point whose coordinate sum is equal to 1 mod three&lt;br /&gt;
But there are no such points with color 3. If there are any monochromatic lines whose coordinate sum is divisible by three&lt;br /&gt;
Than they must contain points whose coordinate sum is not 0 mod 9 but there are no such points with color 3.&lt;br /&gt;
&lt;br /&gt;
As already noted color 1 is combinatorial line free and we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(3,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(3,3) is greater than 13&lt;br /&gt;
&lt;br /&gt;
We take the slices of the thirteen dimensional hypercube&lt;br /&gt;
of side three in the following way:&lt;br /&gt;
We start with the Van der Warden number W(3,3) from Ramsey Theory&lt;br /&gt;
By Ronald L. Graham, Bruce L. Rothschild, Joel H. Spencer&lt;br /&gt;
second edition.&lt;br /&gt;
&lt;br /&gt;
W(3,3)=27 which gives us a three coloring free of monochromatic&lt;br /&gt;
progressions of length 3 of the numbers on through 27&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c) the color associated&lt;br /&gt;
with a + 2b +1 in the above coloring then the maximum value is 27&lt;br /&gt;
We add one because the coloring in W(3,3) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
triangle and a monochromatic upward triangle would lead to&lt;br /&gt;
an arithmetic progression of length three but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
This is an improvement in the old value of HJ(3,3) is the value of 7 above before that there was a computer generated value of 6 in this paper http://www.math.ucsd.edu/~etressle/hj32.pdf.&lt;br /&gt;
&lt;br /&gt;
HJ(3,4) is greater than 37&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 37 dimensional hypercube&lt;br /&gt;
of side three in the following way:&lt;br /&gt;
We start with the Van der Warden number W(3,4) from Ramsey Theory&lt;br /&gt;
by Ronald L. Graham, Bruce L. Rothschild, Joel H. Spencer.&lt;br /&gt;
We have an exact value:&lt;br /&gt;
W(3,4) = 76 from Ramsey Theory&lt;br /&gt;
by Ronald L. Graham, Bruce L. Rothschild, Joel H. Spencer.&lt;br /&gt;
Which is associated with a four coloring of the&lt;br /&gt;
numbers one through 76&lt;br /&gt;
which is free of monochromatic arithmetic progressions of&lt;br /&gt;
length three.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c) the color associated&lt;br /&gt;
with a + 2b + 1 in the above coloring then the maximum value is 75 so we can color each slice&lt;br /&gt;
We add one because the coloring in W(3,4) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
triangle and a monochromatic upward triangle would lead to&lt;br /&gt;
an arithmetic progression of length three but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(3,5) is greater than 84&lt;br /&gt;
&lt;br /&gt;
We have from&lt;br /&gt;
http://www.st.ewi.tudelft.nl/sat/waerden.php&lt;br /&gt;
W(3,5) is greater than 170 which is associated with a&lt;br /&gt;
five coloring of the points from 1 to 170 free of arithmetic progressions of lenght&lt;br /&gt;
three from this we get a coloring of slices by giving the slice (a,b,c)&lt;br /&gt;
the color in the above coloring associated with a+2b+1&lt;br /&gt;
then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward triangle&lt;br /&gt;
which would lead to an arithmetic progression of length three but&lt;br /&gt;
we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
This leads to improvements in the existing bounds for c_n in the spreadsheet for&lt;br /&gt;
values 82-84 as the density must be greater than 1/r=1/5 for n less than or equal&lt;br /&gt;
to 84.&lt;br /&gt;
&lt;br /&gt;
HJ(3,6) is greater than 103&lt;br /&gt;
&lt;br /&gt;
We have from&lt;br /&gt;
http://www.st.ewi.tudelft.nl/sat/waerden.php&lt;br /&gt;
W(3,6) is greater than 207 which is associated with a&lt;br /&gt;
six coloring of the points from 1 to 207 free of arithmetic progressions of length.&lt;br /&gt;
three from this we get a coloring of slices by giving the slice (a,b,c)&lt;br /&gt;
the color in the above coloring associated with a+2b+1&lt;br /&gt;
then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward triangle&lt;br /&gt;
which would lead to an arithmetic progression of length three but&lt;br /&gt;
we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
Again this leads to improvements in the existing bounds for c_n for 82 to 98 again&lt;br /&gt;
as the density must be greater than 1/r=1/6 for n less than or equal&lt;br /&gt;
to 103 and the table stops at 98.&lt;br /&gt;
&lt;br /&gt;
HJ(3,r) is greater than r^{clnr}/2-1&lt;br /&gt;
&lt;br /&gt;
We have from&lt;br /&gt;
from Ramsey Theory&lt;br /&gt;
by Ronald L. Graham, Bruce L. Rothschild, Joel H. Spencer,second edition page 103.&lt;br /&gt;
W(3,r) is greater than r^{clnr} which is associated with a&lt;br /&gt;
t coloring of the points from 1 to r^{clnr} free of arithmetic progressions of length.&lt;br /&gt;
three from this we get a coloring of slices by giving the slice (a,b,c)&lt;br /&gt;
the color in the above coloring associated with a+2b+1&lt;br /&gt;
then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward triangle&lt;br /&gt;
which would lead to an arithmetic progression of length three but&lt;br /&gt;
we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(4,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(4,2) is greater than 11&lt;br /&gt;
&lt;br /&gt;
We start with the Van der Warden number W(4,2) from Ramsey Theory&lt;br /&gt;
by Ronald L. Graham, Bruce L. Rothschild, Joel H. Spencer for which&lt;br /&gt;
we have an exact value:&lt;br /&gt;
W(4,2)=35 with this is associated a two coloring of the&lt;br /&gt;
numbers one through 35 with no monochromatic progression&lt;br /&gt;
of length four.&lt;br /&gt;
&lt;br /&gt;
We give the slices (a,b,c,d) of the 11th dimensional &lt;br /&gt;
hypercube of side 4 the color associated&lt;br /&gt;
with a + 2b + 3c + 1 then the maximum value is 34&lt;br /&gt;
so our coloring is well defined.&lt;br /&gt;
We add one because the coloring in W(4,2) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because we will have no monochromatic upward tetrahedrons&lt;br /&gt;
because they would lead to an arithmetic progression of length four which we &lt;br /&gt;
have forbidden in our choice of coloring.&lt;br /&gt;
&lt;br /&gt;
HJ(4,3) is greater than 97&lt;br /&gt;
&lt;br /&gt;
We start with  W(4,3) is greater than 292&lt;br /&gt;
from http://www.st.ewi.tudelft.nl/sat/waerden.php&lt;br /&gt;
We let the dimension be 97 then give the slices&lt;br /&gt;
the color associated with a+2b+3c+1 in the three coloring&lt;br /&gt;
of 292 which has no monochromatic arithmetic progression&lt;br /&gt;
of length four. Then since a monochromatic combinatorial line would&lt;br /&gt;
lead to a monochromatic upward tetrahedron which would lead to an&lt;br /&gt;
arithmetic progression of length four which we have forbidden we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(4,4) is greater than 349&lt;br /&gt;
&lt;br /&gt;
We start with  W(4,4) is greater than 1048&lt;br /&gt;
from http://www.st.ewi.tudelft.nl/sat/waerden.php&lt;br /&gt;
We let the dimension be 349 then give the slices&lt;br /&gt;
the color associated with a+2b+3c+1 in the three coloring&lt;br /&gt;
of 1048 which has no monochromatic arithmetic progression&lt;br /&gt;
of length four. Then since a monochromatic combinatorial line would&lt;br /&gt;
lead to a monochromatic upward tetrahedron which would lead to an&lt;br /&gt;
arithmetic progression of length four which we have forbidden we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(4,5) is greater than 751&lt;br /&gt;
&lt;br /&gt;
We start with  W(4,5) is greater than 2254&lt;br /&gt;
from http://www.st.ewi.tudelft.nl/sat/waerden.php&lt;br /&gt;
We let the dimension be 751 then give the slices&lt;br /&gt;
the color associated with a+2b+3c+1 in the three coloring&lt;br /&gt;
of 2254 which has no monochromatic arithmetic progression&lt;br /&gt;
of length four. Then since a monochromatic combinatorial line would&lt;br /&gt;
lead to a monochromatic upward tetrahedron which would lead to an&lt;br /&gt;
arithmetic progression which we have forbidden we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(4,6) is greater than 3259&lt;br /&gt;
&lt;br /&gt;
We start with  W(4,6) is greater than 9778&lt;br /&gt;
from http://www.st.ewi.tudelft.nl/sat/waerden.php&lt;br /&gt;
We let the dimension be 3259 then give the slices&lt;br /&gt;
the color associated with a+2b+3c+1 in the three coloring&lt;br /&gt;
of 9778 which has no monochromatic arithmetic progression&lt;br /&gt;
of length four. Then since a monochromatic combinatorial line would&lt;br /&gt;
lead to a monochromatic upward tetrahedron which would lead to an&lt;br /&gt;
arithmetic progression which we have forbidden we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(5,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(5,2) is greater than 59&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 59 dimensional hypercube&lt;br /&gt;
of side five in the following way:&lt;br /&gt;
We start with the Van der Warden number W(5,2) for which&lt;br /&gt;
we have an exact value:&lt;br /&gt;
W(5,2) =178&lt;br /&gt;
from Ramsey Theory&lt;br /&gt;
by Ronald L. Graham, Bruce L. Rothschild, Joel H. Spencer&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 178 with no arithmetic progression of length 5&lt;br /&gt;
We give the slice (a,b,c,d,e) the color associated&lt;br /&gt;
with a + 2b + 3c+4d+1 then the maximum value is 178&lt;br /&gt;
so the coloring is well defined.&lt;br /&gt;
We add one because the coloring in W(5,2) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension four whose vertices are (a+r,b,c,d,e), (a,b+r,c,d,e) etc. and a monochromatic upward simplex of dimension four would lead to&lt;br /&gt;
an arithmetic progression of length five but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(5,3) is greater than 302&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 302 dimensional hypercube&lt;br /&gt;
of side five in the following way:&lt;br /&gt;
We start with the Van der Warden number W(5,3) for which&lt;br /&gt;
we have &lt;br /&gt;
W(5,3) is greater than 1209 see&lt;br /&gt;
http://www.st.ewi.tudelft.nl/sat/waerden.php associated with a two coloring of the numbers from &lt;br /&gt;
1 to 1209 with no arithmetic progression of length 5&lt;br /&gt;
We give the slice (a,b,c,d,e) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d + 1 then the maximum value is 1209&lt;br /&gt;
so the coloring is well defined.&lt;br /&gt;
We add one because the coloring in W(5,3) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension four whose vertices are (a+r,b,c,d,e), (a,b+r,c,d,e) etc. and a monochromatic upward simplex of dimension four would lead to&lt;br /&gt;
an arithmetic progression of length five but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(5,4) is greater than 2609&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 2609 dimensional hypercube&lt;br /&gt;
of side five in the following way:&lt;br /&gt;
We start with the Van der Warden number W(5,4) for which&lt;br /&gt;
we have &lt;br /&gt;
W(5,4) is greater than 10437 see&lt;br /&gt;
http://www.st.ewi.tudelft.nl/sat/waerden.php associated with a three coloring of the numbers from 1 to 1209 with no arithmetic progression of length 5&lt;br /&gt;
We give the slice (a,b,c,d,e) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d + 1 then the maximum value is 2609&lt;br /&gt;
so the coloring is well defined.&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension four and a monochromatic upward simplex of dimension four would lead to&lt;br /&gt;
an arithmetic progression of length five but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(5,5) is greater than 6011&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 6011 dimensional hypercube&lt;br /&gt;
of side five in the following way:&lt;br /&gt;
We start with the Van der Warden number W(5,5) for which&lt;br /&gt;
we have W(5,5) is greater than 24045 see&lt;br /&gt;
http://www.st.ewi.tudelft.nl/sat/waerden.php associated with a three coloring of the numbers from 1 to 24045 with no arithmetic progression of length 5&lt;br /&gt;
We give the slice (a,b,c,d,e) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d + 1 &lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension four and a monochromatic upward simplex of dimension four would lead to&lt;br /&gt;
an arithmetic progression of length five but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(5,6) is greater than 14173&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 14173 dimensional hypercube&lt;br /&gt;
of side five in the following way:&lt;br /&gt;
We start with the Van der Warden number W(5,6) for which&lt;br /&gt;
we have W(5,6) is greater than 56693 see&lt;br /&gt;
http://www.st.ewi.tudelft.nl/sat/waerden.php associated with a three coloring of the numbers from 1 to 56693 with no arithmetic progression of length 5&lt;br /&gt;
We give the slice (a,b,c,d,e) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d + 1 &lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension four and a monochromatic upward simplex of dimension four would lead to&lt;br /&gt;
an arithmetic progression of length five but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(6,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(6,2) is greater than 226&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 226 dimensional hypercube&lt;br /&gt;
of side six in the following way:&lt;br /&gt;
We start with the Van der Warden number W(6,2) for which&lt;br /&gt;
we have an exact value from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(6,2) =1131&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 1131 with no arithmetic progression of length 6.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 1 then the maximum value is 1131&lt;br /&gt;
so the coloring is well defined.&lt;br /&gt;
We add one because the coloring in W(6,2) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension five whose vertices are (a+r,b,c,d,e,f), (a,b+r,c,d,e,f) etc. and a monochromatic upward simplex of dimension five would lead to&lt;br /&gt;
an arithmetic progression of length six but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(6,3) is greater than 1777&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 1777 dimensional hypercube&lt;br /&gt;
of side six in the following way:&lt;br /&gt;
We start with the Van der Warden number W(6,3) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(6,3) is greater than 8886&lt;br /&gt;
this is associated with a three coloring of the numbers from &lt;br /&gt;
1 to 8886 with no arithmetic progression of length 6.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 1.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension five  and a monochromatic upward simplex of dimension five would lead to&lt;br /&gt;
an arithmetic progression of length six but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(6,4) is greater than 18061&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 18061 dimensional hypercube&lt;br /&gt;
of side six in the following way:&lt;br /&gt;
We start with the Van der Warden number W(6,3) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(6,3)is greater than 90306.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 1.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension five  and a monochromatic upward simplex of dimension five would lead to&lt;br /&gt;
an arithmetic progression of length six but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(6,5) is greater than 49391&lt;br /&gt;
&lt;br /&gt;
We start with the Van der Warden number W(6,5) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(6,5)is greater than 246956.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 1.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension five  and a monochromatic upward simplex of dimension five would lead to&lt;br /&gt;
an arithmetic progression of length six but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(6,6) is greater than 120097&lt;br /&gt;
&lt;br /&gt;
We start with the Van der Warden number W(6,6) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(6,6)is greater than 600486.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 1.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension five  and a monochromatic upward simplex of dimension five would lead to&lt;br /&gt;
an arithmetic progression of length six but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(7,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(7,2) is greater than 617&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 617 dimensional hypercube&lt;br /&gt;
of side seven in the following way:&lt;br /&gt;
We start with the Van der Warden number W(7,2) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(7,2)is greater than 3703&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 3703 with no arithmetic progression of length 7.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f,g) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 6f+ 1 then the maximum value is 3703&lt;br /&gt;
so the coloring is well defined.&lt;br /&gt;
We add one because the coloring in W(7,2) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension six whose vertices are (a+r,b,c,d,e,f,g), (a,b+r,c,d,e,f,g) etc. and a monochromatic upward simplex of dimension six would lead to&lt;br /&gt;
an arithmetic progression of length seven but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(7,3) is greater than 7309&lt;br /&gt;
&lt;br /&gt;
We start with the Van der Warden number W(7,3) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(7,3) is greater than 43855&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 43855 with no arithmetic progression of length 7.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f,g) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 6f+ 1.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension six (a+r,b,c,d,e,f,g) (a,b+r,c,d,e,f,g) etc. and a monochromatic upward simplex of dimension six would lead to&lt;br /&gt;
an arithmetic progression of length seven but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(7,4) is greater than 64661&lt;br /&gt;
&lt;br /&gt;
We start with the Van der Warden number W(7,4) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(7,4) is greater than 387967&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 43855 with no arithmetic progression of length 7.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f,g) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 6f+ 1.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension six (a+r,b,c,d,e,f,g) (a,b+r,c,d,e,f,g) etc. and a monochromatic upward simplex of dimension six would lead to&lt;br /&gt;
an arithmetic progression of length seven but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(8,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(8,2) is greater than 1069&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 1069 dimensional hypercube&lt;br /&gt;
of side eight in the following way:&lt;br /&gt;
We start with the Van der Warden number W(8,2) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(8,2) is greater than 7484&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 7484 with no arithmetic progression of length 8.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f,g,h) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 6f + 7g + 1.&lt;br /&gt;
We add one because the coloring in W(8,2) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension seven whose vertices are (a+r,b,c,d,e,f,g,h) (a,b+r,c,d,e,f,g,h) etc. and a monochromatic upward simplex of dimension seven would lead to&lt;br /&gt;
an arithmetic progression of length eight but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
HJ(8,3) is greater than 34057&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 34057 dimensional hypercube&lt;br /&gt;
of side eight in the following way:&lt;br /&gt;
We start with the Van der Warden number W(8,3) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(8,3) is greater than 238400&lt;br /&gt;
this is associated with a three coloring of the numbers from &lt;br /&gt;
1 to 238400 with no arithmetic progression of length 8.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f,g,h) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 6f + 7g + 1.&lt;br /&gt;
We add one because the coloring in W(8,3) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension seven whose vertices are (a+r,b,c,d,e,f,g,h), (a,b+r,c,d,e,f,g,h) etc. and a monochromatic upward simplex of dimension seven would lead to&lt;br /&gt;
an arithmetic progression of length eight but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(9,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(9,2) is greater than 3389&lt;br /&gt;
&lt;br /&gt;
We color the slices of the 3389 dimensional hypercube&lt;br /&gt;
of side 9 in the following way:&lt;br /&gt;
We start with the Van der Warden number W(9,2) for which&lt;br /&gt;
we have from http://www.st.ewi.tudelft.nl/sat/waerden.php:&lt;br /&gt;
W(9,2) is greater than 27113&lt;br /&gt;
this is associated with a two coloring of the numbers from &lt;br /&gt;
1 to 27113 with no arithmetic progression of length 9.&lt;br /&gt;
&lt;br /&gt;
We give the slice (a,b,c,d,e,f,g,h,i) the color associated&lt;br /&gt;
with a + 2b + 3c + 4d +5e + 6f + 7g + 8h + 1.&lt;br /&gt;
We add one because the coloring in W(9,2) starts with one&lt;br /&gt;
and we have zero values in our slices.&lt;br /&gt;
&lt;br /&gt;
Then we will not have a monochromatic combinatorial line&lt;br /&gt;
because it would correspond to a monochromatic upward&lt;br /&gt;
simplex of dimension eight whose vertices are (a+r,b,c,d,e,f,g,h.i), (a,b+r,c,d,e,f,g,h,i) etc. and a monochromatic upward simplex of dimension eight would lead to&lt;br /&gt;
an arithmetic progression of length nine but we have forbidden such a progression by our choice of coloring so we are done.&lt;br /&gt;
&lt;br /&gt;
== Improved bounds on HJ(n,r) ==&lt;br /&gt;
&lt;br /&gt;
HJ(n,r) is greater than ((r^n/ern(1+o(1)))/n-1) -2&lt;br /&gt;
&lt;br /&gt;
We start with the bound W(n,r) is greater than r^n/erk(1+o(1))&lt;br /&gt;
which is from the website&lt;br /&gt;
&lt;br /&gt;
http://mathworld.wolfram.com/vanderWaerdenNumber.html&lt;br /&gt;
&lt;br /&gt;
which gives the reference&lt;br /&gt;
Heule, M. J. H. “Improving the Odds: New Lower Bounds for Van der Waerden Numbers.” March 4, 2008. http://www.st.ewi.tudelft.nl/sat/slides/waerden.pdf.&lt;br /&gt;
&lt;br /&gt;
Set the dimension equal to ((r^n/ern(1+o(1)))/n-1) -2&lt;br /&gt;
&lt;br /&gt;
then we take that coloring and give it to give a point the color associated with a +2b+.. continued n-1 times&lt;br /&gt;
we can do tbis because the dimension is ((r^n/ern(1+o(1)))/n-1) -2&lt;br /&gt;
There is no n-1 dimensional upward simplex as then we would&lt;br /&gt;
have a monochromatic arithmetic progression which we have forbidden but since we have no monochromatic upward n-1 dimensional simplex we will have no combinatorial lines and so we are done.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higherk.tex&amp;diff=1940</id>
		<title>Higherk.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higherk.tex&amp;diff=1940"/>
		<updated>2009-07-11T17:04:34Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{Higher-k DHJ numbers}\label{higherk-sec}&lt;br /&gt;
&lt;br /&gt;
For any $n$, $k$ let $c_{n,k}$ denote the cardinality of the largest subset of $[k]{}^n$ that does not contain a combinatorial line. When $k=3$, the quantity $c_{n,k} = c_n$ is studied in Sections \ref{dhj-lower-sec}, \ref{dhj-upper-sec}. The density Hales-Jewett theorem asserts that for any fixed $k$, $\lim_{n\rightarrow\infty} c_n/k^n = 0$ .&lt;br /&gt;
We trivially have $c_{n,1} = 0$ for $n &amp;gt; 0$, and Sperner&#039;s theorem tells us that &lt;br /&gt;
$$c_{n,2} = \binom{n}{\lfloor n/2 \rfloor}$$.&lt;br /&gt;
Now we look at the opposite regime, in which $n$ is small and $k$ is large. We easily have $c_{1,k} = k-1$ together with the trivial bound $c_{n+1,k} \leq kc_{n,k}$.  This implies that &lt;br /&gt;
$$c_{n,k}\leq (k-1)k^{n-1}$$&lt;br /&gt;
for any $n\geq 1$. Let us call a pair $(n,k)$ with $n &amp;gt; 0$ \emph{saturated} if $c_{n,k}=(k-1)k^{n-1}$, thus there exists a line-free set with exactly one point omitted from every row and column.&lt;br /&gt;
The question naturally arises, Which pairs $(n,k)$ are saturated?  From the above discussion we see that $(1,k)$ is saturated for all $k \geq 1$, and $(n,1)$ is (rather trivially) saturated for all $n$.  Sperner&#039;s theorem tells us that $(n,2)$ is saturated only for $n= 1, 2$. Note that if $(n,k)$ is unsaturated then $(n&#039;,k)$ will be unsaturated for all $n&#039; &amp;gt; n$.&lt;br /&gt;
A computer search has found the following $c_{n,k}$ values for different values of dimension $n$ and edgelength $k$. Several of these values reach the upper bound of  $(k - 1)k^{n-1}$.&lt;br /&gt;
&lt;br /&gt;
\begin{tabular}{|l|cccccc} &lt;br /&gt;
$n\backslash k$ &amp;amp; 2&amp;amp; 3 &amp;amp; 4 &amp;amp;  5 &amp;amp; 6 &amp;amp; 7 \\&lt;br /&gt;
\hline&lt;br /&gt;
2 &amp;amp; 2 &amp;amp; 6 &amp;amp; 12 &amp;amp; 20 &amp;amp; 30 &amp;amp; 42\\&lt;br /&gt;
3 &amp;amp; 3 &amp;amp; 18 &amp;amp; 48 &amp;amp; 100 &amp;amp; 180 &amp;amp; 294\\&lt;br /&gt;
4 &amp;amp; 6 &amp;amp; 52 &amp;amp; 183 &amp;amp; 500 &amp;amp; 1051-1079 &amp;amp; 2058\\&lt;br /&gt;
5 &amp;amp; 10 &amp;amp; 150 &amp;amp; 712-732 &amp;amp; 2500 &amp;amp; 6325-6480 &amp;amp; 14406&lt;br /&gt;
\end{tabular}&lt;br /&gt;
&lt;br /&gt;
$(2,k)$ is saturated when $k$ is at least $1$.  In dimension two the maximal set size is $k(k-1)$. This can be done by removing the diagonal values $11, 22, 33, \ldots, kk$. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
The $k$ missing points are one per line and one per column. So their $y$-coordinates are a shuffle of their $x$-coordinates. There are $k!$ rearrangements of the numbers $1$ to $k$. The $k$ points include a point on the diagonal, so this shuffle is not a derangement. There are $k!/e$ derangements of the numbers $1$ to $k$, so $k!(1-1/e)$ optimal solutions.  This number of optimal solutions is sequence A002467 from the Online Encyclopedia of Integer Sequences. &lt;br /&gt;
 &lt;br /&gt;
$(3,k)$ is saturated when $k&amp;gt;2$.  Let $S$ be a latin square of side $k$ on the symbols $1…k$, with colour $i$ in position $(i,i)$ (This is not possible for $k=2$)&lt;br /&gt;
Let axis one in $S$ correspond to coordinate $1$ in $[k]{}^3$, axis two to coordinate $2$ and interpret the colour in position $(i,j)$ as the third coordinate. Delete the points so defined.&lt;br /&gt;
The line with three wild cards has now been removed. A line with two wildcards will be missing the point corresponding to the diagonal in $S$. A line with a single wildcard will be missing a point corresponding to an off diagonal point in $S$.&lt;br /&gt;
&lt;br /&gt;
\subsection{$(n,k)$ is saturated when all prime divisors of $k$ are at least $n$}&lt;br /&gt;
First consider the case when $k$ is prime and at least $n$: Delete those points whose coordinates add up to a multiple of $k$. Every combinatorial line has one point deleted, except for the major diagonal of $n=k$, which has all points deleted.&lt;br /&gt;
Now consider for instance the case $(n,k) = (4,35)$. Select one value modulo $35$ and eliminate it. Combinatorial lines with one, two, three or four moving coordinates will realize all values modulo $35$ as one, two, three, or four are units modulo $35$, thus $(4,35)$ is saturated.&lt;br /&gt;
The same argument tells us that $(n,k)$ is saturated when all prime divisors of $k$ are at least $n$.&lt;br /&gt;
On the other hand, computer data shows that $(4,4)$ and $(4,6)$ are not saturated.&lt;br /&gt;
&lt;br /&gt;
\subsection{Failure of Hyper-optimistic conjecture}&lt;br /&gt;
Let $\overline{c}^\mu_{n,4}$ be the largest subset of the tetrahedral grid:&lt;br /&gt;
$$\{(a,b,c,d)\in\mathbb{Z}^4_+ : a+b+c+d = n\}$$&lt;br /&gt;
which contains no tetrahedrons $(a + r,b,c,d)$,$(a,b + r,c,d)$,$(a,b,c + r,d)$,$(a,b,c,d + r)$ with $r &amp;gt; 0$; call such sets tetrahedron-free.&lt;br /&gt;
The first few values, for $n$ from 0 to 7, were found by an integer programming routine, and are given in Figure \ref{Fujimura4}.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb]\centerline{&lt;br /&gt;
\begin{tabular}[lllllllll]&lt;br /&gt;
                       n &amp;amp; 0 &amp;amp; 1 &amp;amp; 2 &amp;amp; 3  &amp;amp; 4  &amp;amp; 5  &amp;amp; 6  &amp;amp; 7 \\&lt;br /&gt;
$\overline{c}^\mu_{n,4}$ &amp;amp; 1 &amp;amp; 3 &amp;amp; 7 &amp;amp; 14 &amp;amp; 24 &amp;amp; 37 &amp;amp; 55 &amp;amp; 78&lt;br /&gt;
\end{tabular}&lt;br /&gt;
\label{Fujimura4}\caption{Fujimura numbers $\overline{c}^\mu_{n,4}$}}&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
Recall the &#039;hyper-optimistic&#039; Conjecture \ref{hoc} that the weighted sum of the points in any combinatorial line-free set is at most $\overline{c}^\mu_{n,4}$.  The following example with $n=2$ and $k=4$ has a weighted sum of 7.5, and therefore disproves the conjecture for these values of $n$ and $k$.  (Note that for all odd numbers including the case $k=3$, which is at the centre of most of Polymath&#039;s interest, is still open.&lt;br /&gt;
&lt;br /&gt;
$$\{(1, 1), (1, 2), (1, 3), (2, 1), (2, 3), (2, 4), (3, 2), (3, 3), (3,&lt;br /&gt;
4), (4, 1), (4, 2), (4, 4)\}$$&lt;br /&gt;
&lt;br /&gt;
The above counterexample can be extended to all even numbers  greater than 2 as follows. One takes one element on the diagonal say $(n,n)$ then one can take $(a,a+1)$ for all $n-1$ values 0 through $n-2$ and $(n-1,0)$ this will block all combinatorial lines and it has weight (n+1)/2. The complement of this thus line free. Its weight is greater than any set of slices. For each such set must contain at least one diagonal blocking point and $n-1$ other blocking points if it has two or more diagonal blocking points the complement will be less than the above set(there must be at least $n$ blocking points so 2 or more diagonal points increase the weight by $1/2$ and pushes it over the limit constructed above. If it has one then because of parity reasons it must have an additional point (there are an odd number of coordinates to take care of and since if $(a,b)$ is in the blocking set $(b,a)$ must be as well, coordinates must be blocked by pairs there is one left over which requires an addition point or an addition point of the form $(a,a)$ which makes the line free set lower than the above construction. The HOC is known to be true for 2 and for even numbers greater than 2 by the above it is false.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higherk.tex&amp;diff=1939</id>
		<title>Higherk.tex</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higherk.tex&amp;diff=1939"/>
		<updated>2009-07-11T17:01:47Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;\section{Higher-k DHJ numbers}\label{higherk-sec}&lt;br /&gt;
&lt;br /&gt;
For any $n$, $k$ let $c_{n,k}$ denote the cardinality of the largest subset of $[k]{}^n$ that does not contain a combinatorial line. When $k=3$, the quantity $c_{n,k} = c_n$ is studied in Sections \ref{dhj-lower-sec}, \ref{dhj-upper-sec}. The density Hales-Jewett theorem asserts that for any fixed $k$, $\lim_{n\rightarrow\infty} c_n/k^n = 0$ .&lt;br /&gt;
We trivially have $c_{n,1} = 0$ for $n &amp;gt; 0$, and Sperner&#039;s theorem tells us that &lt;br /&gt;
$$c_{n,2} = \binom{n}{\lfloor n/2 \rfloor}$$.&lt;br /&gt;
Now we look at the opposite regime, in which $n$ is small and $k$ is large. We easily have $c_{1,k} = k-1$ together with the trivial bound $c_{n+1,k} \leq kc_{n,k}$.  This implies that &lt;br /&gt;
$$c_{n,k}\leq (k-1)k^{n-1}$$&lt;br /&gt;
for any $n\geq 1$. Let us call a pair $(n,k)$ with $n &amp;gt; 0$ \emph{saturated} if $c_{n,k}=(k-1)k^{n-1}$, thus there exists a line-free set with exactly one point omitted from every row and column.&lt;br /&gt;
The question naturally arises, Which pairs $(n,k)$ are saturated?  From the above discussion we see that $(1,k)$ is saturated for all $k \geq 1$, and $(n,1)$ is (rather trivially) saturated for all $n$.  Sperner&#039;s theorem tells us that $(n,2)$ is saturated only for $n= 1, 2$. Note that if $(n,k)$ is unsaturated then $(n&#039;,k)$ will be unsaturated for all $n&#039; &amp;gt; n$.&lt;br /&gt;
A computer search has found the following $c_{n,k}$ values for different values of dimension $n$ and edgelength $k$. Several of these values reach the upper bound of  $(k - 1)k^{n-1}$.&lt;br /&gt;
&lt;br /&gt;
\begin{tabular}{|l|cccccc} &lt;br /&gt;
$n\backslash k$ &amp;amp; 2&amp;amp; 3 &amp;amp; 4 &amp;amp;  5 &amp;amp; 6 &amp;amp; 7 \\&lt;br /&gt;
\hline&lt;br /&gt;
2 &amp;amp; 2 &amp;amp; 6 &amp;amp; 12 &amp;amp; 20 &amp;amp; 30 &amp;amp; 42\\&lt;br /&gt;
3 &amp;amp; 3 &amp;amp; 18 &amp;amp; 48 &amp;amp; 100 &amp;amp; 180 &amp;amp; 294\\&lt;br /&gt;
4 &amp;amp; 6 &amp;amp; 52 &amp;amp; 183 &amp;amp; 500 &amp;amp; 1051-1079 &amp;amp; 2058\\&lt;br /&gt;
5 &amp;amp; 10 &amp;amp; 150 &amp;amp; 712-732 &amp;amp; 2500 &amp;amp; 6325-6480 &amp;amp; 14406&lt;br /&gt;
\end{tabular}&lt;br /&gt;
&lt;br /&gt;
$(2,k)$ is saturated when $k$ is at least $1$.  In dimension two the maximal set size is $k(k-1)$. This can be done by removing the diagonal values $11, 22, 33, \ldots, kk$. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
The $k$ missing points are one per line and one per column. So their $y$-coordinates are a shuffle of their $x$-coordinates. There are $k!$ rearrangements of the numbers $1$ to $k$. The $k$ points include a point on the diagonal, so this shuffle is not a derangement. There are $k!/e$ derangements of the numbers $1$ to $k$, so $k!(1-1/e)$ optimal solutions.  This number of optimal solutions is sequence A002467 from the Online Encyclopedia of Integer Sequences. &lt;br /&gt;
 &lt;br /&gt;
$(3,k)$ is saturated when $k&amp;gt;2$.  Let $S$ be a latin square of side $k$ on the symbols $1…k$, with colour $i$ in position $(i,i)$ (This is not possible for $k=2$)&lt;br /&gt;
Let axis one in $S$ correspond to coordinate $1$ in $[k]{}^3$, axis two to coordinate $2$ and interpret the colour in position $(i,j)$ as the third coordinate. Delete the points so defined.&lt;br /&gt;
The line with three wild cards has now been removed. A line with two wildcards will be missing the point corresponding to the diagonal in $S$. A line with a single wildcard will be missing a point corresponding to an off diagonal point in $S$.&lt;br /&gt;
&lt;br /&gt;
\subsection{$(n,k)$ is saturated when all prime divisors of $k$ are at least $n$}&lt;br /&gt;
First consider the case when $k$ is prime and at least $n$: Delete those points whose coordinates add up to a multiple of $k$. Every combinatorial line has one point deleted, except for the major diagonal of $n=k$, which has all points deleted.&lt;br /&gt;
Now consider for instance the case $(n,k) = (4,35)$. Select one value modulo $35$ and eliminate it. Combinatorial lines with one, two, three or four moving coordinates will realize all values modulo $35$ as one, two, three, or four are units modulo $35$, thus $(4,35)$ is saturated.&lt;br /&gt;
The same argument tells us that $(n,k)$ is saturated when all prime divisors of $k$ are at least $n$.&lt;br /&gt;
On the other hand, computer data shows that $(4,4)$ and $(4,6)$ are not saturated.&lt;br /&gt;
&lt;br /&gt;
\subsection{Failure of Hyper-optimistic conjecture}&lt;br /&gt;
Let $\overline{c}^\mu_{n,4}$ be the largest subset of the tetrahedral grid:&lt;br /&gt;
$$\{(a,b,c,d)\in\mathbb{Z}^4_+ : a+b+c+d = n\}$$&lt;br /&gt;
which contains no tetrahedrons $(a + r,b,c,d)$,$(a,b + r,c,d)$,$(a,b,c + r,d)$,$(a,b,c,d + r)$ with $r &amp;gt; 0$; call such sets tetrahedron-free.&lt;br /&gt;
The first few values, for $n$ from 0 to 7, were found by an integer programming routine, and are given in Figure \ref{Fujimura4}.&lt;br /&gt;
&lt;br /&gt;
\begin{figure}[tb]\centerline{&lt;br /&gt;
\begin{tabular}[lllllllll]&lt;br /&gt;
                       n &amp;amp; 0 &amp;amp; 1 &amp;amp; 2 &amp;amp; 3  &amp;amp; 4  &amp;amp; 5  &amp;amp; 6  &amp;amp; 7 \\&lt;br /&gt;
$\overline{c}^\mu_{n,4}$ &amp;amp; 1 &amp;amp; 3 &amp;amp; 7 &amp;amp; 14 &amp;amp; 24 &amp;amp; 37 &amp;amp; 55 &amp;amp; 78&lt;br /&gt;
\end{tabular}&lt;br /&gt;
\label{Fujimura4}\caption{Fujimura numbers $\overline{c}^\mu_{n,4}$}}&lt;br /&gt;
\end{figure}&lt;br /&gt;
&lt;br /&gt;
Recall the &#039;hyper-optimistic&#039; Conjecture \ref{hoc} that the weighted sum of the points in any combinatorial line-free set is at most $\overline{c}^\mu_{n,4}$.  The following example with $n=2$ and $k=4$ has a weighted sum of 7.5, and therefore disproves the conjecture for these values of $n$ and $k$.  (Note that for all odd numbers including the case $k=3$, which is at the centre of most of Polymath&#039;s interest, is still open.&lt;br /&gt;
&lt;br /&gt;
$$\{(1, 1), (1, 2), (1, 3), (2, 1), (2, 3), (2, 4), (3, 2), (3, 3), (3,&lt;br /&gt;
4), (4, 1), (4, 2), (4, 4)\}$$&lt;br /&gt;
&lt;br /&gt;
The above counterexample can be extended to all even numbers as follows. One takes one element on the diagonal say $(n,n)$ then one can take $(a,a+1)$ for all $n-1$ values 0 through $n-2$ and $(n-1,0)$ this will block all combinatorial lines and it has weight (n+1)/2. The complement of this thus line free. Its weight is greater than any set of slices. For each such set must contain at least one diagonal blocking point and $n-1$ other blocking points if it has two or more diagonal blocking points the complement will be less than the above set(there must be at least $n$ blocking points so 2 or more diagonal points increase the weight by $1/2$ and pushes it over the limit constructed above. If it has one then because of parity reasons it must have an additional point (there are an odd number of coordinates to take care of and since if $(a,b)$ is in the blocking set $(b,a)$ must be as well, coordinates must be blocked by pairs there is one left over which requires an addition point or an addition point of the form $(a,a)$ which makes the line free set lower than the above construction. The HOC is known to be true for 2 and for even numbers greater than 2 by the above it is false.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1590</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1590"/>
		<updated>2009-06-07T18:13:08Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a/4+c/6 \leq 2;&lt;br /&gt;
 a/4 + d \leq 2;&lt;br /&gt;
 b/6+c/6 \leq 2;&lt;br /&gt;
 b/6+d \leq 2;&lt;br /&gt;
 c/3+d \leq 2;&lt;br /&gt;
 a/2+b/6+c/6 \leq 4;&lt;br /&gt;
 b/3+c/3+d \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,7,4,0) cannot be realized. Since there are 4 types of type c two must have the same c-statistics. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. There are at most two points of type b in both side slices for a maximum total of four. Thus there must be three points of this type in the center slice which means that it must have three of its corner points in the set. The only possible spots for points of type c in the central slice are the two spots adjacent to the missing corner point of the center slice. These must be filled as we have 4 points of type c and only two in the side slices. Without loss of generality say the missing corner point is (2,1,1) and the two adjacent points of type c are (2,2,1) and (2,1,2). Then of the pairs (3,1,3) and (1,1,3), (3,1,3) and (1,1,3), (1,3,1) and (3,3,1) the set can have only one point in each pair because the three corners in the center slice would form a line with any complete pair. Thus the set must have one of the two points (1,1,1) or (3,1,1). If it has (1,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 3. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. If it has (3,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 1. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. So we have exhausted all cases and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,0,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality we can say these points are (1,2,2) and (3,2,2). Slice along the first coordinate then the two side slices have their center points and hence have at most 2 points of type a each but we need five such points so have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,7,5,0) cannot be realized. Since there are 5 points of type c two must have the same c-statistic. Without loss of generality let them be (1,2,2) and (3,2,2). Slice on the first coordinate. Then both side squares have their center points and hence must have at most two points of type a and three must be in the center slice. Also since only two of the points of type c are on the side slices three must be in the center slice. However if three of the points of type a are in the center slice they fill three of the four corners and block two of the points of type c. So there are at most two points of type c in the center slice but we must have three and so we have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,5,5,0) cannot be realized. Since there are 5 points of type c two must have the same c-statistic. There must be one other such pair and one unpaired point. Without loss of generality we can say the five points are (1,2,2),(3,2,2),(2,1,2),(2,3,2), (2,2,1) with (2,2,3) the missing point of type c. We slice on the first coordinate. Each side slice gets its center point and hence can have at most two points of type a one on each diagonal. Now the points (1,1,1) combines with (2,2,1) and (2,1,2) to block (3,3,1) and (3,1,3) but that combined with the fact that these points are on a diagonal and we must have at least one point in each diagonal of type a gives a contradiction. By the same method the points (1,1,3),(3,1,1), and (3,1,3) are forbidden. This and fact that we must have four ponts of type a means we must have the points (1,3,1),(1,3,3),(3,3,1) and (3,3,3).&lt;br /&gt;
&lt;br /&gt;
These points block the points (2,3,1) and (2,3,3) in the center slice. Only one of the remaining points of type a can be in the set since if both are in the set the point (2,2,3) would form a line with them. So the the center set there is at most one point of type b. To get five we must have two on each side slice.  The points of type b on the side slices lie on pairs on two lines with the center. There must be one in each line for there to be two such points. In particular there must be one on the lines (1,1,2), (1,2,2), and (1,3,2) and (3,1,2), (3,2,2), and (3,3,2). But the points (1,3,2) and (3,3,2) are blocked by the points of type a in each slice. So we must have the points (1,1,2) and (1,3,2) but we cannot have these ponts because they form a line with the point (1,2,2). So we have a contradiction and we are done. &lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,6,6) cannot be realized. We slice on the first coordinate. Both center points will be in both side slices because we have all points of type c. Because of this both side slices must have two or less points of type a. One must have only one such point. Without loss of generality say this slice is the square with coordinate one and the point is (1,1,1). Then with the points (2,1,2) and (2,2,1) it blocks the points (3,1,3) and (3,3,1) but that means that the square with side three which must have two points of type a must have them both on the diagonal (3,1,1),(3,2,2) and (3,3,3) but then they will form a line with the center point. So we have a contradiction and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Brute-force calculations for &amp;lt;math&amp;gt;[3]{}^4&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
An attempt was made to find extremal statistics for the four-dimensional case by brute force.  Since a simple routine would check 2^81 possibilities, which is infeasible, shortcuts would be needed.&lt;br /&gt;
&lt;br /&gt;
The outline of a suggested routine is as follows:  There are just over 3.8 million line-free subsets of [3]^3.  Since the cube has 3!2^3 = 48 symmetries, they fall into 83158 equivalence classes.  To consider all possibilities, it is enough to do the following:&lt;br /&gt;
&lt;br /&gt;
* Let the 1*** slice be a representative from one of the 83158 classes.&lt;br /&gt;
* Let the 3*** slice be one of the 3.8 million subsets.&lt;br /&gt;
* Identify which points in 2*** would not complete a vertical or sloping line from the 1*** slice to the 3*** slice.&lt;br /&gt;
* Go to a lookup table, and find the Pareto-optimal statistics of all line-free subsets of 2*** with the restriction from the previous step.  This lookup table would need 2^27 rows, or 2^27/48 if one made use of the cube&#039;s symmetries.&lt;br /&gt;
* Deduce a set of possible statistics for the combined **** cube.  Update the list of [3]^4 Pareto statistics&lt;br /&gt;
* Loop through the 83158 1*** slices and 3.8 million 3*** slices.&lt;br /&gt;
&lt;br /&gt;
A large part of this calculation is to build the lookup table.  The script given below, written in Matlab, is intended to carry it out.  An input, DVec, is a list of 27-bit numbers.  Each number represents one case of the forbidden 2*** points.  The output is ParetoCell, which lists the Pareto statistics for each DVec value.  A more compact form of the output is ParetoInd.&lt;br /&gt;
&lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 if ~exist(&#039;eee&#039;);&lt;br /&gt;
   &lt;br /&gt;
   % List of Disallowed 27-bit numbers&lt;br /&gt;
   if ~exist(&#039;DVec&#039;)&lt;br /&gt;
      DVec = 0;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % Find the 230 line-free subsets of [3]^2&lt;br /&gt;
   [a,b,c,d,e,f,g,h,k] = ndgrid(0:1);&lt;br /&gt;
   abcd = [a(:) b(:) c(:) d(:) e(:) f(:) g(:) h(:) k(:)];&lt;br /&gt;
   All512 = abcd;&lt;br /&gt;
   % Delete those with complete lines in them&lt;br /&gt;
   for n=512:-1:1,&lt;br /&gt;
      v=abcd(n,:);&lt;br /&gt;
      if any(all(v([1 2 3;4 5 6;7 8 9;1 4 7;2 5 8;3 6 9;1 5 9;3 5 7]),2)),&lt;br /&gt;
         abcd(n,:)=[];&lt;br /&gt;
      end;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   % Some numbers needed repeatedly, so precalculate them&lt;br /&gt;
   TwoEight = 2.^[0:8];&lt;br /&gt;
   Eight = abcd*TwoEight&#039;;&lt;br /&gt;
   TwoFourEight = 256*Eight;&lt;br /&gt;
   % Student Matlab won&#039;t allow 230x230 array, but will allow cell arrays&lt;br /&gt;
   Eights = cell(1,230);&lt;br /&gt;
   % 27-bit numbers built from first layer and third layer&lt;br /&gt;
   for n=1:230,Eights{n}=Eight(n)+65536*Eight;end;&lt;br /&gt;
   &lt;br /&gt;
   % find symmetry group of each one&lt;br /&gt;
   %for n=1:230,&lt;br /&gt;
   %v=reshape(abcd(n,:),3,3);&lt;br /&gt;
   %w=v&#039;;&lt;br /&gt;
   %x=flipud(v);&lt;br /&gt;
   %y=fliplr(v);&lt;br /&gt;
   %z=flipud(fliplr(v));&lt;br /&gt;
   %a=flipud(w);&lt;br /&gt;
   %b=fliplr(w);&lt;br /&gt;
   %c=flipud(fliplr(w));&lt;br /&gt;
   %e=[v(:) w(:) x(:) y(:) z(:) a(:) b(:) c(:)];&lt;br /&gt;
   %same(n) = sum(all(e==(v(:)*ones(1,8))));&lt;br /&gt;
   %end;&lt;br /&gt;
   &lt;br /&gt;
   % calculate the statistics for each line-free square&lt;br /&gt;
   for n=1:230,&lt;br /&gt;
      v=reshape(abcd(n,:),3,3);&lt;br /&gt;
      Stats2(n,:) = [sum(v([1 3 7 9])) sum(v([2 4 6 8])) v(5)];   &lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   % Convert the stats to a unique index&lt;br /&gt;
   Stats2Ind = Stats2*[1;9;9*13];&lt;br /&gt;
   % The centre-slice has a different statistic&lt;br /&gt;
   Stats2Shift = Stats2*[9;9*13;9*13*7];&lt;br /&gt;
 &lt;br /&gt;
   % count the restricted patterns&lt;br /&gt;
   for n=1:512,&lt;br /&gt;
      WithinCell{n} = find(all(abcd &amp;lt;= All512(n*ones(1,230),:),2));&lt;br /&gt;
      Within(n)     = length(WithinCell{n});&lt;br /&gt;
      % Sort them so that Stats2Shift is increasing;&lt;br /&gt;
      % will make it easier to ignore repetitions later&lt;br /&gt;
      [a,b] = sort(Stats2Shift(WithinCell{n}));&lt;br /&gt;
      WithinCell{n} = WithinCell{n}(b);&lt;br /&gt;
   end;&lt;br /&gt;
   Total = 0;Count = zeros(1,48);&lt;br /&gt;
   &lt;br /&gt;
   % Compare every Statistics for the cube with every other Statistics, &lt;br /&gt;
   % to see if one dominates the other - to keep track of Pareto maxima&lt;br /&gt;
   Beaters = cell(9,13,7,2);&lt;br /&gt;
   for a=1:9,for b=1:13,for c=1:7,for d=1:2,&lt;br /&gt;
               Beaters{a,b,c,d} = zeros(9,13,7,2);&lt;br /&gt;
               for e=1:9,&lt;br /&gt;
                  for f=1:13,&lt;br /&gt;
                     for g=1:7,&lt;br /&gt;
                        for h=1:2,&lt;br /&gt;
                           if all([a b c d]&amp;gt;=[e f g h]),&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=1;&lt;br /&gt;
                           elseif all([a b c d]&amp;lt;=[e f g h])&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=-1;&lt;br /&gt;
                           end;&lt;br /&gt;
                        end;end;end;end;&lt;br /&gt;
               Beaters{a,b,c,d}(a,b,c,d)=-1;&lt;br /&gt;
            end;end;end;end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % For each Layer1 and Layer3, precalculate which cells &lt;br /&gt;
   % are forbidden in Layer2&lt;br /&gt;
   for a=1:230,  &lt;br /&gt;
      % Convert square of 01s to 9-bit number&lt;br /&gt;
      Layer1 = abcd(a,:);&lt;br /&gt;
      Num1 = TwoEight*Layer1&#039;;&lt;br /&gt;
      % Some bits are needed for sloping lines&lt;br /&gt;
      X123 = bitand(Num1,7)*8;&lt;br /&gt;
      X789 = bitand(Num1,8*56)/8;&lt;br /&gt;
      X147 = bitand(Num1,73)*2;&lt;br /&gt;
      X369 = bitand(Num1,4*73)/2;&lt;br /&gt;
      &lt;br /&gt;
      for b=1:230,&lt;br /&gt;
         &lt;br /&gt;
         Layer3 = abcd(b,:);&lt;br /&gt;
         Num2 = TwoEight*Layer3&#039;;&lt;br /&gt;
         &lt;br /&gt;
         % Check for vertical lines&lt;br /&gt;
         Out = bitand(Num1,Num2);         &lt;br /&gt;
         &lt;br /&gt;
         % Set up for sloping lines&lt;br /&gt;
         Y123 = bitand(Num2,7);Y123=Y123*8;&lt;br /&gt;
         Y789 = bitand(Num2,448);Y789=Y789/8;&lt;br /&gt;
         Y147 = bitand(Num2,73);Y147=Y147*2;&lt;br /&gt;
         Y369 = bitand(Num2,292);Y369=Y369/2;&lt;br /&gt;
         &lt;br /&gt;
         % Check for sloping lines&lt;br /&gt;
         Out = bitor(Out,bitand(X123,Y789));&lt;br /&gt;
         Out = bitor(Out,bitand(X789,Y123));&lt;br /&gt;
         Out = bitor(Out,bitand(X147,Y369));&lt;br /&gt;
         Out = bitor(Out,bitand(X369,Y147));&lt;br /&gt;
         &lt;br /&gt;
         % Check for major diagonals, and bit 5&lt;br /&gt;
         v = 16*any(Layer1([1 3 7 9]) &amp;amp; Layer3([9 7 3 1]));&lt;br /&gt;
         Out = bitor(Out,v);&lt;br /&gt;
         &lt;br /&gt;
         NotOut = bitcmp(Out,9);&lt;br /&gt;
         % Index&lt;br /&gt;
         In=NotOut+1;&lt;br /&gt;
         &lt;br /&gt;
         % 9-bit number shows which bits are allowed&lt;br /&gt;
         Allowed{a}(b) = In;&lt;br /&gt;
         &lt;br /&gt;
      end;end;%for a,for b&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   eee = &#039;done&#039;;&lt;br /&gt;
 end;% if ~exist(&#039;eee&#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Set up enough memory to keep track of Pareto sets&lt;br /&gt;
 % These are the pareto-maxima of the second slice,&lt;br /&gt;
 % will be subject to the DISALLOWED restriction &lt;br /&gt;
 &lt;br /&gt;
 % Count of Disallowed 27-bit numbers&lt;br /&gt;
 nd = length(DVec);&lt;br /&gt;
 &lt;br /&gt;
 % List of Pareto-max Layer2s&lt;br /&gt;
 ParetoInd = cell(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 % Provide enough space&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1,230));&lt;br /&gt;
 &lt;br /&gt;
 % Initialize&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1));&lt;br /&gt;
 NPareto = ones(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 for a=1:230,&lt;br /&gt;
   &lt;br /&gt;
   InFirst = Allowed{a};&lt;br /&gt;
   NN0Vec = Eights{a};&lt;br /&gt;
   &lt;br /&gt;
   for b=1:230,   &lt;br /&gt;
      &lt;br /&gt;
      % Statistics of Layer1 and Layer3 put together&lt;br /&gt;
      Stats0Ind = Stats2Ind(a)+Stats2Ind(b)+1;&lt;br /&gt;
      &lt;br /&gt;
      % List of possible Layer2s&lt;br /&gt;
      Rvec0 = WithinCell{InFirst(b)};&lt;br /&gt;
      &lt;br /&gt;
      % Stats of all three Layers put together&lt;br /&gt;
      Stats3Ind0 = Stats0Ind+Stats2Shift(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number of Layer1 and Layer3&lt;br /&gt;
      NN0 = NN0Vec(b);&lt;br /&gt;
      &lt;br /&gt;
      % Pick which Disallowed are dead already&lt;br /&gt;
      DOk = find(~bitand( NN0, DVec));&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number including various possible Layer2s&lt;br /&gt;
      NN = NN0+TwoFourEight(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % Only the sequel changes for different DISALLOWEDS&lt;br /&gt;
      for di = DOk&lt;br /&gt;
         &lt;br /&gt;
         % Pick a 27-bit number of DISALLOWED bits&lt;br /&gt;
         Disallowed = DVec(di);&lt;br /&gt;
         &lt;br /&gt;
         % Which Layer2s give a cube entirely within allowed bits&lt;br /&gt;
         NOk = find(~bitand(NN,Disallowed));&lt;br /&gt;
         &lt;br /&gt;
         % Don&#039;t bother if none apply&lt;br /&gt;
         if length(NOk)&lt;br /&gt;
            &lt;br /&gt;
            Stats3Ind = Stats3Ind0(NOk);&lt;br /&gt;
            &lt;br /&gt;
            % Remove repeats (values are already sorted)&lt;br /&gt;
            for c=[1; 1+find(diff(Stats3Ind))]&#039;,&lt;br /&gt;
               &lt;br /&gt;
               NewStat = Stats3Ind(c);&lt;br /&gt;
               % To compare this new Statistic with current Pareto set, look up the &lt;br /&gt;
               % pre-calculated comparisons&lt;br /&gt;
               Mat = Beaters{NewStat};&lt;br /&gt;
               % Fetch the list of Pareto sets, to prevent repeated indexing&lt;br /&gt;
               PInd = ParetoInd{di};&lt;br /&gt;
               Comparison = Mat(PInd);&lt;br /&gt;
               &lt;br /&gt;
               if (all(Comparison&amp;gt;=0)),&lt;br /&gt;
                  % Then this is a new Pareto set&lt;br /&gt;
                  &lt;br /&gt;
                  % remove the dominated Pareto sets&lt;br /&gt;
                  Old = find(Comparison);&lt;br /&gt;
                  PInd(Old) = [];&lt;br /&gt;
                  % include the new Pareto set&lt;br /&gt;
                  PInd(end+1) = NewStat;&lt;br /&gt;
                  NPareto(di) = length(PInd);&lt;br /&gt;
                  % Put the updated Pareto list back in the cell array&lt;br /&gt;
                  ParetoInd{di} = PInd;&lt;br /&gt;
               end;%if Comparison&lt;br /&gt;
            end;%for c[1; 1+find(diff(Stats3Ind))]&lt;br /&gt;
         end;%if length(NOk)&lt;br /&gt;
      end;%for di&lt;br /&gt;
      %disp(num2str([floor(toc) a b Total Count(find(Count))]));&lt;br /&gt;
   end;%for b&lt;br /&gt;
   %disp(num2str([a NPareto]));&lt;br /&gt;
 end;% for a&lt;br /&gt;
 &lt;br /&gt;
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Convert from Pareto indexes to lists of Pareto statistics&lt;br /&gt;
 &lt;br /&gt;
 for di = 1:nd,&lt;br /&gt;
   [a,b,c,d] = ind2sub([9 13 7 2],ParetoInd{di}(1:NPareto(di)));&lt;br /&gt;
   ParetoCell{di} = [a;b;c;d]&#039;-1;&lt;br /&gt;
 end;&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1589</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1589"/>
		<updated>2009-06-07T18:04:17Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a/4+c/6 \leq 2;&lt;br /&gt;
 a/4 + d \leq 2;&lt;br /&gt;
 b/6+c/6 \leq 2;&lt;br /&gt;
 b/6+d \leq 2;&lt;br /&gt;
 c/3+d \leq 2;&lt;br /&gt;
 a/2+b/6+c/6 \leq 4;&lt;br /&gt;
 b/3+c/3+d \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,7,4,0) cannot be realized. Since there are 4 types of type c two must have the same c-statistics. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. There are at most two points of type b in both side slices for a maximum total of four. Thus there must be three points of this type in the center slice which means that it must have three of its corner points in the set. The only possible spots for points of type c in the central slice are the two spots adjacent to the missing corner point of the center slice. These must be filled as we have 4 points of type c and only two in the side slices. Without loss of generality say the missing corner point is (2,1,1) and the two adjacent points of type c are (2,2,1) and (2,1,2). Then of the pairs (3,1,3) and (1,1,3), (3,1,3) and (1,1,3), (1,3,1) and (3,3,1) the set can have only one point in each pair because the three corners in the center slice would form a line with any complete pair. Thus the set must have one of the two points (1,1,1) or (3,1,1). If it has (1,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 3. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. If it has (3,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 1. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. So we have exhausted all cases and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,0,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality we can say these points are (1,2,2) and (3,2,2). Slice along the first coordinate then the two side slices have their center points and hence have at most 2 points of type a each but we need five such points so have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,7,5,0) cannot be realized. Since there are 5 points of type c two must have the same c-statistic. Without loss of generality let them be (1,2,2) and (3,2,2). Slice on the first coordinate. Then both side squares have their center points and hence must have at most two points of type a and three must be in the center slice. Also since only two of the points of type c are on the side slices three must be in the center slice. However if three of the points of type a are in the center slice they fill three of the four corners and block two of the points of type c. So there are at most two points of type c in the center slice but we must have three and so we have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,5,5,0) cannot be realized. Since there are 5 points of type c two must have the same c-statistic. There must be one other such pair and one unpaired point. Without loss of generality we can say the five points are (1,2,2),(3,2,2),(2,1,2),(2,3,2), (2,2,1) with (2,2,3) the missing point of type c. We slice on the first coordinate. Each side slice gets its center point and hence can have at most two points of type a one on each diagonal. Now the points (1,1,1) combines with (2,2,1) and (2,1,2) to block (3,3,1) and (3,1,3) but that combined with the fact that these points are on a diagonal and we must have at least one point in each diagonal of type a gives a contradiction. By the same method the points (1,1,3),(3,1,1), and (3,1,3) are forbidden. This and fact that we must have four ponts of type a means we must have the points (1,3,1),(1,3,3),(3,3,1) and (3,3,3).&lt;br /&gt;
&lt;br /&gt;
These points block the points (2,3,1) and (2,3,3) in the center slice. Only one of the remaining points of type a can be in the set since if both are in the set the point (2,2,3) would form a line with them. So the the center set there is at most one point of type b. To get five we must have two on each side slice.  The points of type b on the side slices lie on pairs on two lines with the center. There must be one in each line for there to be two such points. In particular there must be one on the lines (1,1,2), (1,2,2), and (1,3,2) and (3,1,2), (3,2,2), and (3,3,2). But the points (1,3,2) and (3,3,2) are blocked by the points of type a in each slice. So we must have the points (1,1,2) and (1,3,2) but we cannot have these ponts because they form a line with the point (1,2,2). So we have a contradiction and we are done. &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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Brute-force calculations for &amp;lt;math&amp;gt;[3]{}^4&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
An attempt was made to find extremal statistics for the four-dimensional case by brute force.  Since a simple routine would check 2^81 possibilities, which is infeasible, shortcuts would be needed.&lt;br /&gt;
&lt;br /&gt;
The outline of a suggested routine is as follows:  There are just over 3.8 million line-free subsets of [3]^3.  Since the cube has 3!2^3 = 48 symmetries, they fall into 83158 equivalence classes.  To consider all possibilities, it is enough to do the following:&lt;br /&gt;
&lt;br /&gt;
* Let the 1*** slice be a representative from one of the 83158 classes.&lt;br /&gt;
* Let the 3*** slice be one of the 3.8 million subsets.&lt;br /&gt;
* Identify which points in 2*** would not complete a vertical or sloping line from the 1*** slice to the 3*** slice.&lt;br /&gt;
* Go to a lookup table, and find the Pareto-optimal statistics of all line-free subsets of 2*** with the restriction from the previous step.  This lookup table would need 2^27 rows, or 2^27/48 if one made use of the cube&#039;s symmetries.&lt;br /&gt;
* Deduce a set of possible statistics for the combined **** cube.  Update the list of [3]^4 Pareto statistics&lt;br /&gt;
* Loop through the 83158 1*** slices and 3.8 million 3*** slices.&lt;br /&gt;
&lt;br /&gt;
A large part of this calculation is to build the lookup table.  The script given below, written in Matlab, is intended to carry it out.  An input, DVec, is a list of 27-bit numbers.  Each number represents one case of the forbidden 2*** points.  The output is ParetoCell, which lists the Pareto statistics for each DVec value.  A more compact form of the output is ParetoInd.&lt;br /&gt;
&lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 if ~exist(&#039;eee&#039;);&lt;br /&gt;
   &lt;br /&gt;
   % List of Disallowed 27-bit numbers&lt;br /&gt;
   if ~exist(&#039;DVec&#039;)&lt;br /&gt;
      DVec = 0;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % Find the 230 line-free subsets of [3]^2&lt;br /&gt;
   [a,b,c,d,e,f,g,h,k] = ndgrid(0:1);&lt;br /&gt;
   abcd = [a(:) b(:) c(:) d(:) e(:) f(:) g(:) h(:) k(:)];&lt;br /&gt;
   All512 = abcd;&lt;br /&gt;
   % Delete those with complete lines in them&lt;br /&gt;
   for n=512:-1:1,&lt;br /&gt;
      v=abcd(n,:);&lt;br /&gt;
      if any(all(v([1 2 3;4 5 6;7 8 9;1 4 7;2 5 8;3 6 9;1 5 9;3 5 7]),2)),&lt;br /&gt;
         abcd(n,:)=[];&lt;br /&gt;
      end;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   % Some numbers needed repeatedly, so precalculate them&lt;br /&gt;
   TwoEight = 2.^[0:8];&lt;br /&gt;
   Eight = abcd*TwoEight&#039;;&lt;br /&gt;
   TwoFourEight = 256*Eight;&lt;br /&gt;
   % Student Matlab won&#039;t allow 230x230 array, but will allow cell arrays&lt;br /&gt;
   Eights = cell(1,230);&lt;br /&gt;
   % 27-bit numbers built from first layer and third layer&lt;br /&gt;
   for n=1:230,Eights{n}=Eight(n)+65536*Eight;end;&lt;br /&gt;
   &lt;br /&gt;
   % find symmetry group of each one&lt;br /&gt;
   %for n=1:230,&lt;br /&gt;
   %v=reshape(abcd(n,:),3,3);&lt;br /&gt;
   %w=v&#039;;&lt;br /&gt;
   %x=flipud(v);&lt;br /&gt;
   %y=fliplr(v);&lt;br /&gt;
   %z=flipud(fliplr(v));&lt;br /&gt;
   %a=flipud(w);&lt;br /&gt;
   %b=fliplr(w);&lt;br /&gt;
   %c=flipud(fliplr(w));&lt;br /&gt;
   %e=[v(:) w(:) x(:) y(:) z(:) a(:) b(:) c(:)];&lt;br /&gt;
   %same(n) = sum(all(e==(v(:)*ones(1,8))));&lt;br /&gt;
   %end;&lt;br /&gt;
   &lt;br /&gt;
   % calculate the statistics for each line-free square&lt;br /&gt;
   for n=1:230,&lt;br /&gt;
      v=reshape(abcd(n,:),3,3);&lt;br /&gt;
      Stats2(n,:) = [sum(v([1 3 7 9])) sum(v([2 4 6 8])) v(5)];   &lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   % Convert the stats to a unique index&lt;br /&gt;
   Stats2Ind = Stats2*[1;9;9*13];&lt;br /&gt;
   % The centre-slice has a different statistic&lt;br /&gt;
   Stats2Shift = Stats2*[9;9*13;9*13*7];&lt;br /&gt;
 &lt;br /&gt;
   % count the restricted patterns&lt;br /&gt;
   for n=1:512,&lt;br /&gt;
      WithinCell{n} = find(all(abcd &amp;lt;= All512(n*ones(1,230),:),2));&lt;br /&gt;
      Within(n)     = length(WithinCell{n});&lt;br /&gt;
      % Sort them so that Stats2Shift is increasing;&lt;br /&gt;
      % will make it easier to ignore repetitions later&lt;br /&gt;
      [a,b] = sort(Stats2Shift(WithinCell{n}));&lt;br /&gt;
      WithinCell{n} = WithinCell{n}(b);&lt;br /&gt;
   end;&lt;br /&gt;
   Total = 0;Count = zeros(1,48);&lt;br /&gt;
   &lt;br /&gt;
   % Compare every Statistics for the cube with every other Statistics, &lt;br /&gt;
   % to see if one dominates the other - to keep track of Pareto maxima&lt;br /&gt;
   Beaters = cell(9,13,7,2);&lt;br /&gt;
   for a=1:9,for b=1:13,for c=1:7,for d=1:2,&lt;br /&gt;
               Beaters{a,b,c,d} = zeros(9,13,7,2);&lt;br /&gt;
               for e=1:9,&lt;br /&gt;
                  for f=1:13,&lt;br /&gt;
                     for g=1:7,&lt;br /&gt;
                        for h=1:2,&lt;br /&gt;
                           if all([a b c d]&amp;gt;=[e f g h]),&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=1;&lt;br /&gt;
                           elseif all([a b c d]&amp;lt;=[e f g h])&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=-1;&lt;br /&gt;
                           end;&lt;br /&gt;
                        end;end;end;end;&lt;br /&gt;
               Beaters{a,b,c,d}(a,b,c,d)=-1;&lt;br /&gt;
            end;end;end;end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % For each Layer1 and Layer3, precalculate which cells &lt;br /&gt;
   % are forbidden in Layer2&lt;br /&gt;
   for a=1:230,  &lt;br /&gt;
      % Convert square of 01s to 9-bit number&lt;br /&gt;
      Layer1 = abcd(a,:);&lt;br /&gt;
      Num1 = TwoEight*Layer1&#039;;&lt;br /&gt;
      % Some bits are needed for sloping lines&lt;br /&gt;
      X123 = bitand(Num1,7)*8;&lt;br /&gt;
      X789 = bitand(Num1,8*56)/8;&lt;br /&gt;
      X147 = bitand(Num1,73)*2;&lt;br /&gt;
      X369 = bitand(Num1,4*73)/2;&lt;br /&gt;
      &lt;br /&gt;
      for b=1:230,&lt;br /&gt;
         &lt;br /&gt;
         Layer3 = abcd(b,:);&lt;br /&gt;
         Num2 = TwoEight*Layer3&#039;;&lt;br /&gt;
         &lt;br /&gt;
         % Check for vertical lines&lt;br /&gt;
         Out = bitand(Num1,Num2);         &lt;br /&gt;
         &lt;br /&gt;
         % Set up for sloping lines&lt;br /&gt;
         Y123 = bitand(Num2,7);Y123=Y123*8;&lt;br /&gt;
         Y789 = bitand(Num2,448);Y789=Y789/8;&lt;br /&gt;
         Y147 = bitand(Num2,73);Y147=Y147*2;&lt;br /&gt;
         Y369 = bitand(Num2,292);Y369=Y369/2;&lt;br /&gt;
         &lt;br /&gt;
         % Check for sloping lines&lt;br /&gt;
         Out = bitor(Out,bitand(X123,Y789));&lt;br /&gt;
         Out = bitor(Out,bitand(X789,Y123));&lt;br /&gt;
         Out = bitor(Out,bitand(X147,Y369));&lt;br /&gt;
         Out = bitor(Out,bitand(X369,Y147));&lt;br /&gt;
         &lt;br /&gt;
         % Check for major diagonals, and bit 5&lt;br /&gt;
         v = 16*any(Layer1([1 3 7 9]) &amp;amp; Layer3([9 7 3 1]));&lt;br /&gt;
         Out = bitor(Out,v);&lt;br /&gt;
         &lt;br /&gt;
         NotOut = bitcmp(Out,9);&lt;br /&gt;
         % Index&lt;br /&gt;
         In=NotOut+1;&lt;br /&gt;
         &lt;br /&gt;
         % 9-bit number shows which bits are allowed&lt;br /&gt;
         Allowed{a}(b) = In;&lt;br /&gt;
         &lt;br /&gt;
      end;end;%for a,for b&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   eee = &#039;done&#039;;&lt;br /&gt;
 end;% if ~exist(&#039;eee&#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Set up enough memory to keep track of Pareto sets&lt;br /&gt;
 % These are the pareto-maxima of the second slice,&lt;br /&gt;
 % will be subject to the DISALLOWED restriction &lt;br /&gt;
 &lt;br /&gt;
 % Count of Disallowed 27-bit numbers&lt;br /&gt;
 nd = length(DVec);&lt;br /&gt;
 &lt;br /&gt;
 % List of Pareto-max Layer2s&lt;br /&gt;
 ParetoInd = cell(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 % Provide enough space&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1,230));&lt;br /&gt;
 &lt;br /&gt;
 % Initialize&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1));&lt;br /&gt;
 NPareto = ones(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 for a=1:230,&lt;br /&gt;
   &lt;br /&gt;
   InFirst = Allowed{a};&lt;br /&gt;
   NN0Vec = Eights{a};&lt;br /&gt;
   &lt;br /&gt;
   for b=1:230,   &lt;br /&gt;
      &lt;br /&gt;
      % Statistics of Layer1 and Layer3 put together&lt;br /&gt;
      Stats0Ind = Stats2Ind(a)+Stats2Ind(b)+1;&lt;br /&gt;
      &lt;br /&gt;
      % List of possible Layer2s&lt;br /&gt;
      Rvec0 = WithinCell{InFirst(b)};&lt;br /&gt;
      &lt;br /&gt;
      % Stats of all three Layers put together&lt;br /&gt;
      Stats3Ind0 = Stats0Ind+Stats2Shift(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number of Layer1 and Layer3&lt;br /&gt;
      NN0 = NN0Vec(b);&lt;br /&gt;
      &lt;br /&gt;
      % Pick which Disallowed are dead already&lt;br /&gt;
      DOk = find(~bitand( NN0, DVec));&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number including various possible Layer2s&lt;br /&gt;
      NN = NN0+TwoFourEight(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % Only the sequel changes for different DISALLOWEDS&lt;br /&gt;
      for di = DOk&lt;br /&gt;
         &lt;br /&gt;
         % Pick a 27-bit number of DISALLOWED bits&lt;br /&gt;
         Disallowed = DVec(di);&lt;br /&gt;
         &lt;br /&gt;
         % Which Layer2s give a cube entirely within allowed bits&lt;br /&gt;
         NOk = find(~bitand(NN,Disallowed));&lt;br /&gt;
         &lt;br /&gt;
         % Don&#039;t bother if none apply&lt;br /&gt;
         if length(NOk)&lt;br /&gt;
            &lt;br /&gt;
            Stats3Ind = Stats3Ind0(NOk);&lt;br /&gt;
            &lt;br /&gt;
            % Remove repeats (values are already sorted)&lt;br /&gt;
            for c=[1; 1+find(diff(Stats3Ind))]&#039;,&lt;br /&gt;
               &lt;br /&gt;
               NewStat = Stats3Ind(c);&lt;br /&gt;
               % To compare this new Statistic with current Pareto set, look up the &lt;br /&gt;
               % pre-calculated comparisons&lt;br /&gt;
               Mat = Beaters{NewStat};&lt;br /&gt;
               % Fetch the list of Pareto sets, to prevent repeated indexing&lt;br /&gt;
               PInd = ParetoInd{di};&lt;br /&gt;
               Comparison = Mat(PInd);&lt;br /&gt;
               &lt;br /&gt;
               if (all(Comparison&amp;gt;=0)),&lt;br /&gt;
                  % Then this is a new Pareto set&lt;br /&gt;
                  &lt;br /&gt;
                  % remove the dominated Pareto sets&lt;br /&gt;
                  Old = find(Comparison);&lt;br /&gt;
                  PInd(Old) = [];&lt;br /&gt;
                  % include the new Pareto set&lt;br /&gt;
                  PInd(end+1) = NewStat;&lt;br /&gt;
                  NPareto(di) = length(PInd);&lt;br /&gt;
                  % Put the updated Pareto list back in the cell array&lt;br /&gt;
                  ParetoInd{di} = PInd;&lt;br /&gt;
               end;%if Comparison&lt;br /&gt;
            end;%for c[1; 1+find(diff(Stats3Ind))]&lt;br /&gt;
         end;%if length(NOk)&lt;br /&gt;
      end;%for di&lt;br /&gt;
      %disp(num2str([floor(toc) a b Total Count(find(Count))]));&lt;br /&gt;
   end;%for b&lt;br /&gt;
   %disp(num2str([a NPareto]));&lt;br /&gt;
 end;% for a&lt;br /&gt;
 &lt;br /&gt;
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Convert from Pareto indexes to lists of Pareto statistics&lt;br /&gt;
 &lt;br /&gt;
 for di = 1:nd,&lt;br /&gt;
   [a,b,c,d] = ind2sub([9 13 7 2],ParetoInd{di}(1:NPareto(di)));&lt;br /&gt;
   ParetoCell{di} = [a;b;c;d]&#039;-1;&lt;br /&gt;
 end;&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1587</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1587"/>
		<updated>2009-06-07T17:20:59Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a/4+c/6 \leq 2;&lt;br /&gt;
 a/4 + d \leq 2;&lt;br /&gt;
 b/6+c/6 \leq 2;&lt;br /&gt;
 b/6+d \leq 2;&lt;br /&gt;
 c/3+d \leq 2;&lt;br /&gt;
 a/2+b/6+c/6 \leq 4;&lt;br /&gt;
 b/3+c/3+d \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,7,4,0) cannot be realized. Since there are 4 types of type c two must have the same c-statistics. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. There are at most two points of type b in both side slices for a maximum total of four. Thus there must be three points of this type in the center slice which means that it must have three of its corner points in the set. The only possible spots for points of type c in the central slice are the two spots adjacent to the missing corner point of the center slice. These must be filled as we have 4 points of type c and only two in the side slices. Without loss of generality say the missing corner point is (2,1,1) and the two adjacent points of type c are (2,2,1) and (2,1,2). Then of the pairs (3,1,3) and (1,1,3), (3,1,3) and (1,1,3), (1,3,1) and (3,3,1) the set can have only one point in each pair because the three corners in the center slice would form a line with any complete pair. Thus the set must have one of the two points (1,1,1) or (3,1,1). If it has (1,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 3. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. If it has (3,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 1. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. So we have exhausted all cases and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,0,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality we can say these points are (1,2,2) and (3,2,2). Slice along the first coordinate then the two side slices have their center points and hence have at most 2 points of type a each but we need five such points so have a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,7,5,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality let them be (1,2,2) and (3,2,2). Slice on the first coordinate. Then both side squares have their center points and hence must have at most two points of type a and three must be in the center slice. Also since only two of the points of type c are on the side slices three must be in the center slice. However if three of the points of type a are in the center slice they fill three of the four corners and block two of the points of type c. So there are at most two points of type c in the center slice but we must have three and so we have a contradiction and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Brute-force calculations for &amp;lt;math&amp;gt;[3]{}^4&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
An attempt was made to find extremal statistics for the four-dimensional case by brute force.  Since a simple routine would check 2^81 possibilities, which is infeasible, shortcuts would be needed.&lt;br /&gt;
&lt;br /&gt;
The outline of a suggested routine is as follows:  There are just over 3.8 million line-free subsets of [3]^3.  Since the cube has 3!2^3 = 48 symmetries, they fall into 83158 equivalence classes.  To consider all possibilities, it is enough to do the following:&lt;br /&gt;
&lt;br /&gt;
* Let the 1*** slice be a representative from one of the 83158 classes.&lt;br /&gt;
* Let the 3*** slice be one of the 3.8 million subsets.&lt;br /&gt;
* Identify which points in 2*** would not complete a vertical or sloping line from the 1*** slice to the 3*** slice.&lt;br /&gt;
* Go to a lookup table, and find the Pareto-optimal statistics of all line-free subsets of 2*** with the restriction from the previous step.  This lookup table would need 2^27 rows, or 2^27/48 if one made use of the cube&#039;s symmetries.&lt;br /&gt;
* Deduce a set of possible statistics for the combined **** cube.  Update the list of [3]^4 Pareto statistics&lt;br /&gt;
* Loop through the 83158 1*** slices and 3.8 million 3*** slices.&lt;br /&gt;
&lt;br /&gt;
A large part of this calculation is to build the lookup table.  The script given below, written in Matlab, is intended to carry it out.  An input, DVec, is a list of 27-bit numbers.  Each number represents one case of the forbidden 2*** points.  The output is ParetoCell, which lists the Pareto statistics for each DVec value.  A more compact form of the output is ParetoInd.&lt;br /&gt;
&lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 if ~exist(&#039;eee&#039;);&lt;br /&gt;
   &lt;br /&gt;
   % List of Disallowed 27-bit numbers&lt;br /&gt;
   if ~exist(&#039;DVec&#039;)&lt;br /&gt;
      DVec = 0;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % Find the 230 line-free subsets of [3]^2&lt;br /&gt;
   [a,b,c,d,e,f,g,h,k] = ndgrid(0:1);&lt;br /&gt;
   abcd = [a(:) b(:) c(:) d(:) e(:) f(:) g(:) h(:) k(:)];&lt;br /&gt;
   All512 = abcd;&lt;br /&gt;
   % Delete those with complete lines in them&lt;br /&gt;
   for n=512:-1:1,&lt;br /&gt;
      v=abcd(n,:);&lt;br /&gt;
      if any(all(v([1 2 3;4 5 6;7 8 9;1 4 7;2 5 8;3 6 9;1 5 9;3 5 7]),2)),&lt;br /&gt;
         abcd(n,:)=[];&lt;br /&gt;
      end;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   % Some numbers needed repeatedly, so precalculate them&lt;br /&gt;
   TwoEight = 2.^[0:8];&lt;br /&gt;
   Eight = abcd*TwoEight&#039;;&lt;br /&gt;
   TwoFourEight = 256*Eight;&lt;br /&gt;
   % Student Matlab won&#039;t allow 230x230 array, but will allow cell arrays&lt;br /&gt;
   Eights = cell(1,230);&lt;br /&gt;
   % 27-bit numbers built from first layer and third layer&lt;br /&gt;
   for n=1:230,Eights{n}=Eight(n)+65536*Eight;end;&lt;br /&gt;
   &lt;br /&gt;
   % find symmetry group of each one&lt;br /&gt;
   %for n=1:230,&lt;br /&gt;
   %v=reshape(abcd(n,:),3,3);&lt;br /&gt;
   %w=v&#039;;&lt;br /&gt;
   %x=flipud(v);&lt;br /&gt;
   %y=fliplr(v);&lt;br /&gt;
   %z=flipud(fliplr(v));&lt;br /&gt;
   %a=flipud(w);&lt;br /&gt;
   %b=fliplr(w);&lt;br /&gt;
   %c=flipud(fliplr(w));&lt;br /&gt;
   %e=[v(:) w(:) x(:) y(:) z(:) a(:) b(:) c(:)];&lt;br /&gt;
   %same(n) = sum(all(e==(v(:)*ones(1,8))));&lt;br /&gt;
   %end;&lt;br /&gt;
   &lt;br /&gt;
   % calculate the statistics for each line-free square&lt;br /&gt;
   for n=1:230,&lt;br /&gt;
      v=reshape(abcd(n,:),3,3);&lt;br /&gt;
      Stats2(n,:) = [sum(v([1 3 7 9])) sum(v([2 4 6 8])) v(5)];   &lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   % Convert the stats to a unique index&lt;br /&gt;
   Stats2Ind = Stats2*[1;9;9*13];&lt;br /&gt;
   % The centre-slice has a different statistic&lt;br /&gt;
   Stats2Shift = Stats2*[9;9*13;9*13*7];&lt;br /&gt;
 &lt;br /&gt;
   % count the restricted patterns&lt;br /&gt;
   for n=1:512,&lt;br /&gt;
      WithinCell{n} = find(all(abcd &amp;lt;= All512(n*ones(1,230),:),2));&lt;br /&gt;
      Within(n)     = length(WithinCell{n});&lt;br /&gt;
      % Sort them so that Stats2Shift is increasing;&lt;br /&gt;
      % will make it easier to ignore repetitions later&lt;br /&gt;
      [a,b] = sort(Stats2Shift(WithinCell{n}));&lt;br /&gt;
      WithinCell{n} = WithinCell{n}(b);&lt;br /&gt;
   end;&lt;br /&gt;
   Total = 0;Count = zeros(1,48);&lt;br /&gt;
   &lt;br /&gt;
   % Compare every Statistics for the cube with every other Statistics, &lt;br /&gt;
   % to see if one dominates the other - to keep track of Pareto maxima&lt;br /&gt;
   Beaters = cell(9,13,7,2);&lt;br /&gt;
   for a=1:9,for b=1:13,for c=1:7,for d=1:2,&lt;br /&gt;
               Beaters{a,b,c,d} = zeros(9,13,7,2);&lt;br /&gt;
               for e=1:9,&lt;br /&gt;
                  for f=1:13,&lt;br /&gt;
                     for g=1:7,&lt;br /&gt;
                        for h=1:2,&lt;br /&gt;
                           if all([a b c d]&amp;gt;=[e f g h]),&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=1;&lt;br /&gt;
                           elseif all([a b c d]&amp;lt;=[e f g h])&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=-1;&lt;br /&gt;
                           end;&lt;br /&gt;
                        end;end;end;end;&lt;br /&gt;
               Beaters{a,b,c,d}(a,b,c,d)=-1;&lt;br /&gt;
            end;end;end;end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % For each Layer1 and Layer3, precalculate which cells &lt;br /&gt;
   % are forbidden in Layer2&lt;br /&gt;
   for a=1:230,  &lt;br /&gt;
      % Convert square of 01s to 9-bit number&lt;br /&gt;
      Layer1 = abcd(a,:);&lt;br /&gt;
      Num1 = TwoEight*Layer1&#039;;&lt;br /&gt;
      % Some bits are needed for sloping lines&lt;br /&gt;
      X123 = bitand(Num1,7)*8;&lt;br /&gt;
      X789 = bitand(Num1,8*56)/8;&lt;br /&gt;
      X147 = bitand(Num1,73)*2;&lt;br /&gt;
      X369 = bitand(Num1,4*73)/2;&lt;br /&gt;
      &lt;br /&gt;
      for b=1:230,&lt;br /&gt;
         &lt;br /&gt;
         Layer3 = abcd(b,:);&lt;br /&gt;
         Num2 = TwoEight*Layer3&#039;;&lt;br /&gt;
         &lt;br /&gt;
         % Check for vertical lines&lt;br /&gt;
         Out = bitand(Num1,Num2);         &lt;br /&gt;
         &lt;br /&gt;
         % Set up for sloping lines&lt;br /&gt;
         Y123 = bitand(Num2,7);Y123=Y123*8;&lt;br /&gt;
         Y789 = bitand(Num2,448);Y789=Y789/8;&lt;br /&gt;
         Y147 = bitand(Num2,73);Y147=Y147*2;&lt;br /&gt;
         Y369 = bitand(Num2,292);Y369=Y369/2;&lt;br /&gt;
         &lt;br /&gt;
         % Check for sloping lines&lt;br /&gt;
         Out = bitor(Out,bitand(X123,Y789));&lt;br /&gt;
         Out = bitor(Out,bitand(X789,Y123));&lt;br /&gt;
         Out = bitor(Out,bitand(X147,Y369));&lt;br /&gt;
         Out = bitor(Out,bitand(X369,Y147));&lt;br /&gt;
         &lt;br /&gt;
         % Check for major diagonals, and bit 5&lt;br /&gt;
         v = 16*any(Layer1([1 3 7 9]) &amp;amp; Layer3([9 7 3 1]));&lt;br /&gt;
         Out = bitor(Out,v);&lt;br /&gt;
         &lt;br /&gt;
         NotOut = bitcmp(Out,9);&lt;br /&gt;
         % Index&lt;br /&gt;
         In=NotOut+1;&lt;br /&gt;
         &lt;br /&gt;
         % 9-bit number shows which bits are allowed&lt;br /&gt;
         Allowed{a}(b) = In;&lt;br /&gt;
         &lt;br /&gt;
      end;end;%for a,for b&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   eee = &#039;done&#039;;&lt;br /&gt;
 end;% if ~exist(&#039;eee&#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Set up enough memory to keep track of Pareto sets&lt;br /&gt;
 % These are the pareto-maxima of the second slice,&lt;br /&gt;
 % will be subject to the DISALLOWED restriction &lt;br /&gt;
 &lt;br /&gt;
 % Count of Disallowed 27-bit numbers&lt;br /&gt;
 nd = length(DVec);&lt;br /&gt;
 &lt;br /&gt;
 % List of Pareto-max Layer2s&lt;br /&gt;
 ParetoInd = cell(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 % Provide enough space&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1,230));&lt;br /&gt;
 &lt;br /&gt;
 % Initialize&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1));&lt;br /&gt;
 NPareto = ones(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 for a=1:230,&lt;br /&gt;
   &lt;br /&gt;
   InFirst = Allowed{a};&lt;br /&gt;
   NN0Vec = Eights{a};&lt;br /&gt;
   &lt;br /&gt;
   for b=1:230,   &lt;br /&gt;
      &lt;br /&gt;
      % Statistics of Layer1 and Layer3 put together&lt;br /&gt;
      Stats0Ind = Stats2Ind(a)+Stats2Ind(b)+1;&lt;br /&gt;
      &lt;br /&gt;
      % List of possible Layer2s&lt;br /&gt;
      Rvec0 = WithinCell{InFirst(b)};&lt;br /&gt;
      &lt;br /&gt;
      % Stats of all three Layers put together&lt;br /&gt;
      Stats3Ind0 = Stats0Ind+Stats2Shift(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number of Layer1 and Layer3&lt;br /&gt;
      NN0 = NN0Vec(b);&lt;br /&gt;
      &lt;br /&gt;
      % Pick which Disallowed are dead already&lt;br /&gt;
      DOk = find(~bitand( NN0, DVec));&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number including various possible Layer2s&lt;br /&gt;
      NN = NN0+TwoFourEight(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % Only the sequel changes for different DISALLOWEDS&lt;br /&gt;
      for di = DOk&lt;br /&gt;
         &lt;br /&gt;
         % Pick a 27-bit number of DISALLOWED bits&lt;br /&gt;
         Disallowed = DVec(di);&lt;br /&gt;
         &lt;br /&gt;
         % Which Layer2s give a cube entirely within allowed bits&lt;br /&gt;
         NOk = find(~bitand(NN,Disallowed));&lt;br /&gt;
         &lt;br /&gt;
         % Don&#039;t bother if none apply&lt;br /&gt;
         if length(NOk)&lt;br /&gt;
            &lt;br /&gt;
            Stats3Ind = Stats3Ind0(NOk);&lt;br /&gt;
            &lt;br /&gt;
            % Remove repeats (values are already sorted)&lt;br /&gt;
            for c=[1; 1+find(diff(Stats3Ind))]&#039;,&lt;br /&gt;
               &lt;br /&gt;
               NewStat = Stats3Ind(c);&lt;br /&gt;
               % To compare this new Statistic with current Pareto set, look up the &lt;br /&gt;
               % pre-calculated comparisons&lt;br /&gt;
               Mat = Beaters{NewStat};&lt;br /&gt;
               % Fetch the list of Pareto sets, to prevent repeated indexing&lt;br /&gt;
               PInd = ParetoInd{di};&lt;br /&gt;
               Comparison = Mat(PInd);&lt;br /&gt;
               &lt;br /&gt;
               if (all(Comparison&amp;gt;=0)),&lt;br /&gt;
                  % Then this is a new Pareto set&lt;br /&gt;
                  &lt;br /&gt;
                  % remove the dominated Pareto sets&lt;br /&gt;
                  Old = find(Comparison);&lt;br /&gt;
                  PInd(Old) = [];&lt;br /&gt;
                  % include the new Pareto set&lt;br /&gt;
                  PInd(end+1) = NewStat;&lt;br /&gt;
                  NPareto(di) = length(PInd);&lt;br /&gt;
                  % Put the updated Pareto list back in the cell array&lt;br /&gt;
                  ParetoInd{di} = PInd;&lt;br /&gt;
               end;%if Comparison&lt;br /&gt;
            end;%for c[1; 1+find(diff(Stats3Ind))]&lt;br /&gt;
         end;%if length(NOk)&lt;br /&gt;
      end;%for di&lt;br /&gt;
      %disp(num2str([floor(toc) a b Total Count(find(Count))]));&lt;br /&gt;
   end;%for b&lt;br /&gt;
   %disp(num2str([a NPareto]));&lt;br /&gt;
 end;% for a&lt;br /&gt;
 &lt;br /&gt;
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Convert from Pareto indexes to lists of Pareto statistics&lt;br /&gt;
 &lt;br /&gt;
 for di = 1:nd,&lt;br /&gt;
   [a,b,c,d] = ind2sub([9 13 7 2],ParetoInd{di}(1:NPareto(di)));&lt;br /&gt;
   ParetoCell{di} = [a;b;c;d]&#039;-1;&lt;br /&gt;
 end;&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1586</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1586"/>
		<updated>2009-06-07T17:13:58Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a/4+c/6 \leq 2;&lt;br /&gt;
 a/4 + d \leq 2;&lt;br /&gt;
 b/6+c/6 \leq 2;&lt;br /&gt;
 b/6+d \leq 2;&lt;br /&gt;
 c/3+d \leq 2;&lt;br /&gt;
 a/2+b/6+c/6 \leq 4;&lt;br /&gt;
 b/3+c/3+d \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,7,4,0) cannot be realized. Since there are 4 types of type c two must have the same c-statistics. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. There are at most two points of type b in both side slices for a maximum total of four. Thus there must be three points of this type in the center slice which means that it must have three of its corner points in the set. The only possible spots for points of type c in the central slice are the two spots adjacent to the missing corner point of the center slice. These must be filled as we have 4 points of type c and only two in the side slices. Without loss of generality say the missing corner point is (2,1,1) and the two adjacent points of type c are (2,2,1) and (2,1,2). Then of the pairs (3,1,3) and (1,1,3), (3,1,3) and (1,1,3), (1,3,1) and (3,3,1) the set can have only one point in each pair because the three corners in the center slice would form a line with any complete pair. Thus the set must have one of the two points (1,1,1) or (3,1,1). If it has (1,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 3. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. If it has (3,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 1. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. So we have exhausted all cases and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,0,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality we can say these points are (1,2,2) and (3,2,2). Slice along the first coordinate then the two side slices have their center points and hence have at most 2 points of type a each but we need five such points so have a contradiction and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Brute-force calculations for &amp;lt;math&amp;gt;[3]{}^4&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
An attempt was made to find extremal statistics for the four-dimensional case by brute force.  Since a simple routine would check 2^81 possibilities, which is infeasible, shortcuts would be needed.&lt;br /&gt;
&lt;br /&gt;
The outline of a suggested routine is as follows:  There are just over 3.8 million line-free subsets of [3]^3.  Since the cube has 3!2^3 = 48 symmetries, they fall into 83158 equivalence classes.  To consider all possibilities, it is enough to do the following:&lt;br /&gt;
&lt;br /&gt;
* Let the 1*** slice be a representative from one of the 83158 classes.&lt;br /&gt;
* Let the 3*** slice be one of the 3.8 million subsets.&lt;br /&gt;
* Identify which points in 2*** would not complete a vertical or sloping line from the 1*** slice to the 3*** slice.&lt;br /&gt;
* Go to a lookup table, and find the Pareto-optimal statistics of all line-free subsets of 2*** with the restriction from the previous step.  This lookup table would need 2^27 rows, or 2^27/48 if one made use of the cube&#039;s symmetries.&lt;br /&gt;
* Deduce a set of possible statistics for the combined **** cube.  Update the list of [3]^4 Pareto statistics&lt;br /&gt;
* Loop through the 83158 1*** slices and 3.8 million 3*** slices.&lt;br /&gt;
&lt;br /&gt;
A large part of this calculation is to build the lookup table.  The script given below, written in Matlab, is intended to carry it out.  An input, DVec, is a list of 27-bit numbers.  Each number represents one case of the forbidden 2*** points.  The output is ParetoCell, which lists the Pareto statistics for each DVec value.  A more compact form of the output is ParetoInd.&lt;br /&gt;
&lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 if ~exist(&#039;eee&#039;);&lt;br /&gt;
   &lt;br /&gt;
   % List of Disallowed 27-bit numbers&lt;br /&gt;
   if ~exist(&#039;DVec&#039;)&lt;br /&gt;
      DVec = 0;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % Find the 230 line-free subsets of [3]^2&lt;br /&gt;
   [a,b,c,d,e,f,g,h,k] = ndgrid(0:1);&lt;br /&gt;
   abcd = [a(:) b(:) c(:) d(:) e(:) f(:) g(:) h(:) k(:)];&lt;br /&gt;
   All512 = abcd;&lt;br /&gt;
   % Delete those with complete lines in them&lt;br /&gt;
   for n=512:-1:1,&lt;br /&gt;
      v=abcd(n,:);&lt;br /&gt;
      if any(all(v([1 2 3;4 5 6;7 8 9;1 4 7;2 5 8;3 6 9;1 5 9;3 5 7]),2)),&lt;br /&gt;
         abcd(n,:)=[];&lt;br /&gt;
      end;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   % Some numbers needed repeatedly, so precalculate them&lt;br /&gt;
   TwoEight = 2.^[0:8];&lt;br /&gt;
   Eight = abcd*TwoEight&#039;;&lt;br /&gt;
   TwoFourEight = 256*Eight;&lt;br /&gt;
   % Student Matlab won&#039;t allow 230x230 array, but will allow cell arrays&lt;br /&gt;
   Eights = cell(1,230);&lt;br /&gt;
   % 27-bit numbers built from first layer and third layer&lt;br /&gt;
   for n=1:230,Eights{n}=Eight(n)+65536*Eight;end;&lt;br /&gt;
   &lt;br /&gt;
   % find symmetry group of each one&lt;br /&gt;
   %for n=1:230,&lt;br /&gt;
   %v=reshape(abcd(n,:),3,3);&lt;br /&gt;
   %w=v&#039;;&lt;br /&gt;
   %x=flipud(v);&lt;br /&gt;
   %y=fliplr(v);&lt;br /&gt;
   %z=flipud(fliplr(v));&lt;br /&gt;
   %a=flipud(w);&lt;br /&gt;
   %b=fliplr(w);&lt;br /&gt;
   %c=flipud(fliplr(w));&lt;br /&gt;
   %e=[v(:) w(:) x(:) y(:) z(:) a(:) b(:) c(:)];&lt;br /&gt;
   %same(n) = sum(all(e==(v(:)*ones(1,8))));&lt;br /&gt;
   %end;&lt;br /&gt;
   &lt;br /&gt;
   % calculate the statistics for each line-free square&lt;br /&gt;
   for n=1:230,&lt;br /&gt;
      v=reshape(abcd(n,:),3,3);&lt;br /&gt;
      Stats2(n,:) = [sum(v([1 3 7 9])) sum(v([2 4 6 8])) v(5)];   &lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   % Convert the stats to a unique index&lt;br /&gt;
   Stats2Ind = Stats2*[1;9;9*13];&lt;br /&gt;
   % The centre-slice has a different statistic&lt;br /&gt;
   Stats2Shift = Stats2*[9;9*13;9*13*7];&lt;br /&gt;
 &lt;br /&gt;
   % count the restricted patterns&lt;br /&gt;
   for n=1:512,&lt;br /&gt;
      WithinCell{n} = find(all(abcd &amp;lt;= All512(n*ones(1,230),:),2));&lt;br /&gt;
      Within(n)     = length(WithinCell{n});&lt;br /&gt;
      % Sort them so that Stats2Shift is increasing;&lt;br /&gt;
      % will make it easier to ignore repetitions later&lt;br /&gt;
      [a,b] = sort(Stats2Shift(WithinCell{n}));&lt;br /&gt;
      WithinCell{n} = WithinCell{n}(b);&lt;br /&gt;
   end;&lt;br /&gt;
   Total = 0;Count = zeros(1,48);&lt;br /&gt;
   &lt;br /&gt;
   % Compare every Statistics for the cube with every other Statistics, &lt;br /&gt;
   % to see if one dominates the other - to keep track of Pareto maxima&lt;br /&gt;
   Beaters = cell(9,13,7,2);&lt;br /&gt;
   for a=1:9,for b=1:13,for c=1:7,for d=1:2,&lt;br /&gt;
               Beaters{a,b,c,d} = zeros(9,13,7,2);&lt;br /&gt;
               for e=1:9,&lt;br /&gt;
                  for f=1:13,&lt;br /&gt;
                     for g=1:7,&lt;br /&gt;
                        for h=1:2,&lt;br /&gt;
                           if all([a b c d]&amp;gt;=[e f g h]),&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=1;&lt;br /&gt;
                           elseif all([a b c d]&amp;lt;=[e f g h])&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=-1;&lt;br /&gt;
                           end;&lt;br /&gt;
                        end;end;end;end;&lt;br /&gt;
               Beaters{a,b,c,d}(a,b,c,d)=-1;&lt;br /&gt;
            end;end;end;end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % For each Layer1 and Layer3, precalculate which cells &lt;br /&gt;
   % are forbidden in Layer2&lt;br /&gt;
   for a=1:230,  &lt;br /&gt;
      % Convert square of 01s to 9-bit number&lt;br /&gt;
      Layer1 = abcd(a,:);&lt;br /&gt;
      Num1 = TwoEight*Layer1&#039;;&lt;br /&gt;
      % Some bits are needed for sloping lines&lt;br /&gt;
      X123 = bitand(Num1,7)*8;&lt;br /&gt;
      X789 = bitand(Num1,8*56)/8;&lt;br /&gt;
      X147 = bitand(Num1,73)*2;&lt;br /&gt;
      X369 = bitand(Num1,4*73)/2;&lt;br /&gt;
      &lt;br /&gt;
      for b=1:230,&lt;br /&gt;
         &lt;br /&gt;
         Layer3 = abcd(b,:);&lt;br /&gt;
         Num2 = TwoEight*Layer3&#039;;&lt;br /&gt;
         &lt;br /&gt;
         % Check for vertical lines&lt;br /&gt;
         Out = bitand(Num1,Num2);         &lt;br /&gt;
         &lt;br /&gt;
         % Set up for sloping lines&lt;br /&gt;
         Y123 = bitand(Num2,7);Y123=Y123*8;&lt;br /&gt;
         Y789 = bitand(Num2,448);Y789=Y789/8;&lt;br /&gt;
         Y147 = bitand(Num2,73);Y147=Y147*2;&lt;br /&gt;
         Y369 = bitand(Num2,292);Y369=Y369/2;&lt;br /&gt;
         &lt;br /&gt;
         % Check for sloping lines&lt;br /&gt;
         Out = bitor(Out,bitand(X123,Y789));&lt;br /&gt;
         Out = bitor(Out,bitand(X789,Y123));&lt;br /&gt;
         Out = bitor(Out,bitand(X147,Y369));&lt;br /&gt;
         Out = bitor(Out,bitand(X369,Y147));&lt;br /&gt;
         &lt;br /&gt;
         % Check for major diagonals, and bit 5&lt;br /&gt;
         v = 16*any(Layer1([1 3 7 9]) &amp;amp; Layer3([9 7 3 1]));&lt;br /&gt;
         Out = bitor(Out,v);&lt;br /&gt;
         &lt;br /&gt;
         NotOut = bitcmp(Out,9);&lt;br /&gt;
         % Index&lt;br /&gt;
         In=NotOut+1;&lt;br /&gt;
         &lt;br /&gt;
         % 9-bit number shows which bits are allowed&lt;br /&gt;
         Allowed{a}(b) = In;&lt;br /&gt;
         &lt;br /&gt;
      end;end;%for a,for b&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   eee = &#039;done&#039;;&lt;br /&gt;
 end;% if ~exist(&#039;eee&#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Set up enough memory to keep track of Pareto sets&lt;br /&gt;
 % These are the pareto-maxima of the second slice,&lt;br /&gt;
 % will be subject to the DISALLOWED restriction &lt;br /&gt;
 &lt;br /&gt;
 % Count of Disallowed 27-bit numbers&lt;br /&gt;
 nd = length(DVec);&lt;br /&gt;
 &lt;br /&gt;
 % List of Pareto-max Layer2s&lt;br /&gt;
 ParetoInd = cell(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 % Provide enough space&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1,230));&lt;br /&gt;
 &lt;br /&gt;
 % Initialize&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1));&lt;br /&gt;
 NPareto = ones(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 for a=1:230,&lt;br /&gt;
   &lt;br /&gt;
   InFirst = Allowed{a};&lt;br /&gt;
   NN0Vec = Eights{a};&lt;br /&gt;
   &lt;br /&gt;
   for b=1:230,   &lt;br /&gt;
      &lt;br /&gt;
      % Statistics of Layer1 and Layer3 put together&lt;br /&gt;
      Stats0Ind = Stats2Ind(a)+Stats2Ind(b)+1;&lt;br /&gt;
      &lt;br /&gt;
      % List of possible Layer2s&lt;br /&gt;
      Rvec0 = WithinCell{InFirst(b)};&lt;br /&gt;
      &lt;br /&gt;
      % Stats of all three Layers put together&lt;br /&gt;
      Stats3Ind0 = Stats0Ind+Stats2Shift(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number of Layer1 and Layer3&lt;br /&gt;
      NN0 = NN0Vec(b);&lt;br /&gt;
      &lt;br /&gt;
      % Pick which Disallowed are dead already&lt;br /&gt;
      DOk = find(~bitand( NN0, DVec));&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number including various possible Layer2s&lt;br /&gt;
      NN = NN0+TwoFourEight(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % Only the sequel changes for different DISALLOWEDS&lt;br /&gt;
      for di = DOk&lt;br /&gt;
         &lt;br /&gt;
         % Pick a 27-bit number of DISALLOWED bits&lt;br /&gt;
         Disallowed = DVec(di);&lt;br /&gt;
         &lt;br /&gt;
         % Which Layer2s give a cube entirely within allowed bits&lt;br /&gt;
         NOk = find(~bitand(NN,Disallowed));&lt;br /&gt;
         &lt;br /&gt;
         % Don&#039;t bother if none apply&lt;br /&gt;
         if length(NOk)&lt;br /&gt;
            &lt;br /&gt;
            Stats3Ind = Stats3Ind0(NOk);&lt;br /&gt;
            &lt;br /&gt;
            % Remove repeats (values are already sorted)&lt;br /&gt;
            for c=[1; 1+find(diff(Stats3Ind))]&#039;,&lt;br /&gt;
               &lt;br /&gt;
               NewStat = Stats3Ind(c);&lt;br /&gt;
               % To compare this new Statistic with current Pareto set, look up the &lt;br /&gt;
               % pre-calculated comparisons&lt;br /&gt;
               Mat = Beaters{NewStat};&lt;br /&gt;
               % Fetch the list of Pareto sets, to prevent repeated indexing&lt;br /&gt;
               PInd = ParetoInd{di};&lt;br /&gt;
               Comparison = Mat(PInd);&lt;br /&gt;
               &lt;br /&gt;
               if (all(Comparison&amp;gt;=0)),&lt;br /&gt;
                  % Then this is a new Pareto set&lt;br /&gt;
                  &lt;br /&gt;
                  % remove the dominated Pareto sets&lt;br /&gt;
                  Old = find(Comparison);&lt;br /&gt;
                  PInd(Old) = [];&lt;br /&gt;
                  % include the new Pareto set&lt;br /&gt;
                  PInd(end+1) = NewStat;&lt;br /&gt;
                  NPareto(di) = length(PInd);&lt;br /&gt;
                  % Put the updated Pareto list back in the cell array&lt;br /&gt;
                  ParetoInd{di} = PInd;&lt;br /&gt;
               end;%if Comparison&lt;br /&gt;
            end;%for c[1; 1+find(diff(Stats3Ind))]&lt;br /&gt;
         end;%if length(NOk)&lt;br /&gt;
      end;%for di&lt;br /&gt;
      %disp(num2str([floor(toc) a b Total Count(find(Count))]));&lt;br /&gt;
   end;%for b&lt;br /&gt;
   %disp(num2str([a NPareto]));&lt;br /&gt;
 end;% for a&lt;br /&gt;
 &lt;br /&gt;
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Convert from Pareto indexes to lists of Pareto statistics&lt;br /&gt;
 &lt;br /&gt;
 for di = 1:nd,&lt;br /&gt;
   [a,b,c,d] = ind2sub([9 13 7 2],ParetoInd{di}(1:NPareto(di)));&lt;br /&gt;
   ParetoCell{di} = [a;b;c;d]&#039;-1;&lt;br /&gt;
 end;&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1584</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1584"/>
		<updated>2009-06-07T16:56:38Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;a/4+c/6 \leq 2;&lt;br /&gt;
 a/4 + d \leq 2;&lt;br /&gt;
 b/6+c/6 \leq 2;&lt;br /&gt;
 b/6+d \leq 2;&lt;br /&gt;
 c/3+d \leq 2;&lt;br /&gt;
 a/2+b/6+c/6 \leq 4;&lt;br /&gt;
 b/3+c/3+d \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,7,4,0) cannot be realized. Since there are 4 types of type c two must have the same c-statistics. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. There are at most two points of type b in both side slices for a maximum total of four. Thus there must be three points of this type in the center slice which means that it must have three of its corner points in the set. The only possible spots for points of type c in the central slice are the two spots adjacent to the missing corner point of the center slice. These must be filled as we have 4 points of type c and only two in the side slices. Without loss of generality say the missing corner point is (2,1,1) and the two adjacent points of type c are (2,2,1) and (2,1,2). Then of the pairs (3,1,3) and (1,1,3), (3,1,3) and (1,1,3), (1,3,1) and (3,3,1) the set can have only one point in each pair because the three corners in the center slice would form a line with any complete pair. Thus the set must have one of the two points (1,1,1) or (3,1,1). If it has (1,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 3. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. If it has (3,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 1. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. So we have exhausted all cases and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Brute-force calculations for &amp;lt;math&amp;gt;[3]{}^4&amp;lt;/math&amp;gt; ==&lt;br /&gt;
&lt;br /&gt;
An attempt was made to find extremal statistics for the four-dimensional case by brute force.  Since a simple routine would check 2^81 possibilities, which is infeasible, shortcuts would be needed.&lt;br /&gt;
&lt;br /&gt;
The outline of a suggested routine is as follows:  There are just over 3.8 million line-free subsets of [3]^3.  Since the cube has 3!2^3 = 48 symmetries, they fall into 83158 equivalence classes.  To consider all possibilities, it is enough to do the following:&lt;br /&gt;
&lt;br /&gt;
* Let the 1*** slice be a representative from one of the 83158 classes.&lt;br /&gt;
* Let the 3*** slice be one of the 3.8 million subsets.&lt;br /&gt;
* Identify which points in 2*** would not complete a vertical or sloping line from the 1*** slice to the 3*** slice.&lt;br /&gt;
* Go to a lookup table, and find the Pareto-optimal statistics of all line-free subsets of 2*** with the restriction from the previous step.  This lookup table would need 2^27 rows, or 2^27/48 if one made use of the cube&#039;s symmetries.&lt;br /&gt;
* Deduce a set of possible statistics for the combined **** cube.  Update the list of [3]^4 Pareto statistics&lt;br /&gt;
* Loop through the 83158 1*** slices and 3.8 million 3*** slices.&lt;br /&gt;
&lt;br /&gt;
A large part of this calculation is to build the lookup table.  The script given below, written in Matlab, is intended to carry it out.  An input, DVec, is a list of 27-bit numbers.  Each number represents one case of the forbidden 2*** points.  The output is ParetoCell, which lists the Pareto statistics for each DVec value.  A more compact form of the output is ParetoInd.&lt;br /&gt;
&lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 if ~exist(&#039;eee&#039;);&lt;br /&gt;
   &lt;br /&gt;
   % List of Disallowed 27-bit numbers&lt;br /&gt;
   if ~exist(&#039;DVec&#039;)&lt;br /&gt;
      DVec = 0;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % Find the 230 line-free subsets of [3]^2&lt;br /&gt;
   [a,b,c,d,e,f,g,h,k] = ndgrid(0:1);&lt;br /&gt;
   abcd = [a(:) b(:) c(:) d(:) e(:) f(:) g(:) h(:) k(:)];&lt;br /&gt;
   All512 = abcd;&lt;br /&gt;
   % Delete those with complete lines in them&lt;br /&gt;
   for n=512:-1:1,&lt;br /&gt;
      v=abcd(n,:);&lt;br /&gt;
      if any(all(v([1 2 3;4 5 6;7 8 9;1 4 7;2 5 8;3 6 9;1 5 9;3 5 7]),2)),&lt;br /&gt;
         abcd(n,:)=[];&lt;br /&gt;
      end;&lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   % Some numbers needed repeatedly, so precalculate them&lt;br /&gt;
   TwoEight = 2.^[0:8];&lt;br /&gt;
   Eight = abcd*TwoEight&#039;;&lt;br /&gt;
   TwoFourEight = 256*Eight;&lt;br /&gt;
   % Student Matlab won&#039;t allow 230x230 array, but will allow cell arrays&lt;br /&gt;
   Eights = cell(1,230);&lt;br /&gt;
   % 27-bit numbers built from first layer and third layer&lt;br /&gt;
   for n=1:230,Eights{n}=Eight(n)+65536*Eight;end;&lt;br /&gt;
   &lt;br /&gt;
   % find symmetry group of each one&lt;br /&gt;
   %for n=1:230,&lt;br /&gt;
   %v=reshape(abcd(n,:),3,3);&lt;br /&gt;
   %w=v&#039;;&lt;br /&gt;
   %x=flipud(v);&lt;br /&gt;
   %y=fliplr(v);&lt;br /&gt;
   %z=flipud(fliplr(v));&lt;br /&gt;
   %a=flipud(w);&lt;br /&gt;
   %b=fliplr(w);&lt;br /&gt;
   %c=flipud(fliplr(w));&lt;br /&gt;
   %e=[v(:) w(:) x(:) y(:) z(:) a(:) b(:) c(:)];&lt;br /&gt;
   %same(n) = sum(all(e==(v(:)*ones(1,8))));&lt;br /&gt;
   %end;&lt;br /&gt;
   &lt;br /&gt;
   % calculate the statistics for each line-free square&lt;br /&gt;
   for n=1:230,&lt;br /&gt;
      v=reshape(abcd(n,:),3,3);&lt;br /&gt;
      Stats2(n,:) = [sum(v([1 3 7 9])) sum(v([2 4 6 8])) v(5)];   &lt;br /&gt;
   end;&lt;br /&gt;
   &lt;br /&gt;
   % Convert the stats to a unique index&lt;br /&gt;
   Stats2Ind = Stats2*[1;9;9*13];&lt;br /&gt;
   % The centre-slice has a different statistic&lt;br /&gt;
   Stats2Shift = Stats2*[9;9*13;9*13*7];&lt;br /&gt;
 &lt;br /&gt;
   % count the restricted patterns&lt;br /&gt;
   for n=1:512,&lt;br /&gt;
      WithinCell{n} = find(all(abcd &amp;lt;= All512(n*ones(1,230),:),2));&lt;br /&gt;
      Within(n)     = length(WithinCell{n});&lt;br /&gt;
      % Sort them so that Stats2Shift is increasing;&lt;br /&gt;
      % will make it easier to ignore repetitions later&lt;br /&gt;
      [a,b] = sort(Stats2Shift(WithinCell{n}));&lt;br /&gt;
      WithinCell{n} = WithinCell{n}(b);&lt;br /&gt;
   end;&lt;br /&gt;
   Total = 0;Count = zeros(1,48);&lt;br /&gt;
   &lt;br /&gt;
   % Compare every Statistics for the cube with every other Statistics, &lt;br /&gt;
   % to see if one dominates the other - to keep track of Pareto maxima&lt;br /&gt;
   Beaters = cell(9,13,7,2);&lt;br /&gt;
   for a=1:9,for b=1:13,for c=1:7,for d=1:2,&lt;br /&gt;
               Beaters{a,b,c,d} = zeros(9,13,7,2);&lt;br /&gt;
               for e=1:9,&lt;br /&gt;
                  for f=1:13,&lt;br /&gt;
                     for g=1:7,&lt;br /&gt;
                        for h=1:2,&lt;br /&gt;
                           if all([a b c d]&amp;gt;=[e f g h]),&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=1;&lt;br /&gt;
                           elseif all([a b c d]&amp;lt;=[e f g h])&lt;br /&gt;
                              Beaters{a,b,c,d}(e,f,g,h)=-1;&lt;br /&gt;
                           end;&lt;br /&gt;
                        end;end;end;end;&lt;br /&gt;
               Beaters{a,b,c,d}(a,b,c,d)=-1;&lt;br /&gt;
            end;end;end;end;&lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   &lt;br /&gt;
   % For each Layer1 and Layer3, precalculate which cells &lt;br /&gt;
   % are forbidden in Layer2&lt;br /&gt;
   for a=1:230,  &lt;br /&gt;
      % Convert square of 01s to 9-bit number&lt;br /&gt;
      Layer1 = abcd(a,:);&lt;br /&gt;
      Num1 = TwoEight*Layer1&#039;;&lt;br /&gt;
      % Some bits are needed for sloping lines&lt;br /&gt;
      X123 = bitand(Num1,7)*8;&lt;br /&gt;
      X789 = bitand(Num1,8*56)/8;&lt;br /&gt;
      X147 = bitand(Num1,73)*2;&lt;br /&gt;
      X369 = bitand(Num1,4*73)/2;&lt;br /&gt;
      &lt;br /&gt;
      for b=1:230,&lt;br /&gt;
         &lt;br /&gt;
         Layer3 = abcd(b,:);&lt;br /&gt;
         Num2 = TwoEight*Layer3&#039;;&lt;br /&gt;
         &lt;br /&gt;
         % Check for vertical lines&lt;br /&gt;
         Out = bitand(Num1,Num2);         &lt;br /&gt;
         &lt;br /&gt;
         % Set up for sloping lines&lt;br /&gt;
         Y123 = bitand(Num2,7);Y123=Y123*8;&lt;br /&gt;
         Y789 = bitand(Num2,448);Y789=Y789/8;&lt;br /&gt;
         Y147 = bitand(Num2,73);Y147=Y147*2;&lt;br /&gt;
         Y369 = bitand(Num2,292);Y369=Y369/2;&lt;br /&gt;
         &lt;br /&gt;
         % Check for sloping lines&lt;br /&gt;
         Out = bitor(Out,bitand(X123,Y789));&lt;br /&gt;
         Out = bitor(Out,bitand(X789,Y123));&lt;br /&gt;
         Out = bitor(Out,bitand(X147,Y369));&lt;br /&gt;
         Out = bitor(Out,bitand(X369,Y147));&lt;br /&gt;
         &lt;br /&gt;
         % Check for major diagonals, and bit 5&lt;br /&gt;
         v = 16*any(Layer1([1 3 7 9]) &amp;amp; Layer3([9 7 3 1]));&lt;br /&gt;
         Out = bitor(Out,v);&lt;br /&gt;
         &lt;br /&gt;
         NotOut = bitcmp(Out,9);&lt;br /&gt;
         % Index&lt;br /&gt;
         In=NotOut+1;&lt;br /&gt;
         &lt;br /&gt;
         % 9-bit number shows which bits are allowed&lt;br /&gt;
         Allowed{a}(b) = In;&lt;br /&gt;
         &lt;br /&gt;
      end;end;%for a,for b&lt;br /&gt;
   &lt;br /&gt;
   &lt;br /&gt;
   %%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
   eee = &#039;done&#039;;&lt;br /&gt;
 end;% if ~exist(&#039;eee&#039;);&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Set up enough memory to keep track of Pareto sets&lt;br /&gt;
 % These are the pareto-maxima of the second slice,&lt;br /&gt;
 % will be subject to the DISALLOWED restriction &lt;br /&gt;
 &lt;br /&gt;
 % Count of Disallowed 27-bit numbers&lt;br /&gt;
 nd = length(DVec);&lt;br /&gt;
 &lt;br /&gt;
 % List of Pareto-max Layer2s&lt;br /&gt;
 ParetoInd = cell(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 % Provide enough space&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1,230));&lt;br /&gt;
 &lt;br /&gt;
 % Initialize&lt;br /&gt;
 [ParetoInd{:}] = deal(ones(1));&lt;br /&gt;
 NPareto = ones(1,nd);&lt;br /&gt;
 &lt;br /&gt;
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 % DATE : 6 June, 2009&lt;br /&gt;
 % AUTHOR : Michael Peake&lt;br /&gt;
 % PROJECT : Polymath1&lt;br /&gt;
 % Lookup table &lt;br /&gt;
 % There is assumed a vector of 27-bit DISALLOWED numbers in DVEC&lt;br /&gt;
 % Its output is PARETOCELL which lists the Pareto statistics &lt;br /&gt;
 % for each DISALLOWED number&lt;br /&gt;
 for a=1:230,&lt;br /&gt;
   &lt;br /&gt;
   InFirst = Allowed{a};&lt;br /&gt;
   NN0Vec = Eights{a};&lt;br /&gt;
   &lt;br /&gt;
   for b=1:230,   &lt;br /&gt;
      &lt;br /&gt;
      % Statistics of Layer1 and Layer3 put together&lt;br /&gt;
      Stats0Ind = Stats2Ind(a)+Stats2Ind(b)+1;&lt;br /&gt;
      &lt;br /&gt;
      % List of possible Layer2s&lt;br /&gt;
      Rvec0 = WithinCell{InFirst(b)};&lt;br /&gt;
      &lt;br /&gt;
      % Stats of all three Layers put together&lt;br /&gt;
      Stats3Ind0 = Stats0Ind+Stats2Shift(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number of Layer1 and Layer3&lt;br /&gt;
      NN0 = NN0Vec(b);&lt;br /&gt;
      &lt;br /&gt;
      % Pick which Disallowed are dead already&lt;br /&gt;
      DOk = find(~bitand( NN0, DVec));&lt;br /&gt;
      &lt;br /&gt;
      % 27-bit number including various possible Layer2s&lt;br /&gt;
      NN = NN0+TwoFourEight(Rvec0);&lt;br /&gt;
      &lt;br /&gt;
      % Only the sequel changes for different DISALLOWEDS&lt;br /&gt;
      for di = DOk&lt;br /&gt;
         &lt;br /&gt;
         % Pick a 27-bit number of DISALLOWED bits&lt;br /&gt;
         Disallowed = DVec(di);&lt;br /&gt;
         &lt;br /&gt;
         % Which Layer2s give a cube entirely within allowed bits&lt;br /&gt;
         NOk = find(~bitand(NN,Disallowed));&lt;br /&gt;
         &lt;br /&gt;
         % Don&#039;t bother if none apply&lt;br /&gt;
         if length(NOk)&lt;br /&gt;
            &lt;br /&gt;
            Stats3Ind = Stats3Ind0(NOk);&lt;br /&gt;
            &lt;br /&gt;
            % Remove repeats (values are already sorted)&lt;br /&gt;
            for c=[1; 1+find(diff(Stats3Ind))]&#039;,&lt;br /&gt;
               &lt;br /&gt;
               NewStat = Stats3Ind(c);&lt;br /&gt;
               % To compare this new Statistic with current Pareto set, look up the &lt;br /&gt;
               % pre-calculated comparisons&lt;br /&gt;
               Mat = Beaters{NewStat};&lt;br /&gt;
               % Fetch the list of Pareto sets, to prevent repeated indexing&lt;br /&gt;
               PInd = ParetoInd{di};&lt;br /&gt;
               Comparison = Mat(PInd);&lt;br /&gt;
               &lt;br /&gt;
               if (all(Comparison&amp;gt;=0)),&lt;br /&gt;
                  % Then this is a new Pareto set&lt;br /&gt;
                  &lt;br /&gt;
                  % remove the dominated Pareto sets&lt;br /&gt;
                  Old = find(Comparison);&lt;br /&gt;
                  PInd(Old) = [];&lt;br /&gt;
                  % include the new Pareto set&lt;br /&gt;
                  PInd(end+1) = NewStat;&lt;br /&gt;
                  NPareto(di) = length(PInd);&lt;br /&gt;
                  % Put the updated Pareto list back in the cell array&lt;br /&gt;
                  ParetoInd{di} = PInd;&lt;br /&gt;
               end;%if Comparison&lt;br /&gt;
            end;%for c[1; 1+find(diff(Stats3Ind))]&lt;br /&gt;
         end;%if length(NOk)&lt;br /&gt;
      end;%for di&lt;br /&gt;
      %disp(num2str([floor(toc) a b Total Count(find(Count))]));&lt;br /&gt;
   end;%for b&lt;br /&gt;
   %disp(num2str([a NPareto]));&lt;br /&gt;
 end;% for a&lt;br /&gt;
 &lt;br /&gt;
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%&lt;br /&gt;
 &lt;br /&gt;
 % Convert from Pareto indexes to lists of Pareto statistics&lt;br /&gt;
 &lt;br /&gt;
 for di = 1:nd,&lt;br /&gt;
   [a,b,c,d] = ind2sub([9 13 7 2],ParetoInd{di}(1:NPareto(di)));&lt;br /&gt;
   ParetoCell{di} = [a;b;c;d]&#039;-1;&lt;br /&gt;
 end;&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1580</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1580"/>
		<updated>2009-06-06T21:30:59Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (4,7,4,0) cannot be realized. Since there are 4 types of type c two must have the same c-statistics. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. There are at most two points of type b in both side slices for a maximum total of four. Thus there must be three points of this type in the center slice which means that it must have three of its corner points in the set. The only possible spots for points of type c in the central slice are the two spots adjacent to the missing corner point of the center slice. These must be filled as we have 4 points of type c and only two in the side slices. Without loss of generality say the missing corner point is (2,1,1) and the two adjacent points of type c are (2,2,1) and (2,1,2). Then of the pairs (3,1,3) and (1,1,3), (3,1,3) and (1,1,3), (1,3,1) and (3,3,1) the set can have only one point in each pair because the three corners in the center slice would form a line with any complete pair. Thus the set must have one of the two points (1,1,1) or (3,1,1). If it has (1,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 3. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. If it has (3,1,1) with (2,2,1) and (2,1,2) it would block all the points of type a in a diagonal in the square with first coordinate equal to 1. But that would force points of type a in that square to a diagonal  and limit there number to one limiting the total number of such points in the set to three giving a contradiction. So we have exhausted all cases and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1579</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1579"/>
		<updated>2009-06-06T21:12:40Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (3,8,4,0) cannot be realized. Since there are 4 points of type c two must have the same c-statistic. Without loss of generality say these points are (1,2,2) and (3,2,2). Slice along the first coordinate. The two side squares can only have two points of type b each since they both have their center points. To have 8 points of type b the center slice must have all four of its corner points but these block all points of type c in the center slice and since there are a maximum of two such points in the side slices we have less than four and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1578</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1578"/>
		<updated>2009-06-06T21:04:52Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (6,0,3,0) cannot be realized. First we note that two points of type c cannot have the same c-statistic. If they did we could slice along the coordinate not equal to 2 in both points and get two side slices with their center points both would have two or less points of type a but we must have six such points contradiction. So without loss of generality we can take these points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate. If the square with first coordinate equal to three has four points of type a then it must contain (3,1,1) this with (2,1,2) and (2,2,1) blocks (1,1,3) and (1,3,1) but this forces the points of type a in the square with first coordinate equal to one to lie and a diagonal and due to the presence of the center point limits there number to one and the total number of such points to 5 but we must have six so we have a contradiction, so the square of side three must have three or less such points but the other side square is limited to two such points due to the presence of its center point. This limits the number of points of type a to 5 but we need six so we have disposed of all cases and this set cannot be realized.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1577</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1577"/>
		<updated>2009-06-06T20:50:13Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2), (2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1576</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1576"/>
		<updated>2009-06-06T20:45:17Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2),(2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1575</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1575"/>
		<updated>2009-06-06T20:43:38Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and(3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2),(2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with first coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
 Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block two points of type a in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,3,3) which is already blocked so the only way the center slice can have two points with one 2&#039;s is if has (2,1,3) and (2,3,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with first coordinate three must have the points (3,1,2) and (3,2,1) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type b it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1574</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1574"/>
		<updated>2009-06-06T20:34:13Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&lt;br /&gt;
&lt;br /&gt;
A Moser set with statistics (5,5,3,0) cannot be realized. First we note that two of the points of type c cannot have the same c-statistic. If they did then we could slice on the coordinate where the two points do not equal 2. Then both side squares would have their center points and the number of points of type a on both would be limited to 2 which is less than 5. So without loss of generality we can assume the three points of type c are (1,2,2),(2,1,2) and (2,2,1). We cut along the first coordinate. If the the square with third coordinate equal to three has four points of type a then these points will block all the points of type b in the square and since the other side square has its center point it can only have two points of type b there must be three points of type b in the center square of the slice. But since that square contains (2,1,2) and (2,2,1) it cannot contain (2,1,1) as then it would block two points of type a and we need three of these in the center slice. So the points in the center slice of type a must be the other three besides (2,1,1) and in combination with the four points of type a in the square with first coordinate equal to three they block all points in the square with first coordinate equal to one except (1,1,1). But one together with the points (2,1,2) and (2,2,1) it blocks two points of type a in the square with first coordinate equal to three but that square must have all of its points of type a and we get a contradiction.&lt;br /&gt;
&lt;br /&gt;
Then since the square with first coordinate equal to one has its center point and only contains at most two points of type a the other side slice must have at least three points of this type. But since we have ruled out four of these points above the only distribution left is 2 points of type a in the square with first coordinate equal to 1 and three of this type in the other side slice. If the square with first coordinate equal to one has contains the point (1,1,1) the with (2,1,2) and (2,2,1) it will block two points of type a in the other side slice which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
 Since the square with first coordinate equal to 1 must have two points of type a it must have at least one on each diagonal so it must have the point (1,3,3). Now if the square with first coordinate equal to three contains (3,1,1) then with the points (2,1,2) and (2,2,1) it will block tow points in a diagonal on the other side cube but that will limit the number of points of type a in that cube to one which gives a contradiction so it cannot contain the point (3,1,1) and so it must contain all other points of type a. These include (3,3,3) which together with (1,3,3) which we have also shown to be in the Moser set blocks (2,3,3). Now if the center slice contains (1,2,2) it will block all points except (2,2,2) the only way the center slice can have two points with two 2&#039;s is if has (2,1,2) and (2,2,1) but these together with (3,1,3) and (3,3,1) block all the points of type a in a diagonal in the square with coordinate one. This forces two points in the other diagonal in order to have two points of type a but this forms a line with the center point of that square. So there is only one point of type b in the center slice. &lt;br /&gt;
&lt;br /&gt;
The square with coordinate 1 can only have at most two points of type b since it has its center point. The other side slice can only have two as we know what the points of type a in that square are and the block two points of type b. The center square can only have one point of type b. Given the above the only way 5 points of type b can be reached is for each of the side slices to have two such points and the center slice to have one. The square with coordinate three must have the points (3,2,1) and (3,1,2) as all the others are blocked by points of type a. These with the points (2,1,2) and (2,2,1) block the points (1,1,2) and (1,2,1). For the square with first coordinate one to have two points of type bu it must contain (1,3,2) and (1,2,3) which together with the point (1,3,3) block the points (1,3,1) and (1,1,3) which together with the fact already shown that (1,1,1) cannot be in the set limits the number of points of type a in the square with first coordinate equal to one to one which eliminates the last case and we are done.&lt;br /&gt;
&lt;br /&gt;
Now the square   &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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1573</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1573"/>
		<updated>2009-06-05T21:54:54Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equal to three must have at most two points of type a and since the square with first coordinate equal to one can have at most two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate equal to one must have one of these points as shown previously so are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1572</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1572"/>
		<updated>2009-06-05T21:47:19Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
A Moser configuration with n=3 cannot have statistics (4,8,3,0). First we show that no two points of type c can have the same c-statistics. If they do then we can slice on a a coordinate and get the two side slices that both have their center slice then each can only have two points of type b which means to have 8 such points the center slice must have all four of its points of type b and hence can have no points of type c, but since the two side slices only each have one there are less than three points of type c and we are done. Without loss of generality we than can take the three center points to be (1,2,2), (2,1,2) and (2,2,1). We slice along the first coordinate.&lt;br /&gt;
&lt;br /&gt;
The square with its first coordinate equal to 3 cannot have four points. If it did it would have no points of type b and the other two slices would have to have all of their points of this type but the square with first coordinate equal to one has its center point equal to one has its center point so it can only have two and we get a contradiction. The square with its first coordinate equal to three cannot have three points if it did it would have at most two points of type b or a line would be formed. The square with its first coordinate equal to one would have at most two. So for there to be 8 such points there must four such points in the square with first coordinate equal to 2 but that would block all points of type c in the square and it has (2,1,2) and (2,2,1) by the above. So the square with its first coordinate equalt to three must have at most two points of type a and since the square with first coordinate equal to one can have at msot two due to the presence of its center point it must have two and the other side slice must have two.&lt;br /&gt;
&lt;br /&gt;
Now the square with its first coordinate equal to three cannot contain the point (3,1,1) because along with the points (2,1,2) and (2,2,1) it would block (1,1,3) and (1,3,1) but this would limit the possible points of type a to those on a diagonal which due to the presence of the center square can only one point which would give a contradiction to the conclusion of the above paragraph. The square with its first coordinate equal to one cannot contain the point (1,1,1) because along with the points (2,1,2) and (2,2,1) it would block (3,1,3) and (3,3,1) this would force the two points of the square with first coordinate equal to three to have its points on the other diagonal but this then it would have to have both points on this diagonal and hence contain the point (3,1,1) which leads to a contradiction as noted previously. &lt;br /&gt;
&lt;br /&gt;
The square with first coordinate equal to one must have two points and hence it must have a point on each diagonal as the center point prevents the presence of two. Since (1,1,1)is forbidden by the above it must have (1,3,3). If the square with first coordinate equal to three contained (3,3,3) then with (1,3,3) it would block the point (2,3,3) the points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and the center slice would have at most two points of type b, due to the presence of its center point the square with first coordinate equal to one would have at most two such points. So to get a total of 8 the square with first coordinate equal to three would have to have all four of its points of type b but together with the point (3,3,3) these would block (3,1,3) and (3,3,1).&lt;br /&gt;
Since (3,1,1) is not possible due to the above the square with first coordinate equal to three would have at most one point of type a which contradicts the fact it must have two proved above. So the point (3,3,3) cannot occur in this slice. Since we have already proved it cannot contain (3,1,1) and it must have two points of type a it must contain (3,1,3) and (3,3,1).&lt;br /&gt;
&lt;br /&gt;
Now the square with first coordinate equal to one contains (1,1,1) by the above it cannot contain (1,3,3) and since it must have two points of type a it must include one of (1,3,1) or (1,1,3). Since by the above the other side slice must contain both of the points (3,3,1) and (3,1,3) one of the points (2,3,1) or (2,1,3) will be blocked. The points (2,1,2) and (2,2,1) would block an additional point of type b in the center slice and it will have at most two points of type b. The square with first coordinate equal to one will have at most two points of type b. So the square with first coordinate equal to three must contain all of its points of type b for there to be 8 such points. With (2,1,2) and (2,2,1) they would block the points (1,1,2) and (1,2,1). Since the square with first coordinate equal to one must have first coordinate equal to one must have two points of type b it must contain (1,3,2) and (1,2,3) but with (1,3,3) they would block both (1,3,1) and (1,1,3) but the square with first coordinate must have one of these points as shown previously so are done.&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;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1571</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1571"/>
		<updated>2009-06-05T20:17:46Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
The configuration of type (6,4,2,0) cannot be realized. Assume we have such a configuration. The two points of type c in the configuration cannot have the same c-statistic. If they did we could slice along a coordinate and get the two side squares to have their center points thus they could each have only two points of type a, limiting the points of type a to 4 which is less than 6 giving a contradiction. Without loss of generality we can assume the two points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate then the square of points with first coordinate equal to one has its center points and so can only have two points of type a. The square with first coordinate three must have all of its points of type a to make six. &lt;br /&gt;
The square with  first coordinate three must have no points of type b as its four coordinates of type a blocks them. The square with first coordinate one can have at most two of these points because it has its center point. That means that the square with first coordinate two must have two such points.&lt;br /&gt;
&lt;br /&gt;
The square with third coordinate equal to three contains all of its points of type a from above. In particular it contains (3,1,1) and (3,1,3). These together with point (2,1,2) block points (1,1,1) and (1,1,3) int the square with first coordinate equal to one. Since that square contains two points of type a it must contain the remaining two, (1,3,1) and (1,3,3). These two together with (3,3,1) and (3,3,3) block (2,3,1) and (2,3,3) in the square with two as its first coordinate. But the only other possibilities for a point of type b in this square are (2,1,1) and (2,1,3) but (2,1,2) prevents both from being in the set. Thus this square can only have one point of type b, the square with one as its first coordinate has its center point and can only have one and as noted above the square with first coordinate equal to three has no such points. So the maximum number of points of type b in the set is 3 which is less than 4 and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1559</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1559"/>
		<updated>2009-06-04T20:40:36Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possibilities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the original face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
A configuration of type (5,7,2,0) cannot be realized. First we see that two points of type c cannot have the same c-statistic. If they did we could slice the cube so there are two opposite faces with the center point filled. these forces would each have at most two points of type a for a maximum of 4 which is less than 5 which gives a contradiction. So we can assume without loss of generality the points of type c are (1,2,2) and (2,1,2).&lt;br /&gt;
&lt;br /&gt;
Slice along the first coordinate then the square with first coordinate with value one has its center point and hence has at most 2 points each of type a and type b. &lt;br /&gt;
If the slice with first coordinate 3 has four points of type a then it can have no points of type b and the maximum number of points of type b are four in the square with first coordinate 2 and two in the square with first coordinate 1 for a total of 6 which is less than 7 which gives a contradiction. So the square with first coordinate three must have at most three points of type a, and the square with first coordinate one must have at most two of type a. So the only way 5 such points can be realized is if the the square with first coordinate 1 has two points of type a and the square with first coordinate three has three such points.&lt;br /&gt;
&lt;br /&gt;
The three points of type a in the square with first coordinate three block two points of type b so only two points of type b can be in that square. Since the center spot is filled in the square with first coordinate one that square can have at most two points of type b. Thus for there to be 7 points of type b there must be three in the square with first coordinate 2. Because of the presence of the point with coordinates (2,1,2) only one of the points (2,1,3) and (2,1,1) can be in the set which means that both (2,3,3) and (2,3,1) must be in the set. The presence of these points means that only two of the points (1,3,1), (3,3,1), (1,3,3), and (3,3,3) can be in the set. To get five points of type a three of (1,1,1),(1,1,3),(3,1,1) and (3,1,3) must be in the set. But these points can be divided into two pairs (1,1,1) and (3,1,3), and (1,1,3) and (3,1,3) which form lines with (2,1,2) thus there can be at most two of these points and at most 4 points of type a but we need 5 such points so we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1556</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1556"/>
		<updated>2009-06-04T19:55:20Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possiblities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (6,5,1,0) cannot be realized. The point of type c is the center point of a face which must have at most two points of type a so the opposite face must have four points of type a to give six. These four points block all points of type b in the opposite face. The presence of a center point in the origianl face blocks two points of type b so the original face has at most two points of type b. The remaining slots for points of type b are in the center at the corner positions of the center slice three of the must be filled and with the four points of the opposite slice they block three of the slots for points of type a in the original slice that leaves one open slot allowing a maximum of one point of type a and a total of at most 5 points of type a which is less than 6 so we get a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1555</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1555"/>
		<updated>2009-06-04T19:44:10Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possiblities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
The distribution (5,8,1,0) cannot be realized. The point of type c must be on a face. That face can contain at most two points of type a and two of type b to avoid lines with the point of type c which is the center point of the face. If the opposite face has all four points of type a then these will block all point of type b in that face the center point of the original face will block two more allowing a maximum of 6 which is less than 8 so the opposite face must have three points and the original face must have two.&lt;br /&gt;
&lt;br /&gt;
Then there are only two points of type b on the original face  the opposite face must have three of type a these must block two points of type b so there must be only two points of type b on the opposite face. To get eight points of type b the remaining four points in the center slice between the face and its opposite must have all four of its points of type b. These points are at the corners of the center slice and together with the three points of type a  in the opposite face they block three of the slots for corner points for the original face, Thus the original face can only have one point of type a and together with the three of the opposite face we get a maximum of four points of type a and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1554</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1554"/>
		<updated>2009-06-04T19:20:55Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
The distribution (4,10,1,0) cannot occur because the two missing points of type b must lie on one face, the face that contains the element c, The face opposite it contains all its points of type b. Hence it at most two points of type a which must be on a diagonal. These points combined with the points of type b not on either of the two faces which must all be in the set since the missing points are on the original face block two points on a diagonal in the original face so the remaining possiblities for points on the original face must be on the other diagonal but c will limit the number of these to one. Thus the maximum of points of type a are one on the original face and two on the opposite face which gives a maximum of three but we must have four so this distribution cannot be realized.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1547</id>
		<title>Moser&#039;s cube problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1547"/>
		<updated>2009-06-03T22:18:13Z</updated>

		<summary type="html">&lt;p&gt;KristalCantwell: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Define a &#039;&#039;Moser set&#039;&#039; to be a subset of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt; which does not contain any [[geometric line]], and let &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; denote the size of the largest Moser set in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;.  The first few values are (see [http://www.research.att.com/~njas/sequences/A003142 OEIS A003142]):&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_0 = 1; c&#039;_1 = 2; c&#039;_2 = 6; c&#039;_3 = 16; c&#039;_4 = 43; c&#039;_5 = 124.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beyond this point, we only have some upper and lower bounds, in particular &amp;lt;math&amp;gt;353 \leq c&#039;_6 \leq 361&amp;lt;/math&amp;gt;; see [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DsU-uZ1tK7VEg this spreadsheet] for the latest bounds.&lt;br /&gt;
&lt;br /&gt;
The best known asymptotic lower bound for &amp;lt;math&amp;gt;c&#039;_n&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \gg 3^n/\sqrt{n}&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
formed by fixing the number of 2s to a single value near n/3.  Compare this to the DHJ(2) or Sperner limit of &amp;lt;math&amp;gt;2^n/\sqrt{n}&amp;lt;/math&amp;gt;.  Is it possible to do any better?  Note that we have a [[Upper_and_lower_bounds#Asymptotics|significantly better bound]] for the DHJ(3) &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c_n \geq 3^{n-O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A more precise lower bound is&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n \geq \binom{n+1}{q} 2^{n-q}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where q is the nearest integer to &amp;lt;math&amp;gt;n/3&amp;lt;/math&amp;gt;, formed by taking all strings with q 2s, together with all strings with q-1 2s and an odd number of 1s.  This for instance gives the lower bound &amp;lt;math&amp;gt;c&#039;_5 \geq 120&amp;lt;/math&amp;gt;, which compares with the upper bound &amp;lt;math&amp;gt;c&#039;_5 \leq 3 c&#039;_4 = 129&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Using [[DHJ(3)]], we have the upper bound&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;math&amp;gt;c&#039;_n = o(3^n)&amp;lt;/math&amp;gt;,&lt;br /&gt;
&lt;br /&gt;
but no effective decay rate is known. It would be good to have a combinatorial proof of this fact (which is weaker than [[DHJ(3)]], but implies [[Roth&#039;s theorem]]).&lt;br /&gt;
&lt;br /&gt;
== Notation ==&lt;br /&gt;
&lt;br /&gt;
Given a Moser set A in &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a be the number of points in A with no 2s, b be the number of points in A with one 2, c the number of points with two 2s, etc.  We call (a,b,c,...) the &#039;&#039;statistics&#039;&#039; of A.  Given a slice S of &amp;lt;math&amp;gt;[3]^n&amp;lt;/math&amp;gt;, we let a(S), b(S), etc. denote the statistics of that slice (dropping the fixed coordinates).  Thus for instance if A = {11, 12, 22, 32}, then (a,b,c) = (1,2,1), and (a(1*),b(1*)) = (1,1).&lt;br /&gt;
&lt;br /&gt;
We call a statistic (a,b,c,...) &#039;&#039;attainable&#039;&#039; if it is attained by a Moser set.  We say that an attainable statistic is &#039;&#039;Pareto-optimal&#039;&#039; if it cannot be pointwise dominated by any other attainable statistic (a&#039;,b&#039;,c&#039;,...) (thus &amp;lt;math&amp;gt;a&#039; \geq a&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b&#039; \geq b&amp;lt;/math&amp;gt;, etc.)  We say that it is &#039;&#039;extremal&#039;&#039; if it is not a convex combination of any other attainable statistic (this is a stronger property than Pareto-optimal).  For the purposes of maximising linear scores of attainable statistics, it suffices to check extremal statistics.&lt;br /&gt;
&lt;br /&gt;
We let &amp;lt;math&amp;gt;(\alpha_0,\alpha_1,\ldots)&amp;lt;/math&amp;gt; be the normalized version of &amp;lt;math&amp;gt;(a,b,\ldots)&amp;lt;/math&amp;gt;, in which one divides the number of points of a certain type in the set by the total number of points in the set.  Thus for instance &amp;lt;math&amp;gt;\alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2})&amp;lt;/math&amp;gt;, etc., and the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; range between 0 and 1.  Averaging arguments show that any linear inequality obeyed by the &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which &amp;lt;math&amp;gt;\alpha_i&amp;lt;/math&amp;gt; is replaced by &amp;lt;math&amp;gt;\alpha_{i+1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The idea in &#039;c-statistics&#039; is to identify 1s and 3s but leave the 2s intact. Let’s use x to denote letters that are either 1 or 3, then the 81 points in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; get split up into 16 groups: 2222 (1 point), 222x, 22×2, 2×22, x222 (two points each), 22xx, 2×2x, x22x, 2xx2, x2×2, xx22 (four points each), 2xxx, x2xx, xx2x, xxx2 (eight points each), xxxx (sixteen points). Let c(w) denote the number of points inside a group w, e.g. c(xx22) is the number of points of the form xx22 inside the set, and is thus an integer from 0 to 4.&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_0=1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
We trivially have &amp;lt;math&amp;gt;c&#039;_1=2.&amp;lt;/math&amp;gt;  The Pareto-optimal values of the statistics (a,b) are (1,1) and (2,0); these are also the extremals.  We thus have the inequality &amp;lt;math&amp;gt;a+b \leq 2&amp;lt;/math&amp;gt;, or in normalized notation&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;2\alpha_0 + \alpha_1 \leq 2&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_2 = 6&amp;lt;/math&amp;gt;; the upper bound follows since &amp;lt;math&amp;gt;c&#039;_2 \leq 3 c&#039;_1&amp;lt;/math&amp;gt;, and the lower bound follows by deleting one of the two diagonals from &amp;lt;math&amp;gt;[3]^2&amp;lt;/math&amp;gt; (these are the only extremisers).&lt;br /&gt;
&lt;br /&gt;
The extremiser has statistics (a,b,c) = (2,4,0), which are of course Pareto-optimal.  If c=1 then we must have a, b at most 2 (look at the lines through 22).  This is attainable (e.g. {11, 12, 22, 23, 31}, and so (2,2,1) is another Pareto-optimal statistic.  If a=4, then b and c must be 0, so we get another Pareto-optimal statistic (4,0,0) (attainable by {11, 13, 31, 33} of course).  If a=3, then c=0 and b is at most 2, giving another Pareto-optimal statistic (3,2,0); but this is a convex combination of (4,0,0) and (2,4,0) and is thus not extremal.  Thus the complete set of extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(4,0,0), (2,4,0), (2,2,1).&lt;br /&gt;
&lt;br /&gt;
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones &amp;lt;math&amp;gt;a,b,c \geq 0&amp;lt;/math&amp;gt;) are then&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;2a+b+2c \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;b+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;a+2c \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;c \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In normalized notation, we have&lt;br /&gt;
*&amp;lt;math&amp;gt;4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_1 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;2\alpha_0 + \alpha_2 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
*&amp;lt;math&amp;gt;\alpha_2 \leq 1&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Pareto optimizers for c-statistics are (c(22),c(2x),c(x2),c(xx)) = (1112),(0222),(0004), which are covered by these linear inequalities: &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(2x)+c(xx) \le 4&amp;lt;/math&amp;gt;, &lt;br /&gt;
*&amp;lt;math&amp;gt;c(22)+c(x2)+c(xx) \le 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
We have &amp;lt;math&amp;gt;c&#039;_3 = 16&amp;lt;/math&amp;gt;.  The lower bound can be seen for instance by taking all the strings with one 2, and half the strings with no 2 (e.g. the strings with an odd number of 1s).  The upper bound can be deduced from the corresponding [[upper and lower bounds]] for &amp;lt;math&amp;gt;c_3 = 18&amp;lt;/math&amp;gt;; the 17-point and 18-point line-free sets each contain a geometric line.&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^3&amp;lt;/math&amp;gt; contains 222, then it can have at most 14 points, since the remaining 26 points in the cube split into 13 antipodal pairs, and at most one of each pair can lie in the set.  By exhausting over the &amp;lt;math&amp;gt;2^{13} = 8192&amp;lt;/math&amp;gt; possibilities, it can be shown that it is impossible for a 14-point set to exist; any Moser set containing 222 must in fact omit at least one antipodal pair completely and thus have only 13 points.  (A human proof of this fact can be [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
The Pareto-optimal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
These were found from a search of the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube.&lt;br /&gt;
A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here].&lt;br /&gt;
&lt;br /&gt;
The extremal statistics are&lt;br /&gt;
&lt;br /&gt;
(3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(4,4,5,0),(4,6,4,0),(4,12,0,0),(8,0,0,0)&lt;br /&gt;
&lt;br /&gt;
The sharp linear bounds are :&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+4d \leq 22&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;3a+2b+3c+6d \leq 36&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7a+2b+4c+8d \leq 56&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2b+3c+6d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+c+3d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+2c+4d \leq 14&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+4c+8d \leq 40&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+4d \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+6d \leq 12&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;c+3d \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;d \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In normalized notation,&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;8\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_1+2\alpha_2+\alpha_3 \leq 4&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4\alpha_0+6\alpha_2+2\alpha_3 \leq 7&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5\alpha_0+3\alpha_2+\alpha_3 \leq 5&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_0+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_1+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2\alpha_2+\alpha_3 \leq 2&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\alpha_3 \leq 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The c-statistics can also be found from an exhaustive search of Moser sets.  The resulting Pareto sets and linear inequalities can be found on Sheet 8 of [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# this spreadsheet]&lt;br /&gt;
&lt;br /&gt;
The following are Pareto optimal (3,6,3,1),(4,4,3,1),(4,6,2,1),(2,6,6,0),(3,6,5,0),(4,4,5,0),(3,7,4,0),(4,6,4,0), (3,9,3,0),(4,7,3,0),(5,4,3,0),(4,9,2,0),(5,6,2,0),(6,3,2,0),(3,10,1,0),(5,7,1,0), (6,4,1,0),(4,12,0,0),(5,9,0,0),(6,6,0,0),(7,3,0,0),(8,0,0,0).&lt;br /&gt;
&lt;br /&gt;
We first compute the Pareto-minimal counterexamples (i.e. the (a,b,c,d) which are larger than these but end up in the list after removing one from any of a,b,c,d) and eliminate each of them. From the n=2 inequalities (and using the planes xy1, xy2, and xxx, averaged over symmetries) we have a number of linear constraints&lt;br /&gt;
&lt;br /&gt;
a/4+c/6 \leq 2; a/4 + d \leq 2; b/6+c/6 \leq 2; b/6+d \leq 2; c/3+d \leq 2; a/2+b/6+c/6 \leq 4; b/3+c/3+d \leq 4&lt;br /&gt;
&lt;br /&gt;
which eliminate many of these; these inequalities, by the way, together with the trivial inequality d \leq 1, are given as Y3 in the maple computations on the Wiki.&lt;br /&gt;
It seems that the Pareto-minimal counterexamples that are consistent with these inequalities are (4,5,3,1), (3,11,1,0), (4,10,1,0), (5,8,1,0), (6,5,1,0), (5,7,2,0), (6,4,2,0), (4,8,3,0), (5,5,3,0), (6,0,3,0), (3,8,4,0), (4,7,4,0), (5,0,4,0), (3,7,5,0), (4,5,5,0), (3,6,6,0), so one has to eliminate 16 possibilities.&lt;br /&gt;
 &lt;br /&gt;
The distribution (4,5,3,1) cannot occur. Assume that we have set with these statistics. Note  that no two points with two 2’s can have the same c-statistic. Without loss of generality we can assume that these points in the Moser set are (1,2,2), (2,1,2) and (2,2,1). Next we note that the points (1,1,1) and (1,1,3) cannot be in the set. If (1,1,1) it blocks (3,3,3), (1,3,3) and (3,1,3) and also (3,3,1). This leaves (1,1,3) and one of (1,3,1) and (1,1,3) and prevents four points with four twos being in the set giving a contradiction.&lt;br /&gt;
&lt;br /&gt;
If (1,1,3) is in the set it blocks all points with no 2’s whose third coordinate is 1 except (1,1,1). However (1,1,1) is forbidden by the previous paragraph. The only way for there to be 4 points of type a is if all point of type a with a final coordinate equal to 3 are in the set. However this blocks all points of type b whose final coordinate is 3. The points (1,2,2) and (2,2,2) limit the the number of points of type b whose final coordinates are one and two to two each. This prevents 5 such points and we have another contradiction.&lt;br /&gt;
 &lt;br /&gt;
Now in order to have 4 points of type a we must have two among (1,1,1),(1,1,3),(1,3,3) and (3,3,3) but by the above we cannot have (1,1,1) or (1,1,3) so we must have (1,3,3) and (3,3,3). Now we must have one of (1,3,1) and (1,1,3) without loss of generality say (1,3,1) this will block all other points of type a except (1,3,3) recalling that (1,1,1) and (3,3,3) cannot be in the set so to have four points of type a we must have (1,3,3).&lt;br /&gt;
(1,3,1) and (1,3,3) block (1,3,2). (3,3,1) and (3,3,3) block  (3,3,2). (1,3,3) and (3,3,3) block (2,3,3). (1,3,1) and (3,3,1) block (2,3,1) Furthermore because of the formation of potential lines we can only have one of the following pairs: (1,1,2) and (1,3,2), (1,2,1) and (1,3,2), and (1,2,1) and (1,2,3) because of this and because we need 8 points of type b we must have both (3,2,1) and (3,2,3) to bring the total to 5 but this blocks both (1,2,1) and (1,2,3) and there is no way to get 5 points of type a. So this gives a contradiction and we are done.&lt;br /&gt;
&lt;br /&gt;
The distribution (3,11,1,0) cannot occur as every point of type c lies on two lines whose other points are of type b with no points of type be lying on both lines. 11 points of type b implies the removal of one from the complete set of such points. Thus for every point of type c at most one line will be affected and the other will block the point of type c thus making it impossible.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/extremal-moser-n=5-t=3 computer search] has obtained all extremisers to &amp;lt;math&amp;gt;c&#039;_4=43&amp;lt;/math&amp;gt;.  The 42-point solutions can be found [http://abel.math.umu.se/~klasm/moser-n=4-t=3-p=42.gz here].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof that &amp;lt;math&amp;gt;c&#039;_4 \leq 43&amp;lt;/math&amp;gt;&#039;&#039;&#039;: &lt;br /&gt;
When e=1 (i.e. the 4D set contains 2222) then we have at most 41 points (in fact at most 39) by counting antipodal points, so assume e=0.&lt;br /&gt;
&lt;br /&gt;
Define the score of a 3D slice to be a/4+b/3+c/2+d.  Observe from double counting that the size of a 4D set is the sum of the scores of its eight side slices.&lt;br /&gt;
&lt;br /&gt;
But by [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en looking at the extremals] we see that the largest score is 44/8, attained at only one point, namely when (a,b,c,d) = (2,6,6,0).  So the only way one can have a 44-point set is if all side slices are (2,6,6,0), or equivalently if the whole set has statistics (a,b,c,d,e) = (4,16,24,0,0).  But then we have all the points with two 2s, which means that the four &amp;quot;a&amp;quot; points cannot be separated by Hamming distance 2.  We conclude that we must have an antipodal pair among the &amp;quot;a&amp;quot; points with an odd number of 1s, and an antipodal pair among the &amp;quot;a&amp;quot; points with an even number of 1s.    By the symmetries of the cube, we may take the a-set to then be 1111, 3333, 1113, 3331.  But then the &amp;quot;b&amp;quot; set must exclude both 1112 and 3332, and so can have at most three points in the eight-point set xyz2 (with x,y,z=1,3) rather than four (to get four points one must alternate in a checkerboard pattern).  Adding this to the at most four points of the form xy2z, x2yz, 2xyz we see that b is at most 15, a contradiction. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Given a subset of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;, let a be the number of points with no 2s, b be the number of points with 1 2, and so forth.  The quintuple (a,b,c,d,e) thus lies between (0,0,0,0,0) and (16,32,24,8,1).&lt;br /&gt;
&lt;br /&gt;
The 43-point solutions have distributions (a,b,c,d,e) as follows:&lt;br /&gt;
&lt;br /&gt;
* (5,20,18,0,0) [16 solutions]&lt;br /&gt;
* (4,16,23,0,0) [768 solutions]&lt;br /&gt;
* (3,16,24,0,0) [512 solutions]&lt;br /&gt;
* (4,15,24,0,0) [256 solutions]&lt;br /&gt;
&lt;br /&gt;
The 42-point solutions are [http://abel.math.umu.se/~klasm/Moser-42-stat.pdf distributed as follows]:&lt;br /&gt;
&lt;br /&gt;
* (6,24,12,0,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-12 8 solutions]] &lt;br /&gt;
* (5,20,17,0,0) [576 solutions]&lt;br /&gt;
* (5,19,18,0,0) [384 solutions]&lt;br /&gt;
* (6,16,18,2,0) [[http://abel.math.umu.se/~klasm/moser-n=4-42-e=2 192 solutions]]&lt;br /&gt;
* (4,20,18,0,0) [272 solutions]&lt;br /&gt;
* (5,17,20,0,0) [192 solutions]&lt;br /&gt;
* (5,16,21,0,0) [3584 solutions]&lt;br /&gt;
* (4,17,21,0,0) [768 solutions]&lt;br /&gt;
* (4,16,22,0,0) [26880 solutions]&lt;br /&gt;
* (5,15,22,0,0) [1536 solutions]&lt;br /&gt;
* (4,15,23,0,0) [22272 solutions]&lt;br /&gt;
* (3,16,23,0,0) [15744 solutions]&lt;br /&gt;
* (4,14,24,0,0) [4224 solutions]&lt;br /&gt;
* (3,15,24,0,0) [8704 solutions]&lt;br /&gt;
* (2,16,24,0,0) [896 solutions]&lt;br /&gt;
&lt;br /&gt;
Note how c is usually quite large, and d quite low.&lt;br /&gt;
&lt;br /&gt;
One of the (6,24,12,0,0) solutions is &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt; (i.e. the set of points containing exactly two 1s, and/or exactly two 3s).  The other seven are reflections of this set.&lt;br /&gt;
&lt;br /&gt;
There are 2,765,200 41-point solutions, [http://abel.math.umu.se/~klasm/solutions-4-t=3-41-moser.gz listed here].  The statistics for such points can be [http://abel.math.umu.se/~klasm/Moser-41-stat.pdf found here].  Noteworthy features of the statistics:&lt;br /&gt;
&lt;br /&gt;
* d is at most 3 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=3.gz 256 exceptional solutions] of the shape (5,15,18,3,0), have d at most 2; here are the [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=2.gz d=2 solutions] and [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-d=1.gz d=1 solutions])&lt;br /&gt;
* c is at least 6 (and, except for [http://abel.math.umu.se/~klasm/moser-n=3-t=3-41-c=6.gz 16 exceptional solutions] of the shape (7,28,6,0,0), have c at least 11).&lt;br /&gt;
&lt;br /&gt;
Statistics for the 41-point, 42-point, and 43-point solutions can be found [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en here].&lt;br /&gt;
&lt;br /&gt;
If a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; contains 2222, then by the n=3 theory, any middle slice (i.e. 2***, *2**, **2*, or ***2) is missing at least one antipodal pair.  But each antipodal pair belongs to at most three middle slices, thus two of the 40 antipodal pairs must be completely missing.  As a consequence, any Moser set containing 2222 can have at most 39 points.&lt;br /&gt;
(A more refined analysis can be found at [http://www.ma.rhul.ac.uk/~elsholtz/WWW/blog/mosertablogv01.pdf found here].)&lt;br /&gt;
&lt;br /&gt;
We have the following inequalities connecting a,b,c,d,e:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;:  There are 32 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;b&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to four of these lines, and each &amp;quot;b&amp;quot; point belongs to one.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* This can be refined to &amp;lt;math&amp;gt;4a+b+\frac{2}{3} c \leq 64&amp;lt;/math&amp;gt;: There are 24 planes connecting four &amp;quot;a&amp;quot; points, four &amp;quot;b&amp;quot; points, and one &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these, each &amp;quot;b&amp;quot; point belongs to three, and each &amp;quot;c&amp;quot; point belongs to one.  For each of these planes, we have &amp;lt;math&amp;gt;2a + b + 2c \leq 8&amp;lt;/math&amp;gt; from the n=2 theory, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;6a+2c \leq 96&amp;lt;/math&amp;gt;:  There are 96 lines connecting two &amp;quot;a&amp;quot; points with a &amp;quot;c&amp;quot; point; each &amp;quot;a&amp;quot; point belongs to six of these lines, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c \leq 96&amp;lt;/math&amp;gt;:  There are 48 lines connecting two &amp;quot;b&amp;quot; points to a &amp;quot;c&amp;quot; point; each &amp;quot;b&amp;quot; point belongs to three of these points, and each &amp;quot;c&amp;quot; point belongs to two.  But each such line can have at most two points in the set, and the claim follows.&lt;br /&gt;
&lt;br /&gt;
The inequalities for n=3 imply inequalities for n=4.  Indeed, there are eight side slices of &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt;; each &amp;quot;a&amp;quot; point belongs to four of these, each &amp;quot;b&amp;quot; point belongs to three, each &amp;quot;c&amp;quot; point belongs to two, and each &amp;quot;d&amp;quot; point belongs to one.  Thus, any inequality of the form&lt;br /&gt;
:&amp;lt;math&amp;gt; \alpha a + \beta b + \gamma c + \delta d \leq M&amp;lt;/math&amp;gt;&lt;br /&gt;
in three dimensions implies the inequality&lt;br /&gt;
:&amp;lt;math&amp;gt; 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M&amp;lt;/math&amp;gt;&lt;br /&gt;
in four dimensions.  Thus we have&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;8a+3b+4c+4d \leq 176&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+c+d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;14a+3b+4c+4d \leq 244&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+c+d \leq 64&amp;lt;/math&amp;gt; &lt;br /&gt;
* &amp;lt;math&amp;gt;3b+2c+3d \leq 96&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+c+d \leq 28&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;5a+2c+2d \leq 80&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;a+d \leq 16&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;b+2d \leq 32&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;2c+3d \leq 48&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cubes also sit diagonally in the 4-dimensional cube.  They may have coordinates xxyz, where xx runs over (11,22,33) or (13,22,31), while y and z run over (1,2,3).  These cubes have a different distribution of 2s than the ordinary slices: (a,b,c,d,e) = (8,8,6,4,1) instead of (8,12,6,1,0) for the side slices and (0,8,12,6,1) for the middle slices.  So a different set of inequalities arise.  Apply the same procedure as described above for n=3: (Run through the &amp;lt;math&amp;gt;2^{27}&amp;lt;/math&amp;gt; subsets of the cube; identify those without combinatorial lines; calculate their statistics in the new xxyz arrangement; retain the Pareto-optimal statistics; retain the extremal statistics; find what inequalities they satisfy.)  The inequalities that arise are &lt;br /&gt;
* &amp;lt;math&amp;gt;2a+b+2c+2d+4e \le 24&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+2d+4e \le 32&amp;lt;/math&amp;gt; &lt;br /&gt;
within the 3D cube, which when averaged becomes &lt;br /&gt;
* &amp;lt;math&amp;gt;4a+b+2c+4d+16e \le 96&amp;lt;/math&amp;gt; and &lt;br /&gt;
* &amp;lt;math&amp;gt;8a+b+2c+4d+16e \le 128&amp;lt;/math&amp;gt; &lt;br /&gt;
for the 4D cube.  A spreadsheet containing these statistics can be [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuKZ2DyzO9EOg&amp;amp;hl=en# found here] on sheet 2.  Other sheets of this spreadsheet contain results for a 3D cube sitting diagonally in a 5D, 6D or 7D cube.  Notice the similarity of the equations that arise for the xxxyz, xxyyz and xxxxyz diagonals.  Also notice the (a,b,c,...) statistics for the xxxxyyz diagonals have the same Pareto sets and linear inequalities as the cube&#039;s c-statistics.&lt;br /&gt;
&lt;br /&gt;
The c-statistics for the 3D cube are bounded by a set of 20 inequalities.  By considering the fourteen ways a 3D cube sits in the 4D cube, the result is a set of 239 inequalities for the 4D cube&#039;s c-statistics.  However, all 239 inequalities are satisfied by a 44-point solution given by c(xxxx) = c(2xxx) = c(22xx) = 4, and permutations.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points. ===&lt;br /&gt;
&lt;br /&gt;
We first note that, as shown above, if a Moser set includes 2222, it has at most 39 points.  So any Moser set with 41 or more points has no point with four 2&#039;s.  So e=0.&lt;br /&gt;
&lt;br /&gt;
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On the 3D section of the Wiki, we have the inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which when averaged on middle slices gives the 4D inequalities&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;b/8 + c/6 + 3d/8 + e \leq 6 (3) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;7b/32 + c/8 + 3d/8 + e \leq 7. (4) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Averaging (1) on side slices similarly gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a/4 + b/8 + c/8 + d/8 \leq 6. (5) &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Computing 9/4 *(3) + (4) + 4*(5) gives&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and so if a+b+c+d+e &amp;amp;ge; 41 then we must have d &amp;amp;le; 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 0&#039;&#039;&#039; I used maple to find the integer solutions to d=4, a+b+c+d+e &amp;amp;ge; 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0) &amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 1&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have two pairs of points, each pair with three twos and&lt;br /&gt;
the same c statistic.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Assume the Moser set has two such pairs.  Without loss of generality,&lt;br /&gt;
they are 1222,3222, and 2122,2322. &lt;br /&gt;
Cut at the first coordinate. Both side slices include their central point, and so must have 13 or fewer points.  So the center slice must have 15 or more points. &lt;br /&gt;
&lt;br /&gt;
Recall the two points of the form say 2×22 which are in the center cube.  &lt;br /&gt;
We can slice at the second coordinate, and the side squares have the center spot occupied.&lt;br /&gt;
Consider the points in the center cube with one coordinate equal&lt;br /&gt;
to 2 in the cube (and two coordinates in the 4D configuration).  There must be&lt;br /&gt;
at most 8: two each from the side squares since the center&lt;br /&gt;
spot is occupied and possibly all 4 from the center square.&lt;br /&gt;
&lt;br /&gt;
From the Pareto optimal statistics in section n=3 of this Moser wiki, &lt;br /&gt;
and the fact the center cube has 15 points and has c=2,&lt;br /&gt;
the statistics of the center slice must be (4,9,2,0).  &lt;br /&gt;
But from the above we have at most 8 points &lt;br /&gt;
with one coordinate equal to 2, so we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 2&#039;&#039;&#039; If a Moser set has 4 points with 3 2’s and its size is 41&lt;br /&gt;
or more then it must not have any set of two points with three twos with&lt;br /&gt;
the same c statistic. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We start by assuming we have such a pair.  By Lemma 1, there is only one such pair.  Suppose they are 1222 and 3222.  Without loss of generality, the other two points with three 2s are 2122 and 2212.&lt;br /&gt;
&lt;br /&gt;
Slice on the first coordinate.  We get two slide slices with 13 or less points, so the center slice must have 15 points or more.  It cannot have sixteen points as it has at least one point with three twos in the configuration, which becomes a point with two 2’s in the central slice; that prevents the only realization of sixteen points from occurring since it has no points with two 2’s.  Further, from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki, we see its distribution must be (4,9,2,0).  &lt;br /&gt;
&lt;br /&gt;
Slice the center cube along the second coordinate.  One outside slice, with the point 2122, must have that point at its center, and hence has a maximum of 5 points and at most two points with two twos.  The center slice 22xy has no center point and one point with three twos (2212). Because of this the center slice can have at most 4 points and it can contain at most three points with two twos.  So the remaining slice 23xy must have all four points with two twos.&lt;br /&gt;
&lt;br /&gt;
The two side slices 1xyz and 3xyz, since they have thirteen points including the central point, must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal.&lt;br /&gt;
Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 3&#039;&#039;&#039; If a 4D Moser set has more than 40 points and 4 points with three&lt;br /&gt;
2’s it must have the following statistics:  (6,16,15,4,0) or (7,16,14,4,0).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; We have from Lemma 0(post 1113) that only the following statistics are possible:&lt;br /&gt;
(6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0).&lt;br /&gt;
and from Lemma 2&lt;br /&gt;
(If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. )&lt;br /&gt;
&lt;br /&gt;
We look at the number of points with one two.  Each one must appear in exactly one of the four possible middle cubes from the four possible coordinate slices.  If the number of these points is greater than 16 then there must be one such middle cube with five of these points.&lt;br /&gt;
By Lemma 2 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic.  We check the pareto optimizers from the wiki and find there is only one satisfying (5,p,3,q) and that is (5,4,3,0).&lt;br /&gt;
So the center has 12 points and distribution (5,4,3,0).  The side cube with&lt;br /&gt;
the remaining point with three twos has thirteen points, and distribution (3,6,3,1) or (4,6,2,1).  The remaining side cube must have 41-12-13=16 points and hence distribution (4,12,0,0)&lt;br /&gt;
&lt;br /&gt;
But this gives a total of 5 + 12+ 6 points with one two&lt;br /&gt;
which is too many for any of the possible sets of statistics.  So the only&lt;br /&gt;
distribution that is possible is the one with 16 points with one two&lt;br /&gt;
namely (6,16,15,4,0)or (7,16,14,4,0) and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; A 4D Moser set with 4 points with three threes has 40 points or less.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;By the reasoning of Lemma 3 each slice of a Moser set must have 4 points or less with one 2 in the center cube.  Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4.&lt;br /&gt;
&lt;br /&gt;
No extremal slice can have 16 points; if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized.&lt;br /&gt;
&lt;br /&gt;
So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0)&lt;br /&gt;
which looking at the Pareto optimizers must have 14 points or less.&lt;br /&gt;
&lt;br /&gt;
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points&lt;br /&gt;
(1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Then the statistics of the&lt;br /&gt;
cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube&lt;br /&gt;
must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0) but if we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0)&lt;br /&gt;
or we would have more than 6 points with no 2’s and we can discard&lt;br /&gt;
the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice&lt;br /&gt;
(2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.&lt;br /&gt;
&lt;br /&gt;
If we have the statistics:&lt;br /&gt;
(7,16,14,4,0) then recall we must have the distribution 12 14&lt;br /&gt;
15 or we will have less than 41 points. Also recall that the statistics of the side cube with its center point must be (3 5 3 1) or ( 4 5 2 1) then the statistics of the other side cube&lt;br /&gt;
must be ( 3 9 3 0) (4 9 2 0) or (4 11 0 0)&lt;br /&gt;
or (3 12 0 0)&lt;br /&gt;
Since the statistics are&lt;br /&gt;
(7,16,14,4,0) we must have one of the following four pairs of side cubes:&lt;br /&gt;
&lt;br /&gt;
(3 5 3 1) and (4 9 2 0)&lt;br /&gt;
(3 5 3 1) and (4 11 0 0)&lt;br /&gt;
( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 9 2 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more than four which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have (3 5 3 1) and (4 11 0 0)&lt;br /&gt;
forces the middle slice to have statistics (0 0 11 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 9 3 0)&lt;br /&gt;
forces the middle slice to have statistics (0 2 9 3)&lt;br /&gt;
which has less than 4 points with one two&lt;br /&gt;
hence forces another slice to have more which gives&lt;br /&gt;
a contradiction&lt;br /&gt;
&lt;br /&gt;
If we have ( 4 5 2 1) and (3 12 0 0)&lt;br /&gt;
has 17 points with one two which contradicts the&lt;br /&gt;
statistics of the entire set.&lt;br /&gt;
So none of the cases work and we are done.&lt;br /&gt;
&amp;lt;math&amp;gt;\square&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 1 or more points with three 2’s it has less than 43 points. ===&lt;br /&gt;
&lt;br /&gt;
Proof: Assume that such a set exists. We have already proved that it contains no point of type e. So we can assume that. This set does not contain such a point.&lt;br /&gt;
&lt;br /&gt;
This set since it has 43 points must have at least 18 points of type c. See http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations.&lt;br /&gt;
Since there is a point of type d we can slice the set so that one side cube has its center slot filled and so must have 13 points or less.&lt;br /&gt;
The other cubes must sum to 30. The other side cube must not have 16 points since then by the list of Pareto optimizers its distribution would be (4, 12, 0, 0) and it would contribute no points of type c to the Moser set. Then the other side cube could contribute at most 3 points of type c. So for there to be 18 the central cube must contribute 15 which is not possible.&lt;br /&gt;
&lt;br /&gt;
This means the center cube must have at least 15 points for there to be a total of 43. Now we will show that the configuration has at most one point of type d.&lt;br /&gt;
&lt;br /&gt;
Assume that there are more than one. Then no two can have the same c-statistic or we can slice and get two side cubes with center points filled which give each a total of at most 13 points which would force the center slice to have 17 points which is impossible.&lt;br /&gt;
&lt;br /&gt;
So we can get a slice that has one point of type d in a side cube and the other in the center cube. That means the side cube must have its center slot filled and it must have 13 points, the center cube contains one point of type c(type d in the overall Moser set) and thus must have 15 points or less as the only Pareto optimal set with 16 points contains none of type c. The remaining side cube must have 15 points or more.&lt;br /&gt;
&lt;br /&gt;
The only distribution which works is 13 points in one side cube and 15 in the other two. Now since there is no Moser three set with one point of type c and a total of fifteen points. There must be at least two points of type c in the center cube in giving at least 3 for the overall set.&lt;br /&gt;
From this and the Pareto optimizers we see that the distribution of the side slice with 13 points must be (3, 6,3,1) or (4,6,2,1) and of the center and side cubes (3,9,3,0) or (4,9,2,1) This means we have at least 17 points of type b. Every one of these points appears in the center cube in exactly one slice. There are 4 slices so there is one slice with 5 of these points in the center cube.&lt;br /&gt;
&lt;br /&gt;
Now since we have at least three points of type d and we can’t have two of them in the side cubes we must have at least one in the center cube. This means that that cube must have at most 13 points. No if either of the side cubes has a point of type d its total will be at most 13 and the third cube must be 17 which gives a contradiction so all three center points must be in the center cube.&lt;br /&gt;
&lt;br /&gt;
This lowers the total of the center cube to at most 12. This in fact forces the center cube to have distribution (5,4,3,0) or that distribution with one point removed.. This also forces the sides cubes to have total 31. This means that one will have 16 points and thus have statistics (4,12,0,0). The other will have 15 points and hence have 9 point s of type b giving a total of 25 of type b if the center cube has 12 points.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then it will have the distribution (5, 3, 3 as that is the only subset of the Pareto optimizers satisfying the conditions. Then both side cubes will have 16 points which means that neither will contain points of type c which means that there must be 18 points of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube has 12 points and the total number of points of type b is 25 so since each point of type b occurs in one slice and there are four possible slices there must be one slice with 6 points of type b since we get a contradiction as above if there are less than 11 points. So there must be 12 points the only distribution that works is (6,6,0,0).&lt;br /&gt;
&lt;br /&gt;
But then the middle slice contains none of the points of type d and one must be on a slide slice lowering the total of that slice to 13 or less forcing the other side slice to be above 18. So we have reached a contradiction in assuming that we have more than one point of type d the remaining case is that there is exactly one point of type d.&lt;br /&gt;
&lt;br /&gt;
If there is exactly one slice so it is in one of the side cubes. That cube will have at most 13 points. The other side cube can have at most 15 points because if it has 16 it will have no points of type c and the other side cube will have at most 3 of type c and since the total size is 18 we must have 15 of type c in the center cube which gives a contradiction.&lt;br /&gt;
&lt;br /&gt;
So the center cube must have at least 15 points. Furthermore since it has no points of type c since we have our single point of type d in one of the side cubes it must be a subset of (4,12,0,0) and must have at least 11 points of type b. To avoid forming a monochromatic line the points of type b of the side cubes must sum to 13 or less.&lt;br /&gt;
&lt;br /&gt;
If the side cube without the center cube has 15 or more points it must have at least 9 points of type b forcing at most 4 of type be in the other side cube which forces its size to 11 or less which forces both of the other cubes to have more than 16 which contradicts the fact that no side cube can have more than 15 points proved above.&lt;br /&gt;
So the side cube without the center point must have at most 14 points. The other side cube can have at most 13 points so the center cube must have 16 points and since it cannot have 17 we have the distribution (13,16,14).&lt;br /&gt;
&lt;br /&gt;
This forces the center cube to have all its points of type b there are 12 of these. From the Pareto optimizers the side cube with 13 points with the center spot filled must have at exactly 6 points of type b. We will get a line unless the remaining side cube has more than six points of type b. The only distributions with at least 14 points that satisfies this is (3,6,5,0) and (2,6,6,0). From the Pareto optimal statistics we can limit the possibilities for the other cubes of slice and get the following:&lt;br /&gt;
&lt;br /&gt;
So one center cube has statistics (4,12,0,0) the side cube with thirteen points and the center filled has distribution (3,6,3,1) or (4,6,2,1) and final cube has statistics (3,6,5,0) and (2,6,6,0). So the statistics of the Moser set must be (6,16, 21,1,0), (7,16, 20,1,0), or (8,16, 19,1,0). So the exact number of points of type b must be 16.&lt;br /&gt;
&lt;br /&gt;
Now slice the set so that the point of type d is in the center slice. Then the center cube contains a point of type c and has at most 10 points of type b. It must have at most 14 points that means that the other two cubes must total at least 29. If one is 16 then it contains no points of type c and since the center cube contributes at most 10 the other side cube must have 8 such points. This gives a contradiction which means one side cube must be of size 15 and the other of size 14. The one of size 15 contains at most three of type c. The center contains at most 10 so the remaining cube must have 5 or more.&lt;br /&gt;
&lt;br /&gt;
Again from the Pareto statistics we can limit the statistics of each of the cubes the side slice of size 15 must be (3,9,3,0) (4,9,2,0) otherwise it will have no points of type c and we will get a contradiction as above. The side slice must have at least 5 points of type c and at least 14 points so it must have statistics (2,6,6,0) or (3,6,5,0). The center slice must have 1 point of type c in its statistics and at least 9 points of type b in its statistics which are statistics of type in the whole Moser set. Thus it statistics are either (4,9,1,0) which is a Pareto optimal set with one point removed or (3,10,1,0). Then the distributions are either (5, 19,18,1), (5,18,19,1), (6,19,17,1,0),(6,18,18,1,0), (7,19,16,1,0) or (7,18,17,1,0). Since we must have 18 points of type c the only possible distributions are (5, 19,18,1), (5,18,19,1) or (5,18,19,1). But we have shown the exact number of points of type b must be 16 which is a contradiction and we are done. So every Moser set with d=4 cannot contain a point with three two’s.&lt;br /&gt;
&lt;br /&gt;
===  If a Moser set for n=4 has 3 or more points with three 2’s it has less than 42 points. ===&lt;br /&gt;
&lt;br /&gt;
If a Moser set has 42 points it will have less than three points with three twos. Assume that there is a set with more than two such points. If it has 4 or more it will have two with the same c-statistic. We can slice along that coordinate and get two side cubes with the center cube occupied which implies they have 13 points or less. The center cube will have one such point and hence have 15 points or less. So the total number of points is 41 or less which is a contradiction. So we can assume we have exactly three such points.&lt;br /&gt;
We can show no two of these points can have the same c-statistic. If they do again we can cut along the coordinate and the two side cubes will have their center slots occupied and will have 13 or less points and the center cube will have one such point and will have less than 16 points so the total will be less than 42. So we can assume that no two have the same c-statistic and without loss of generality we can assume that the points are (1,2,2,2), (2,1,2,2) and (2,2,1,2).&lt;br /&gt;
&lt;br /&gt;
Look at the points (1,1,2,2), (2,1,1,2) and (1,2,1,2). No two of them can be in the Moser set because they would form a line with (1,2,2,2), (2,1,2,2) and (2,2,1,2). So one pair must be missing. That pair will have a one say in coordinate a in common and hence. Will be in one side cube of a side slice resulting from the cut along coordinate a that contains its center point. This will mean that the side slice has 5 points of type b and hence contains 12 or less points.&lt;br /&gt;
&lt;br /&gt;
If it contains 9 points then the other two slices must have at least 33 and that will result in one having 17 which leads to a contradiction. If it has 10 points the other two must have at least 32 which means that both must have 16 points which means that the center cube and the other side cube have no points with three 2’s which mean there are less than three such points which leads to a contradiction.&lt;br /&gt;
&lt;br /&gt;
If it has 11 points then the remaining two cubes must total 31. Then one must total 16 and the other 15. If the center cube totals 16 then there can be no points with three 2’s inside it and since only one such point can be in either of the side cubes we have at most 2 which gives a contradiction. If one of the side cubes totals 16 it must have 12 points with one two. The center cube if it totals 15 must contribute three such points and the side cube with 12 points must have statistics (4,4,3,1) or one of the following with two points removed: (3,6,3,1) or (4,6,2,1). In any of these cases it will have at least 4 points with one two. This gives at least 19 points with one 2 in the set.&lt;br /&gt;
&lt;br /&gt;
So we can assume the side cube with center spot occupied has exactly 12 points and it contain at least 5 points with one two..If the other side slice contains its center point the two side slices will total less than 26 and the total in the set will be less than 42 and we will have a contradiction. So the center cube must have two points with three 2’s in the set and hence it will have at most 15 points and it will have at least three points with one two. If it has 16 points it will contain no points with three 2’s and since the side slices can contain at most one we will have a contradiction. So it must contain exactly 15 points which implies the other side slice must have at least 15 and hence 9 points with one two. So we have at lest 5+9+3 points with one two in the set. In the case in the above paragraph we have at least 19 so we can assume at least 17.&lt;br /&gt;
&lt;br /&gt;
Now since each point with one two occurs in exactly one of the cuts along a coordinate in the center slice there must be one slice with 5 points in the center slice with exactly two 2’s and from the Pareto optimizers we see the center slice can have at most 14 points. If both side slices contain their center points then the total number of points would be less than 13+13+14 which is less than 42. So only one can have its center point and the center cube must have two such points and again by the Pareto optimizers it must have at most 13 points. Then if one of the side cube had its center spot occupied it would have at most 13 points and since the center cube has at most 13 points the other side cube must have 16 points. Then it would have no points of type c. The side cube could contribute at most 3 such points and the center cube at most 6 but we must have 12 such points see http://michaelnielsen.org/polymath1/index.php?title=Maple_calculations. So we have a contradiction so all three points with three 2’s must be in the center cube that means from the Pareto optimizers that the center must be a subset of (5,4,3,0) and have at most 12 points. That means that the total of the side cubes must be 30. If one is 16 it has no points with two 2’s in the set. The center has at most 4 such points that means since there are at least 12 the other cube must have at least 8 but by the Pareto statistics a 14 point set can have at most 6 such points. If both are fifteen they can contribute at most 6 such points the center cube can contribute at most 4 and we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Proof that &amp;lt;math&amp;gt;c&#039;_5&amp;lt;/math&amp;gt; = 124 ==&lt;br /&gt;
&lt;br /&gt;
Let (A,B,C,D,E,F) be the statistics of a five-dimensional Moser set, thus (A,B,C,D,E,F) varies between (0,0,0,0,0,0) and (32,80,80,40,10,1).&lt;br /&gt;
&lt;br /&gt;
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points.  Indeed, one can take&lt;br /&gt;
&lt;br /&gt;
* all points with two 2s;&lt;br /&gt;
* all points with one 2 and an even number of 1s; and&lt;br /&gt;
* 11111, 11333, 33311, 33331. Any two of these four points differ in three places, except for one pair of points that differ in one place.&lt;br /&gt;
&lt;br /&gt;
For the rest of this section, we assume that the Moser set &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is a 125-point Moser set.  We will prove that &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; cannot exist.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 1&#039;&#039;&#039;: F=0.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If F is non-zero, then the Moser set contains 22222, then each of the 121 antipodal pairs can have at most one point in the set, leading to only 122 points. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 2&#039;&#039;&#039;: Every middle slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at most 41 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;  Without loss of generality we may consider the 2**** slice.  There are two cases, depending on the value of c(2****).&lt;br /&gt;
&lt;br /&gt;
Suppose first that c is at least 17; thus there are at least 17 points of the form 222xy, 22x2y, 22xy2, 2x2y2, 2xy22, or 2x22y, where the x, y denote 1 or 3.  This gives 34 &amp;quot;xy&amp;quot; wildcards in all in four coordinate slots; by the pigeonhole principle one of the slots sees at least 9 of the wildcards.  By symmetry, we may assume that the second coordinate slot sees at least 9 of these wildcards, thus there are at least 9 points of the form 2x22y, 2x2y2, 2xy22.  The x=1, x=3 cases can absorb at most six of these, thus each of these cases must absorb at least three points, with at least one absorbing at least five.  Let&#039;s say that it&#039;s the x=3 case that absorbs 5; thus &amp;lt;math&amp;gt;d(*1***) \geq 3&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d(*3***) \geq 5&amp;lt;/math&amp;gt;.  From the n=4 theory this means that the *1*** slice has at most 41 points, and the *3*** slice has at most 40.  Meanwhile, the middle slice has at most 43, leading to 41+41+42=124 points in all.&lt;br /&gt;
&lt;br /&gt;
Now suppose c is less than 17; then by the n=4 theory the middle slice is one of the eight (6,24,12,0,0) sets.  Without loss of generality we may take it to be &amp;lt;math&amp;gt;\Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211}&amp;lt;/math&amp;gt;; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223.  In particular, the *1*** and *3*** slices have a &amp;quot;d&amp;quot; value of at least three, and so have at most 41 points.  If the *2*** slice has at most 42 points, then we are at 41+42+41=124 points as needed, but if we have 43 or more, then we are back in the first case (as &amp;lt;math&amp;gt;c(*2***) \geq 17&amp;lt;/math&amp;gt;) after permuting the indices.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since 125=41+41+43, we thus have&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 1&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has at least 41 points.  If one side slice does have 41 points, then the other has 43.&lt;br /&gt;
&lt;br /&gt;
Combining this with the n=4 statistics, we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 2&#039;&#039;&#039;: Every side slice of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; has e=0, and &amp;lt;math&amp;gt;d \leq 3&amp;lt;/math&amp;gt;.  Given two opposite side slices, e.g. 1**** and 3****, we have &amp;lt;math&amp;gt;d(1****)+d(3****) \leq 4&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 3&#039;&#039;&#039;: E=0.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 4&#039;&#039;&#039;: Any middle slice has a &amp;quot;c&amp;quot; value of at most 8.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Let&#039;s work with the 2**** slice.  By Corollary 2, there are at most four contributions to c(2****) of the form 21*** or 23***, and similarly for the other three positions.  Double counting then gives the claim. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 3&#039;&#039;&#039;: &amp;lt;math&amp;gt;2B+C \leq 160&amp;lt;/math&amp;gt;.   &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: There are 160 lines connecting one &amp;quot;C&amp;quot; point to two &amp;quot;B&amp;quot; points (e.g. 11112, 11122, 11132); each &amp;quot;C&amp;quot; point lies in two of these, and each &amp;quot;B&amp;quot; point lies on four.  A Moser set can have at most two points out of each of these lines.  Double counting then gives the claim.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 4&#039;&#039;&#039; Given m A-points with &amp;lt;math&amp;gt;m \geq 5&amp;lt;/math&amp;gt;, there exists at least m-4 pairs (a,b) of such A-points with Hamming distance exactly two (i.e. b differs from a in exactly two places).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; It suffices to check this for m=5, since the case of larger m then follows by locating a pair, removing a point that contributes to that pair, and using the induction hypothesis.  Given 5 A-points, we may assume by the pigeonhole principle and symmetry that at least three of them have an odd number of 1s.  Suppose 11111 is one of the points, and that no pair has Hamming distance 2. All points with two 3s are excluded, so the only points allowed with an odd number of 1s are those with four 3s. But all those points differ from each other in two positions, so at most one of them is allowed.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 5&#039;&#039;&#039; &amp;lt;math&amp;gt;C \leq 79&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039;: Suppose for contradiction that C=80, then D=0 and &amp;lt;math&amp;gt;B \leq 40&amp;lt;/math&amp;gt;.  From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction.&lt;br /&gt;
&amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Define the &#039;&#039;&#039;score&#039;&#039;&#039; of a Moser set in &amp;lt;math&amp;gt;[3]^4&amp;lt;/math&amp;gt; to be the quantity &amp;lt;math&amp;gt;a + 5b/4 + 5c/3 + 5d/2 + 5e&amp;lt;/math&amp;gt;.  Double-counting (and Lemma 2) gives&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 5&#039;&#039;&#039;  The total score of all the ten side-slices of &amp;lt;math&amp;gt;{\mathcal A}&amp;lt;/math&amp;gt; is equal to &amp;lt;math&amp;gt;5|{\mathcal A}| = 5 \times 125&amp;lt;/math&amp;gt;.  In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.&lt;br /&gt;
&lt;br /&gt;
By Lemma 5 and symmetry, we may assume that the 1**** and 3**** slices have score adding up to at least 125.  By Lemma 2, the 2**** slice has at most 41 points, which imply that the 1**** and 3**** have 41, 42, or 43 points.  From the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:&lt;br /&gt;
&lt;br /&gt;
# (2,16,24,0,0) [42 points, score: 62]&lt;br /&gt;
# (4,16,23,0,0) [43 points, score: 62 1/3]&lt;br /&gt;
# (4,15,24,0,0) [43 points, score: 62 3/4]&lt;br /&gt;
# (3,16,24,0,0) [43 points, score: 63]&lt;br /&gt;
&lt;br /&gt;
Thus the 1**** and 3**** slices must come from the above list.  Furthermore, if one of the slices is of type 1, then the other must be of type 4, and if one slice is of type 2, then the other must be of type 3 or 4.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 6&#039;&#039;&#039; There exists one cut in which the side slices have total score strictly greater than 125 (i.e. they thus involve only Type 2, Type 3, and Type 4 slices, with at least one side slice not equal to Type 2, and the cut here is of the form 43+39+43).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; If not, then all cuts have side slices exactly equal to 125, which by the above table implies that one is Type 1 and one is Type 4, in particular all side slices have c=24.  But this forces C=80, contradicting Corollary 5. &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Adding up the corners we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 6&#039;&#039;&#039; &amp;lt;math&amp;gt;6 \leq A \leq 8&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 7&#039;&#039;&#039; &amp;lt;math&amp;gt;D=0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; Firstly, from Lemma 6 we have a cut in which the two side slices are omitting at most one C-point between them (and have no D-point), which forces the middle slice to have at most one D-point; thus D is at most 1.&lt;br /&gt;
&lt;br /&gt;
Now suppose instead that D=1 (e.g. if 11222 was in the set); then there would be two choices of coordinates in which one of the side slices would have d=1 (e.g. 1**** and *1****). But the [http://spreadsheets.google.com/ccc?key=p5T0SktZY9DuqNcxJ171Bbw&amp;amp;hl=en n=4 statistics] show that such slices have a score of at most 59 7/12, so that the total score from those two coordinates is at most 63 + 59 7/12 = 122 7/12. On the other hand, the other three slices have a net score of at most 63+63 = 126. This averages out to at most 124.633... &amp;lt; 125, a contradiction.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Corollary 7&#039;&#039;&#039; Every middle slice has at most 40 points.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; From Lemma 7 we see that the middle slice must have c=0, but from the n=4 statistics this is not possible for any slice of size 41 or higher (alternatively, one can use the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities &amp;lt;math&amp;gt;4a+b \leq 64&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b \leq 32&amp;lt;/math&amp;gt; must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0).  In particular the &amp;quot;a&amp;quot; index of the middle slices is at most 8.  Summing over all middle slices we conclude&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 9&#039;&#039;&#039; B is at most 40.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Lemma 10&#039;&#039;&#039; C is equal to 78 or 79.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Proof&#039;&#039;&#039; By Corollary 5, it suffices to show that &amp;lt;math&amp;gt;C \geq 78&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
As 125=43+39+43, we see that every center slice must have at least 39 points. By Lemma 2 and Lemma 7 the center slice has c=d=e=0, thus the center slice has a+b &amp;gt;= 39.  On the other hand, from the n=4 theory we have 4a+b &amp;lt;= 64, which forces b &amp;gt;= 31.&lt;br /&gt;
&lt;br /&gt;
By double counting, we see that 2C is equal to the sum of the b&#039;s of all the five center slices.  Thus C &amp;gt;= 5*31/2 = 77.5 and the claim follows.  &amp;lt;math&amp;gt;\Box&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From Lemmas 9 and 10 we see that &amp;lt;math&amp;gt;B+C \leq 119&amp;lt;/math&amp;gt;, and thus &amp;lt;math&amp;gt;A \geq 6&amp;lt;/math&amp;gt;.  Also, if &amp;lt;math&amp;gt;A \geq 7&amp;lt;/math&amp;gt;, then by Lemma 4 we have at least three pairs of A points with Hamming distance 2.  At most two of these pairs eliminate the same C point, so we would have C=78 in that case.  &lt;br /&gt;
&lt;br /&gt;
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:&lt;br /&gt;
&lt;br /&gt;
* (6,40,79,0,0,0)&lt;br /&gt;
* (7,40,78,0,0,0)&lt;br /&gt;
* (8,39,78,0,0,0)&lt;br /&gt;
&lt;br /&gt;
All three cases can be eliminated, giving &amp;lt;math&amp;gt;c&#039;_5=124&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (6,40,79,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
Look at the 6 A points.  From Lemma 4 we have at least two pairs (a,b), (c,d) of A-points that have Hamming separation 2.&lt;br /&gt;
&lt;br /&gt;
Now look at the midpoints of these two pairs; these midpoints are C-points cannot lie in the set.  But we have exactly one C-point missing from the set, thus the midpoints must be the same.  By symmetry, we may thus assume that the two pairs are (11111,11133) and (11113,11131).  Thus 11111,11133, 11113, 11131 are in the set, and so every C-point other than 11122 is in the set.  On the other hand, the B-points 11121, 11123, 11112, 11132 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
At most one of 11312, 11332 lie in the set (since 11322 lies in the set).   Suppose that 11312 lies outside the set, then we have a pair (xy1z2, xy3z2) with x,y,z = 1,3 that is totally omitted from the set, namely (11112,11312).  On the other hand, every other pair of this form can have at most one point in the set, thus there are at most seven points in the set of the form (xyzw2) with x,y,z,w = 1,3.  Similarly there are at most 8 points of the form xyz2w, or of xy2zw, x2yzw, 2xyzw, leading to at most 39 B-points in all, contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (7,40,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4, we have at least three pairs of A-points of distance two apart that lie in the set.&lt;br /&gt;
The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs must have the same midpoint, so we may assume as before that 111xy lies in the set for x,y=1,3, which implies that 1112* and 111*2 lie outside the set.&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 316.  On the other hand, every one of the 160 lines can have at most two points, and two of these lines (namely 1112*, 111*2) have no points.  Thus all the other lines must have exactly two points.  &lt;br /&gt;
&lt;br /&gt;
We know that the C-point 11122 is missing from the set; there is one other missing C-point.  Since 1112x, 111x2 lie outside the set, we conclude from the previous paragraph that 1132x, 113x2 and 1312x, 131x2 lie in the set.  Taking midpoints we conclude that 11322 and 13122 lie outside the set.  But this is now three C-points missing (together with 11122), a contradiction.&lt;br /&gt;
&lt;br /&gt;
=== Elimination of (8,39,78,0,0,0) ===&lt;br /&gt;
&lt;br /&gt;
By Lemma 4 we have at least four pairs of A-points of distance two apart that lie in the set. The midpoints of these pairs are C-points that do not lie in the set; but there are only two such C-points, thus two pairs (a,b), (c,d) must have the same midpoint p, and the other two pairs (a&#039;,b&#039;), (c&#039;,d&#039;) must also have the same midpoint p&#039;.  (Note that every C-point is the midpoint of at most two such pairs.)&lt;br /&gt;
&lt;br /&gt;
Now consider the 160 lines between 2 B points and one C point (cf. Lemma 3).  The sum of all the points in each such line (counting multiplicity) is 4B+2C = 312.  Every one of the 160 lines can have at most two points, and four of these (those in the plane of (a,b,c,d) or of (a&#039;,b&#039;,c&#039;,d&#039;) have no points.  Thus all other lines must have exactly two points.&lt;br /&gt;
&lt;br /&gt;
Without loss of generality we have (a,b)=(11111,11133), (c,d) = (11113,11131), thus p = 11122.  By permuting the first three indices, we may assume that p&#039; is not of the form x2y2z, x2yz2, xy22z, xy2z2.  Then 1112x lies outside the set and 1122x lies in the set, so by the above paragraph 1132x lies in the set; similarly for 113x2, 1312x, 131x2.  This implies that 13122, 11322 lie outside the set, but this (together with 11122) shows that at least three C-points are missing, a contradiction.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
General solution for &amp;lt;math&amp;gt;c&#039;_N&amp;lt;/math&amp;gt;. For any q, the union of the following sets is a Moser set.  The size of this Moser set is maximized when q is near N/3, in which case it is &amp;lt;math&amp;gt;O(3^n/\sqrt{n})&amp;lt;/math&amp;gt;.  Most of the points are in the layers with q 2s and q-1 2s.&lt;br /&gt;
&lt;br /&gt;
* q 2s, all points from A(N-q,1)&lt;br /&gt;
* q-1 2s, points from A(N-q+1,2)&lt;br /&gt;
* q-2 2s, points from A(N-q+2,3)&lt;br /&gt;
* etc.&lt;br /&gt;
&lt;br /&gt;
where A(m,d) is a subset of &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; for which any two points differ from each other in at least d places.&lt;br /&gt;
&lt;br /&gt;
Mathworld’s entry on error-correcting codes suggests it might be NP-complete to find the maximum size of A(m,d) in general.  However, the size of A(m,d) can be bounded by sphere-packing arguments.  For example, points in A(m,3) are surrounded by non-intersecting spheres of Hamming radius 1, and points in A(m,5) are surrounded by non-intersecting spheres of Hamming radius 2.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,1)| = 2^m&amp;lt;/math&amp;gt; because it includes all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,2)| = 2^{m-1}&amp;lt;/math&amp;gt; because it can include all points in &amp;lt;math&amp;gt;[1,3]^m&amp;lt;/math&amp;gt; with an odd number of ones.&lt;br /&gt;
* &amp;lt;math&amp;gt;|A(m,3)| \le 2^m/(m+1)&amp;lt;/math&amp;gt; because the size of a Hamming sphere is m+1.&lt;br /&gt;
&lt;br /&gt;
The integer programming routine from Maple 12 was used to obtain upper bounds for &amp;lt;math&amp;gt;c&#039;_6&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7&amp;lt;/math&amp;gt;.  A large number of linear inequalities, such as those described above in sections (n=3) and (n=4), were combined.  The details are in [[Maple calculations]].  The results were that &amp;lt;math&amp;gt;c&#039;_6 \le 361&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;c&#039;_7 \le 1071&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [[genetic algorithm]] has provided the following examples:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_6 \geq 353&amp;lt;/math&amp;gt; (26 examples; [http://twofoldgaze.wordpress.com/2009/03/10/353-element-solution/ here is one])&lt;br /&gt;
* &amp;lt;math&amp;gt;c&#039;_7 \geq 988&amp;lt;/math&amp;gt; [http://twofoldgaze.wordpress.com/2009/03/10/978-element-solution/ Here is the example]&lt;br /&gt;
&lt;br /&gt;
== Larger sides (k&amp;gt;3) ==&lt;br /&gt;
&lt;br /&gt;
The following set gives a lower bound for Moser’s cube &amp;lt;math&amp;gt;[4]^n&amp;lt;/math&amp;gt; (values 1,2,3,4):  Pick all points where q entries are 2 or 3; and also pick those where q-1 entries are 2 or 3 and an odd number of entries are 1.  This is maximized when q is near n/2, giving a lower bound of&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is comparable to &amp;lt;math&amp;gt;4^n/\sqrt{n}&amp;lt;/math&amp;gt; by [[Stirling&#039;s formula]].&lt;br /&gt;
&lt;br /&gt;
For k=5 (values 1,2,3,4,5) If A, B, C, D, and E denote the numbers of 1-s, 2-s, 3-s, 4-s and 5-s then the first three points of a geometric line form a 3-term arithmetic progression in A+E+2(B+D)+3C. So, for k=5 we have a similar lower bound for the Moser’s problem as for DHJ k=3, i.e. &amp;lt;math&amp;gt;5^{n - O(\sqrt{\log n})}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The k=6 version of Moser implies DHJ(3).  Indeed, any k=3 combinatorial line-free set can be &amp;quot;doubled up&amp;quot; into a k=6 geometric line-free set of the same density by pulling back the set from the map &amp;lt;math&amp;gt;\phi: [6]^n \to [3]^n&amp;lt;/math&amp;gt; that maps 1, 2, 3, 4, 5, 6 to 1, 2, 3, 3, 2, 1 respectively; note that this map sends k=6 geometric lines to k=3 combinatorial lines.&lt;/div&gt;</summary>
		<author><name>KristalCantwell</name></author>
	</entry>
</feed>