<?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=124.177.190.1</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=124.177.190.1"/>
	<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Special:Contributions/124.177.190.1"/>
	<updated>2026-08-14T04:45:52Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1302</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1302"/>
		<updated>2009-04-22T06:28:27Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* General lower bounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
Divide the points into five types: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
As a result, the only combinatorial line with more than one deleted point is the major diagonal.&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  When k is coprime to 6, the following saturated solution has all xxxx points deleted: the set of points (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== (5,k) ==&lt;br /&gt;
&lt;br /&gt;
Any saturated coordinate-line-free solution of the five-dimensional k-cube, with &amp;lt;math&amp;gt;k^4&amp;lt;/math&amp;gt; missing points, must have the following missing points of each type.&lt;br /&gt;
&lt;br /&gt;
* p(vwxyz) = 24a + (k-1)(k-2)(k-3)(k-4)&lt;br /&gt;
* p(wwxyz) = -60a + 10(k-1)(k-2)(k-3)&lt;br /&gt;
* p(xxyyz) = 30a + 15(k-1)(k-2)&lt;br /&gt;
* p(xxxyz) = 20a + 10(k-1)(k-2)&lt;br /&gt;
* p(xxxyy) = -10a + 10(k-1)&lt;br /&gt;
* p(xxxxy) = -5a + 5(k-1)&lt;br /&gt;
* p(xxxxx) = a+1&lt;br /&gt;
* (a=0..k-1)&lt;br /&gt;
&lt;br /&gt;
Again, the only combinatorial line with more than one missing point is the major diagonal.  The number of missing points on the main diagonal (xxxxx) can be 1 or k, but then the number of each other type is fixed.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are &amp;lt;math&amp;gt;k^{n-1}&amp;lt;/math&amp;gt; disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  &lt;br /&gt;
&lt;br /&gt;
If k is prime and k &amp;amp;ge; n, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
The next two bounds rely on prime numbers close to k.  The following paper shows there is a prime between &amp;lt;math&amp;gt;x-x^{0.525}&amp;lt;/math&amp;gt; and x.&lt;br /&gt;
&lt;br /&gt;
 Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
 The difference between consecutive primes. II.&lt;br /&gt;
 Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.  The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to 0 &amp;amp;le; x &amp;amp;le; p-k (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1300</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=1300"/>
		<updated>2009-04-21T08:14:10Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* n=4 */&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+3\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;
== 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;
== 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;
* (13111),(13113),(31311),(13333). 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>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Moser%27s_cube_problem&amp;diff=1294</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=1294"/>
		<updated>2009-04-14T14:51:18Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* n=5 */&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+3\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;
== 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.  It is possible to run through the same procedure as described above for n=3, and 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;
== 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;
* (13111),(13113),(31311),(13333). 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>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Fujimura%27s_problem&amp;diff=1293</id>
		<title>Fujimura&#039;s problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Fujimura%27s_problem&amp;diff=1293"/>
		<updated>2009-04-14T14:41:44Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; the largest subset of the triangular grid&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta_n := \{ (a,b,c) \in {\Bbb Z}_+^3: a+b+c=n \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which contains no equilateral triangles &amp;lt;math&amp;gt;(a+r,b,c), (a,b+r,c), (a,b,c+r)&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;r &amp;gt; 0&amp;lt;/math&amp;gt;; call such sets &#039;&#039;triangle-free&#039;&#039;.  (It is an interesting variant to also allow negative r, thus allowing &amp;quot;upside-down&amp;quot; triangles, but this does not seem to be as closely connected to DHJ(3).)  Fujimura&#039;s problem is to compute &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; ([http://www.research.att.com/~njas/sequences/A157795 OEIS A157795]).  This quantity is relevant to a certain [[hyper-optimistic conjecture]].&lt;br /&gt;
&lt;br /&gt;
We are also exploring issues raised by [[higher-dimensional Fujimura]].&lt;br /&gt;
&lt;br /&gt;
The following table was formed mostly by computer searches for optimal solutions.  We also found human proofs for most of them (see below).&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| n || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; || 1 || 2 || 4 || 6 || 9 || 12 || 15 || 18 || 22 || 26 || 31 || 35 || 40 || 46&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_0 = 1&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
This is clear.&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_1 = 2&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
This is clear.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_2 = 4&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
This is clear (e.g. remove (0,2,0) and (1,0,1) from &amp;lt;math&amp;gt;\Delta_2&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_3 = 6&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
For the lower bound, delete (0,3,0), (0,2,1), (2,1,0), (1,0,2) from &amp;lt;math&amp;gt;\Delta_3&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For the upper bound: observe that with only three removals each of these (non-overlapping) triangles must have one removal:&lt;br /&gt;
&lt;br /&gt;
* set A: (0,3,0) (0,2,1) (1,2,0)&lt;br /&gt;
* set B: (0,1,2) (0,0,3) (1,0,2)&lt;br /&gt;
* set C: (2,1,0) (2,0,1) (3,0,0)&lt;br /&gt;
&lt;br /&gt;
Consider choices from set A:&lt;br /&gt;
&lt;br /&gt;
* (0,3,0) leaves triangle (0,2,1) (1,2,0) (1,1,1)&lt;br /&gt;
* (0,2,1) forces a second removal at (2,1,0) [otherwise there is triangle at (1,2,0) (1,1,1) (2,1,0)] but then none of the choices for third removal work&lt;br /&gt;
* (1,2,0) is symmetrical with (0,2,1)&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_4=9&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
The set of all &amp;lt;math&amp;gt;(a,b,c)&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\Delta_4&amp;lt;/math&amp;gt; with exactly one of a,b,c =0, has 9 elements and is triangle-free.&lt;br /&gt;
(Note that it does contain the equilateral triangle (2,2,0),(2,0,2),(0,2,2), so would not qualify for the generalised version of Fujimura&#039;s problem in which &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is allowed to be negative.)&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;S\subset \Delta_4&amp;lt;/math&amp;gt; be a set without equilateral triangles. If &amp;lt;math&amp;gt;(0,0,4)\in S&amp;lt;/math&amp;gt;, there can only be one of &amp;lt;math&amp;gt;(0,x,4-x)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(x,0,4-x)&amp;lt;/math&amp;gt; in S for &amp;lt;math&amp;gt;x=1,2,3,4&amp;lt;/math&amp;gt;. Thus there can only be 5 elements in S with &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt;. The set of elements with &amp;lt;math&amp;gt;a,b&amp;gt;0&amp;lt;/math&amp;gt; is isomorphic to &amp;lt;math&amp;gt;\Delta_2&amp;lt;/math&amp;gt;, so S can at most have 4 elements in this set. So &amp;lt;math&amp;gt;|S|\leq 4+5=9&amp;lt;/math&amp;gt;. Similar if S contain (0,4,0) or (4,0,0). So if &amp;lt;math&amp;gt;|S|&amp;gt;9&amp;lt;/math&amp;gt; S doesn’t contain any of these. Also, S can’t contain all of &amp;lt;math&amp;gt;(0,1,3), (0,3,1), (2,1,1)&amp;lt;/math&amp;gt;. Similar for &amp;lt;math&amp;gt;(3,0,1), (1,0,3),(1,2,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(1,3,0), (3,1,0), (1,1,2)&amp;lt;/math&amp;gt;. So now we have found 6 elements not in S, but &amp;lt;math&amp;gt;|\Delta_4|=15&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;S\leq 15-6=9&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remark&#039;&#039;: curiously, the best constructions for &amp;lt;math&amp;gt;c_4&amp;lt;/math&amp;gt; uses only 7 points instead of 9.&lt;br /&gt;
&lt;br /&gt;
== n=5 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_5=12&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
The set of all (a,b,c) in &amp;lt;math&amp;gt;\Delta_5&amp;lt;/math&amp;gt; with exactly one of a,b,c=0 has 12 elements and doesn’t contain any equilateral triangles.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;S\subset \Delta_5&amp;lt;/math&amp;gt; be a set without equilateral triangles. If &amp;lt;math&amp;gt;(0,0,5)\in S&amp;lt;/math&amp;gt;, there can only be one of (0,x,5-x) and (x,0,5-x) in S for x=1,2,3,4,5. Thus there can only be 6 elements in S with a=0 or b=0. The set of element with a,b&amp;gt;0 is isomorphic to &amp;lt;math&amp;gt;\Delta_3&amp;lt;/math&amp;gt;, so S can at most have 6 elements in this set. So &amp;lt;math&amp;gt;|S|\leq 6+6=12&amp;lt;/math&amp;gt;. Similar if S contain (0,5,0) or (5,0,0). So if |S| &amp;gt;12 S doesn’t contain any of these. S can only contain 2 point in each of the following equilateral triangles:&lt;br /&gt;
&lt;br /&gt;
(3,1,1),(0,4,1),(0,1,4)&lt;br /&gt;
&lt;br /&gt;
(4,1,0),(1,4,0),(1,1,3)&lt;br /&gt;
&lt;br /&gt;
(4,0,1),(1,3,1),(1,0,4)&lt;br /&gt;
&lt;br /&gt;
(1,2,2),(0,3,2),(0,2,3)&lt;br /&gt;
&lt;br /&gt;
(3,2,0),(2,3,0),(2,2,1)&lt;br /&gt;
&lt;br /&gt;
(3,0,2),(2,1,2),(2,0,3)&lt;br /&gt;
&lt;br /&gt;
So now we have found 9 elements not in S, but &amp;lt;math&amp;gt;|\Delta_5|=21&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;S\leq 21-9=12&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=6 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_6 = 15&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_6 \geq 15&amp;lt;/math&amp;gt; from the bound for general n. &lt;br /&gt;
&lt;br /&gt;
Note that there are ten extremal solutions to &amp;lt;math&amp;gt;\overline{c}^\mu_3&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Solution I: remove 300, 020, 111, 003&amp;lt;br&amp;gt;&lt;br /&gt;
Solution II (and 2 rotations): remove 030, 111, 201, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III (and 2 rotations): remove 030, 021, 210, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III&#039; (and 2 rotations): remove 030, 120, 012, 201&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also consider the same triangular lattice with the point 020 removed, making a trapezoid. Solutions based on I-III are: &lt;br /&gt;
&lt;br /&gt;
Solution IV: remove 300, 111, 003&amp;lt;br&amp;gt;&lt;br /&gt;
Solution V: remove 201, 111, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution VI: remove 210, 021, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution VI&#039;: remove 120, 012, 201&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The on the 7x7x7 triangular lattice triangle 141-411-114 must have at least one point removed. Remove 141, noting by symmetry any logic that follows will also work for either of the other two points.&lt;br /&gt;
&lt;br /&gt;
Suppose we can remove all equilateral triangles on our 7×7x7 triangular lattice with only 12 removals.&lt;br /&gt;
&lt;br /&gt;
Here, &amp;quot;top triangle&amp;quot; means the top four rows of the lattice (with 060 at top) and &amp;quot;bottom trapezoid&amp;quot; means the bottom three rows.&lt;br /&gt;
&lt;br /&gt;
At least 4 of those removals must come from the top triangle (the solutions of &amp;lt;math&amp;gt; \overline{c}^\mu_3&amp;lt;/math&amp;gt; mentioned above).&lt;br /&gt;
&lt;br /&gt;
The bottom trapezoid includes the overlapping trapezoids 600-420-321-303 and 303-123-024-006. If the solutions of these trapezoids come from V, VI, or VI&#039;, then 6 points have been removed. Suppose the trapezoid 600-420-321-303 uses the solution IV (by symmetry the same logic will work with the other trapezoid). Then there are 3 disjoint triangles 402-222-204, 213-123-114, and 105-015-006. Then 6 points have been removed. Therefore at least six removals must come from the bottom trapezoid.&lt;br /&gt;
&lt;br /&gt;
To make a total of 12 removals there must be either:&amp;lt;br&amp;gt;&lt;br /&gt;
Case A: 4 removals from the top triangle and 8 from the bottom trapezoid.&amp;lt;br&amp;gt;&lt;br /&gt;
Case B: 5 removals from the top triangle and 7 from the bottom trapezoid.&amp;lt;br&amp;gt;&lt;br /&gt;
Case C: 6 removals from the top triangle and 6 from the bottom trapezoid.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Suppose case A is true.&lt;br /&gt;
&lt;br /&gt;
Because 141 is already removed, the solution to the top triangle must remove either solution I (remove 060, 330, 033), solution II (remove 060, 231, 132), solution IIb (remove 033, 150, 240) or solution IIc (remove 330, 051, 042)&lt;br /&gt;
&lt;br /&gt;
Suppose I is the solution for the top triangle.&lt;br /&gt;
&lt;br /&gt;
Suppose 222 is open. Then 420, 321, 123, and 024 must all be removed. This leaves five disjoint triangles which require removals in the bottom trapezoid (150-600-105, 051-501-006, 222-402-204, 231-411-213, 132-312-114); therefore the bottom trapezoid needs at least 9 removals, but we can only make 8, therefore 222 is closed.&lt;br /&gt;
&lt;br /&gt;
Suppose 411 is open. Then 213 and 015 must be removed. This leaves five disjoint triangles such that each triangle must have exactly one removal (420-150-123, 321-051,024, 600-510-501, 402-312-303, 204-114-105), so the remaining point (006) must be open, forcing 501 to be removed. This makes 600 and 510 open, and based on the triangles 600-240-204 and 510-150-114 both 204 and 114 must both be removed, but 204 and 114 are on the same disjoint triangle, contradicting the statement that each triangle must have exactly one removal. So 411 is closed.&lt;br /&gt;
&lt;br /&gt;
This leaves six disjoint triangles each which must have at least one removal (420-123-150, 321-024-051, 510-213-240, 312-015-042, 501-204-231, 402-105-132). This forces 600 and 006 to be open. Based on the triangles 006-501-051 and 600-204-240, this forces 501 and 204 to be open. But then there are no removals from the triangle 501-204-231, which is a contradiction. Therefore the solution of the top triangle cannot be I.&lt;br /&gt;
&lt;br /&gt;
Suppose II is the solution for the top triangle.&lt;br /&gt;
&lt;br /&gt;
There are seven disjoint triangles (150-600-105, 051-501-006, 222-402-204, 240-510-213, 042-312-015, 330-420-321, 033-123-024), therefore of the three points remaining in the bottom trapezoid (411, 303, 114) exactly one must be removed.&lt;br /&gt;
&lt;br /&gt;
Suppose 411 is removed. Then 114 and 303 are open; 114 open forces 510 to be removed, forcing 213 to be open. 114 and 213 open force 123 to be closed, forcing 024 to be open. 024 open forces 222 to be closed, which forces 204 to be open, which leaves the triangle 213-303-204 open so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
By symmetry 114 also can&#039;t be removed. Therefore we must remove 303. This leaves 411 and 114 open, forcing 510 and 015 closed. 510 and 015 closed forces 312 and 213 open, forcing 222 closed. 222 closed forces 402 and 204 open. 402 and 204 open force 501 and 105 closed. 510 and 105 closed force 600 and 006 open, leaving equilateral triangles 600-204-240 and 402-006-042 open. Therefore 303 can&#039;t be removed, and so the solution of the top triangle can&#039;t be II.&lt;br /&gt;
&lt;br /&gt;
Suppose IIb is the solution for the top triangle.&lt;br /&gt;
&lt;br /&gt;
Suppose 024 is open. This forces 420, 321, and 222 closed. Five disjoint triangles remain (510-600-501, 231-411-213, 132-312-114, 123-303-105, 024-204-006) so each must have exactly one point removed, and the remaining points in the bottom trapezoid (402, 015) must be open. This forces 312, 411, 510, and 006 closed, which then force the the other points in their disjoint triangles open (600, 501, 231, 213, 132, 114, 204). The triangle 501-231-204 is therefore open, so we have a contradiction, therefore 024 is closed.&lt;br /&gt;
&lt;br /&gt;
Suppose 006 is open. This forces 600, 501 and 402 to be closed, and leaves five disjoint triangles (510-420-411, 321-231-222, 312-132-114, 303-213-204, 105-015-006) and so 123 must be open. This forces 222 closed, which forces 321 open, which forces 420 closed, which forced 510 and 411 open, which forces 213 closed, which forces 303 and 204 open, which forces 105 closed, which forces 015 and 006 to be open, leaving an open triangle at 411-015-051. Therefore we have a contradiction, so 006 is closed.&lt;br /&gt;
&lt;br /&gt;
Given 024 and 006 closed, now note there are six disjoint triangles (600-510-501, 402-312-303, 204-114-105, 420-330-321, 222-132-123, 411-231-213). Therefore the remaining point in the bottom trapezoid 015 must be open, forcing 510, 411, and 312 to be closed. Using the disjoint triangles this forces 600, 501, 402, 303 and 213 to be open, which then forces 420 and 321 to be closed. Both 420 and 321 are on the same disjoint triangle, therefore we have a contradiction, so IIb can&#039;t be solution.&lt;br /&gt;
&lt;br /&gt;
Note by symmetry, the same logic for IIb will apply for IIc. Therefore case A isn&#039;t true.&lt;br /&gt;
&lt;br /&gt;
* Suppose case B is true.&lt;br /&gt;
&lt;br /&gt;
The row 330-231-132-033 has ten possible solutions (excluding reflections, which by symmetry will be handled by the same logic):&lt;br /&gt;
&lt;br /&gt;
Case Q: open-open-open-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case R: closed-closed-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case S: closed-open-open-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case T: closed-open-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case U: open-closed-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case V: closed-open-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case W: closed-closed-open-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case X: closed-open-closed-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case Y: open-closed-closed-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case Z: closed-open-open-closed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consider all 10 cases. Note in all these cases we are still assuming 141 is removed.&lt;br /&gt;
&lt;br /&gt;
(Case Q) 330, 231, 132, 033 open forces 060, 150, 051, 240, 141, 042 closed, but the top triangle only allows 5 removals, so case Q forms a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case R) 060-240-042 is left open, so case R forms a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case S) 231, 132, and 033 open force 031 and 042 removed, which means from 240, 150, 061 there must be exactly one removal.&lt;br /&gt;
&lt;br /&gt;
Suppose 213 is open. Then 411 and 015 are closed, and five disjoint triangles are left where each triangle must have exactly one removal (600-420-402, 501-321-303, 312-222-213, 204-105-114, 123-024-033). So the two remaining points in the bottom trapezoid (510 and 006) must be open. 510 and 006 open force 303 closed, which forces 321 and 501 open, which forces 204 closed, which forces 114 and 103 open, which forces 402 and 312 closed, forcing 222 open, leaving 321-231-222 as an open triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 213 is closed. This leaves six disjoint triangles (600-420-402, 501-231-204, 303-033-006, 411-321-312, 222-132-123, 114-024-015) which each have exactly one removal. Therefore 510 from the bottom trapezoid is open. Note since one of 150 and 060 must be open, then one of 114 or 015 must be closed; therefore 024 is open. This forces 123 closed, forcing 222 to be open, forcing 321 to be closed, forcing 411 and 312 open, forcing 421 closed, forcing 600 and 402 open, forcing 303 closed, forcing 006 open, forcing 204 closed, forcing 501 open, leaving the triangle 600-510-501 open and a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case T) 231 is closed, and 330, 132, and 033 open force 060, 150, and 042 closed. Since 141 is already closed we have five removals from the top triangle, so 240 and 051 are open.&lt;br /&gt;
&lt;br /&gt;
Suppose 024 is open. This forces 321 and 123 closed, leaving five disjoint triangles (600-510-501, 402-312-303, 204-114-105, 420-240-222, 213-033-015). Therefore 006 and 411 remaining in the bottom trapezoid are open, forcing 501, 303 and 015 closed, forcing 600, 510, 312, 402, and 213 open, forcing 222 closed, forcing 420 open, leaving the open triangle 420-510-411, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 024 is closed. There are now six disjoint triangles (510-600-501, 330-420-321, 312-402-303, 132-222-123, 033-213-015, 114-204-105). This leaves 411 and 006 open, which forces 015 and 501 closed, which forces 510 and 213 open, leaving the triangle 240-510-213 open, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case U) Given the removals 231, 132, 033, and 141, the only possible removal to not leave any equilateral triangles in the top triangle is 060. So 330, 240, 150, 051, and 042 are open.&lt;br /&gt;
&lt;br /&gt;
Suppose 420 is open. This forces 321, 222, and 123 closed. This leaves five disjoint triangles (600-330-303, 510-420-411, 204-105-114, 501-051-006, and 312-042-015), so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 420 is closed. This leaves six disjoint triangles (600-330-303, 501-051-006, 204-114-105, 510-240-213, 411-321-312, 222-042-024). 015 in the bottom trapezoid is therefore open, forcing 312 and 411 closed, but 312 and 411 are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case V) Given the removals 330, 132, and 033, the only possible removal to not leave any equilateral triangles in the top triangle is 060. So 150, 051, 240, 042, and 231 are open.&lt;br /&gt;
&lt;br /&gt;
Suppose 420 is open. Then 222 and 123 are closed, and we are left with 6 disjoint triangles (150-600-105, 240-510-213, 231-501-204, 024-114-015, 042-402-006, 411-321-312). This exceeds our limit of 7 removals in the bottom trapezoid, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 420 is closed. Again we are left with the same 6 disjoint triangles (150-600-105, 240-510-213, 231-501-204, 024-114-015, 042-402-006, 411-321-312). Therefore 222, 123, and 303 are open. This forces 321, 024, and 105 to be closed, which then forces 411 and 015 to be open, forming an open triangle at 051-411-015, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case W) Given the removals 330 and 231 with 132 and 033 open, 132 and 033 open force 042 closed. Given 141 is already closed, that leaves one more removal on the top triangle, which must be one of 060-150-051, so 240 must be open.&lt;br /&gt;
&lt;br /&gt;
Suppose 024 is open. This forces 123 to be closed, and leaves 6 disjoint triangles (600-510-501, 420-240-222, 411-321-312, 402-132-105, 213-033-015, 204-024-006). So 303 and 114 in the bottom trapezoid are left open, forcing 312 and 005 to be closed, forcing 204 and 321 to be open, forcing 600 and 501 to be closed. 600 and 501 are on the same disjoint triangle so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 024 is closed. Suppose 312 is open. This forces 114 to be closed, and leaevs 5 disjoint triangles (600-510-501, 411-321-312, 303-213-204, 222-132-123, 105-015-006). Therefore 402 in the bottom trapezoid is open, which forces 105 to be closed, which forces 015 and 006 to be open, which forces 213 and 303 to be closed, which are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 312 is closed. This leaves five disjoint triangles (510-240-213, 501-411-402, 222-132-123, 204-114-105, 303-033-006), and leaves 600, 420, 321, and 015 in the bottom trapezoid open. This forces 402 and 213 to be closed, which forces 510 and 411 to be open, leaving an open triangle at 510-420-411, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case X) 330 and 132 closed and 231 and 033 open imply 051 is closed, and since 141 is closed and we have only one more removal in the top triangle it must be one of 240, 042, or 060. This leaves 150 open.&lt;br /&gt;
&lt;br /&gt;
Suppose 321 is open. This forces 222 to be closed and leaves six disjoint triangles (600-420-402, 510-150-114, 411-321-312, 303-213-204, 105-015-006, 123-033-024), leaving 501 in the bottom trapezoid open. This forces 204 to be closed, which forces 303 to be open, leaving an open triangle at 501-321-303.&lt;br /&gt;
&lt;br /&gt;
So 321 is closed. This leaves six disjoint triangles (600-420-402, 510-150-114, 501-231-204, 312-222-213, 123-033-024, 105-015-006) and leaves 303 and 411 in the bottom trapezoid open. This forces 213 and 006 to be closed, and forces 312, 222, 105, and 015 to be open. This forces 600 to be closed and 402 to be open, leaving an open triangle at 402-312-303. So we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case Y) 330 and 033 are open, 330 and 033 open force 060 to be closed. With 141 closed there can be only one more removal, so suppose 150 is open (and note that if 150 was closed, we can use symmetry considering 051 to be open).&lt;br /&gt;
&lt;br /&gt;
Suppose 600 is open. This forces 303 to be closed, and leaves six disjoint triangles (510-150-114, 420-330-321, 411-501-402, 222-312-213, 033-123-024, 015-105-006). So 204 in the bottom trapezoid is left open. 600 and 150 open implies 105 is closed, forcing 015 and 006 to be open, forcing 024 and 213 to be closed, forcing 312, 222, and 123 to be open, forcing 042 in the top triangle to be closed (so 051 and 240 are open). 051 and 015 open force 411 to be closed, which forces 501 to be open and leaves the open triangle 051-501-006.&lt;br /&gt;
&lt;br /&gt;
So 600 is closed. This leaves six disjoint triangles (510-150-114, 420-330-321, 411-501-402, 222-312-213, 033-123-024, 015-105-006). 015 is the bottom trapezoid is then left open, forcing 312 and 411 to be closed. However, 312 and 411 are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case Z) 330, 141, and 033 are closed, and 231 and 132 are open. Suppose 051 is open (note that if this forms a contradiction, by symmetrical argument we can say both 150 and 051 are closed).&lt;br /&gt;
&lt;br /&gt;
Suppose 114 is closed. This leaves six disjoint triangles (600-510-501, 402-312-303, 105-015-006, 411-231-213, 222-132-123, 321-051-024) and so 420 and 204 are open. This forces 501 to be closed, which forces 510 and 600 to be open, which forces 411 and 402 to be closed, which forces 213 and 303 to be open, leaving an open triangle at 213-303-204.&lt;br /&gt;
&lt;br /&gt;
So 114 is open. Suppose 213 is closed. This leaves five disjoint triangles (600-420-402, 501-321-303, 411-051-015, 222-132-123, 204-024-006) and in the bottom trapezoid 510 and 105 are open. This forces 204 to be closed, forcing 024 and 006 to be open, forcing 015 to be closed, forcing 411 to be open, forcing 420 to be closed, forcing 402 to be open, leaving the open triangle 402-132-105.&lt;br /&gt;
&lt;br /&gt;
So both 114 and 213 are open. Therefore 411 and 312 are closed. This leaves five disjoint triangles (600-510-501, 303-213-204, 105-015-006, 222-132-123, 321-051-024). The remaining points in the bottom trapezoid (420, 402) are then open, forcing 105 to be closed, forcing 015 and 006 to be open, forcing 024 to be closed. Also note 114 and 213 open force 123 to be closed, which forces 222 to be open, which forces 321 to be closed. 321 and 024 are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
So 150 and 051 are both closed. However, this leaves the triangle 240-042-060 open, so case Z is impossible.&lt;br /&gt;
&lt;br /&gt;
Since all ten solutions have been eliminated, case B is impossible.&lt;br /&gt;
&lt;br /&gt;
* Suppose case C is true.&lt;br /&gt;
&lt;br /&gt;
Suppose the trapezoid 600-420-321-303 used solution IV. There are three disjoint triangles 402-222-204, 213-123-114, and 105-015-006. The remainder of the points in the bottom trapezoid (420, 321, 510, 501, 402, 312, 024) must be left open. 024 being open forces either 114 or 015 to be removed. &lt;br /&gt;
&lt;br /&gt;
Suppose 114 is removed. Then 213 is open, and with 312 open that forces 222 to be removed. Then 204 is open, and with 024 that forces 006 to be removed. So the bottom trapezoid is a removal configuration of 600-411-303-222-114-006, and the rest of the points in the bottom trapezoid are open. All 10 points in the top triangle form equilateral triangles with bottom trapezoid points, hence 10 removals in the top triangle would be needed (more than the 6 allowed), so 114 being removed doesn&#039;t work. &lt;br /&gt;
&lt;br /&gt;
Suppose 015 is removed. Then 006-024 forces 204 to be removed. Regardless of where the removal in 123-213-114, the points 420, 321, 222, 024, 510, 312, 501, 402, 105, and 006 must be open. This forces top triangle removals at 330, 231, 042, 060, 051, 132, our remaining 6 removals on the top triangle. However, we have already removed 141, forcing one removal too many, so the trapezoid 600-420-321-303 doesn&#039;t use solution IV.&lt;br /&gt;
&lt;br /&gt;
Suppose the trapezoid 600-420-321-303 uses solution VI. The trapezoid 303-123-024-006 can&#039;t be IV (already eliminated by symmetry) or VI&#039; (leaves the triangle 402-222-204). Suppose the trapezoid 303-123-024-006 is solution VI. The removals from the bottom trapezoid are then 420, 501, 312, 123, 204, and 015, leaving the remaining points in the bottom trapezoid open. The remaining open points is forces 10 top triangle removals, so the trapezoid 600-420-321-303 doesn&#039;t use solution VI. Therefore the trapezoid 303-123-024-006 is solution V. The removals from the bottom trapezoid are then 420, 510, 312, 204, 114, and 105. The remaining points in the bottom trapezoid are open, and force 9 top triangle removals, hence the trapezoid 303-123-024-006 can&#039;t be V, and the solution for 600-420-321-303 can&#039;t be VI. &lt;br /&gt;
&lt;br /&gt;
The solution VI&#039; for the trapezoid 600-420-321-303 can be eliminated by the same logic by symmetry. &lt;br /&gt;
&lt;br /&gt;
Therefore it is impossible for the bottom trapezoid to use only 6 removals.&lt;br /&gt;
&lt;br /&gt;
We have determined cases A, B, and C to be impossible, therefore it impossible to form a triangle free configuration on the 7x7x7 lattice with only 12 removals. Therefore &amp;lt;math&amp;gt;\overline{c}^\mu_6 = 15&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n = 7 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{7} \leq 22&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Using the same ten extremal solutions to &amp;lt;math&amp;gt; \overline{c}^\mu_3 &amp;lt;/math&amp;gt; as previous proofs:&lt;br /&gt;
&lt;br /&gt;
Solution I: remove 300, 020, 111, 003&amp;lt;br&amp;gt;&lt;br /&gt;
Solution II (and 2 rotations): remove 030, 111, 201, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III (and 2 rotations): remove 030, 021, 210, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III&#039; (and 2 rotations): remove 030, 120, 012, 201&lt;br /&gt;
&lt;br /&gt;
Suppose the 8x8x8 lattice can be triangle-free with only 13 removals.&lt;br /&gt;
&lt;br /&gt;
Slice the lattice into region A (070-340-043) region B (430-700-403) and region C (034-304-007). Each region must have at least 4 points removed. Note there is an additional disjoint triangle 232-322-223 that also must have a point removed. Therefore the points 331, 133, and 313 are open. 331-313 open means 511 must be removed, 331-133 open means 151 must be removed, and 133-313 open means 115 must be removed. Based on the three removals, the solutions for regions A, B, and C must be either I or II. All possible combinations for the solutions leave several triangles open (for example 160-520-124). So we have a contradiction, and &amp;lt;math&amp;gt; \overline{c}^\mu_7 \leq 22 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n = 8 ==&lt;br /&gt;
&lt;br /&gt;
== n = 9 ==&lt;br /&gt;
&lt;br /&gt;
== n = 10 ==&lt;br /&gt;
&lt;br /&gt;
== Computer data ==&lt;br /&gt;
&lt;br /&gt;
From integer programming, we have&lt;br /&gt;
&lt;br /&gt;
* n=3, maximum 6 points, [http://abel.math.umu.se/~klasm/solutions-n=3-k=3-FUJ 10 solutions]&lt;br /&gt;
* n=4, maximum 9 points, [http://abel.math.umu.se/~klasm/solutions-n=4-k=3-FUJ 1 solution]&lt;br /&gt;
* n=5, maximum 12 points, [http://abel.math.umu.se/~klasm/solutions-n=5-k=3-FUJ 1 solution]&lt;br /&gt;
* n=6, maximum 15 points, [http://abel.math.umu.se/~klasm/solutions-n=6-k=3-FUJ 4 solutions]&lt;br /&gt;
* n=7, maximum 18 points, [http://abel.math.umu.se/~klasm/solutions-n=7-k=3-FUJ 85 solutions]&lt;br /&gt;
* n=8, maximum 22 points, [http://abel.math.umu.se/~klasm/solutions-n=8-k=3-FUJ 72 solutions]&lt;br /&gt;
* n=9, maximum 26 points, [http://abel.math.umu.se/~klasm/solutions-n=9-k=3-FUJ 183 solutions]&lt;br /&gt;
* n=10, maximum 31 points, [http://abel.math.umu.se/~klasm/solutions-n=10-k=3-FUJ 6 solutions]&lt;br /&gt;
* n=11, maximum 35 points, [http://abel.math.umu.se/~klasm/solutions-n=11-k=3-FUJ 576 solutions]&lt;br /&gt;
* n=12, maximum 40 points, [http://abel.math.umu.se/~klasm/solutions-n=12-k=3-FUJ 876 solutions]&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
A lower bound for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; is 2n for &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;, by removing (n,0,0), the triangle (n-2,1,1) (0,n-1,1) (0,1,n-1), and all points on the edges of and inside the same triangle.  In a similar spirit, we have the lower bound&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_{n+1} \geq \overline{c}^\mu_n + 2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;, because we can take an example for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; (which cannot be all of &amp;lt;math&amp;gt;\Delta_n&amp;lt;/math&amp;gt;) and add two points on the bottom row, chosen so that the triangle they form has third vertex outside of the original example.&lt;br /&gt;
&lt;br /&gt;
An asymptotically superior lower bound for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; is 3(n-1), made of all points in &amp;lt;math&amp;gt;\Delta_n&amp;lt;/math&amp;gt; with exactly one coordinate equal to zero.&lt;br /&gt;
&lt;br /&gt;
A trivial upper bound is &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_{n+1} \leq \overline{c}^\mu_n + n+2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
since deleting the bottom row of a equilateral-triangle-free-set gives another equilateral-triangle-free-set.  We also have the asymptotically superior bound&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_{n+2} \leq \overline{c}^\mu_n + \frac{3n+2}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which comes from deleting two bottom rows of a triangle-free set and counting how many vertices are possible in those rows.&lt;br /&gt;
&lt;br /&gt;
Another upper bound comes from counting the triangles.   There are &amp;lt;math&amp;gt;\binom{n+2}{3}&amp;lt;/math&amp;gt; triangles, and each point belongs to n of them.  So you must remove at least (n+2)(n+1)/6 points to remove all triangles, leaving (n+2)(n+1)/3 points as an upper bound for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Asymptotics ==&lt;br /&gt;
&lt;br /&gt;
The [[corners theorem]] tells us that &amp;lt;math&amp;gt;\overline{c}^\mu_n = o(n^2)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For any equilateral triangle (a+r,b,c),(a,b+r,c) and (a,b,c+r), the value y+2z forms an arithmetic progression of length 3.  A Behrend set is a finite set of integers with no arithmetic progression of length 3 (see [[http://arxiv.org/PS_cache/arxiv/pdf/0811/0811.3057v2.pdf this paper]]).  By looking at those triples (a,b,c) with a+2b inside a Behrend set, one can obtain the lower bound &amp;lt;math&amp;gt;\overline{c}^\mu_n \geq n^2 \exp(-O(\sqrt{\log n}))&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Fujimura%27s_problem&amp;diff=1292</id>
		<title>Fujimura&#039;s problem</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Fujimura%27s_problem&amp;diff=1292"/>
		<updated>2009-04-14T14:38:29Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* Asymptotics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; the largest subset of the triangular grid&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta_n := \{ (a,b,c) \in {\Bbb Z}_+^3: a+b+c=n \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which contains no equilateral triangles &amp;lt;math&amp;gt;(a+r,b,c), (a,b+r,c), (a,b,c+r)&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;r &amp;gt; 0&amp;lt;/math&amp;gt;; call such sets &#039;&#039;triangle-free&#039;&#039;.  (It is an interesting variant to also allow negative r, thus allowing &amp;quot;upside-down&amp;quot; triangles, but this does not seem to be as closely connected to DHJ(3).)  Fujimura&#039;s problem is to compute &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; ([http://www.research.att.com/~njas/sequences/A157795 OEIS A157795]).  This quantity is relevant to a certain [[hyper-optimistic conjecture]].&lt;br /&gt;
&lt;br /&gt;
We are also exploring issues raised by [[higher-dimensional Fujimura]].&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| n || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7 || 8 || 9 || 10 || 11 || 12 || 13&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; || 1 || 2 || 4 || 6 || 9 || 12 || 15 || 18 || 22 || 26 || 31 || 35 || 40 || 46&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_0 = 1&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
This is clear.&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_1 = 2&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
This is clear.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_2 = 4&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
This is clear (e.g. remove (0,2,0) and (1,0,1) from &amp;lt;math&amp;gt;\Delta_2&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
== n=3 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_3 = 6&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
For the lower bound, delete (0,3,0), (0,2,1), (2,1,0), (1,0,2) from &amp;lt;math&amp;gt;\Delta_3&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For the upper bound: observe that with only three removals each of these (non-overlapping) triangles must have one removal:&lt;br /&gt;
&lt;br /&gt;
* set A: (0,3,0) (0,2,1) (1,2,0)&lt;br /&gt;
* set B: (0,1,2) (0,0,3) (1,0,2)&lt;br /&gt;
* set C: (2,1,0) (2,0,1) (3,0,0)&lt;br /&gt;
&lt;br /&gt;
Consider choices from set A:&lt;br /&gt;
&lt;br /&gt;
* (0,3,0) leaves triangle (0,2,1) (1,2,0) (1,1,1)&lt;br /&gt;
* (0,2,1) forces a second removal at (2,1,0) [otherwise there is triangle at (1,2,0) (1,1,1) (2,1,0)] but then none of the choices for third removal work&lt;br /&gt;
* (1,2,0) is symmetrical with (0,2,1)&lt;br /&gt;
&lt;br /&gt;
== n=4 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_4=9&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
The set of all &amp;lt;math&amp;gt;(a,b,c)&amp;lt;/math&amp;gt; in &amp;lt;math&amp;gt;\Delta_4&amp;lt;/math&amp;gt; with exactly one of a,b,c =0, has 9 elements and is triangle-free.&lt;br /&gt;
(Note that it does contain the equilateral triangle (2,2,0),(2,0,2),(0,2,2), so would not qualify for the generalised version of Fujimura&#039;s problem in which &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is allowed to be negative.)&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;S\subset \Delta_4&amp;lt;/math&amp;gt; be a set without equilateral triangles. If &amp;lt;math&amp;gt;(0,0,4)\in S&amp;lt;/math&amp;gt;, there can only be one of &amp;lt;math&amp;gt;(0,x,4-x)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(x,0,4-x)&amp;lt;/math&amp;gt; in S for &amp;lt;math&amp;gt;x=1,2,3,4&amp;lt;/math&amp;gt;. Thus there can only be 5 elements in S with &amp;lt;math&amp;gt;a=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;b=0&amp;lt;/math&amp;gt;. The set of elements with &amp;lt;math&amp;gt;a,b&amp;gt;0&amp;lt;/math&amp;gt; is isomorphic to &amp;lt;math&amp;gt;\Delta_2&amp;lt;/math&amp;gt;, so S can at most have 4 elements in this set. So &amp;lt;math&amp;gt;|S|\leq 4+5=9&amp;lt;/math&amp;gt;. Similar if S contain (0,4,0) or (4,0,0). So if &amp;lt;math&amp;gt;|S|&amp;gt;9&amp;lt;/math&amp;gt; S doesn’t contain any of these. Also, S can’t contain all of &amp;lt;math&amp;gt;(0,1,3), (0,3,1), (2,1,1)&amp;lt;/math&amp;gt;. Similar for &amp;lt;math&amp;gt;(3,0,1), (1,0,3),(1,2,1)&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;(1,3,0), (3,1,0), (1,1,2)&amp;lt;/math&amp;gt;. So now we have found 6 elements not in S, but &amp;lt;math&amp;gt;|\Delta_4|=15&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;S\leq 15-6=9&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Remark&#039;&#039;: curiously, the best constructions for &amp;lt;math&amp;gt;c_4&amp;lt;/math&amp;gt; uses only 7 points instead of 9.&lt;br /&gt;
&lt;br /&gt;
== n=5 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_5=12&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
The set of all (a,b,c) in &amp;lt;math&amp;gt;\Delta_5&amp;lt;/math&amp;gt; with exactly one of a,b,c=0 has 12 elements and doesn’t contain any equilateral triangles.&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;S\subset \Delta_5&amp;lt;/math&amp;gt; be a set without equilateral triangles. If &amp;lt;math&amp;gt;(0,0,5)\in S&amp;lt;/math&amp;gt;, there can only be one of (0,x,5-x) and (x,0,5-x) in S for x=1,2,3,4,5. Thus there can only be 6 elements in S with a=0 or b=0. The set of element with a,b&amp;gt;0 is isomorphic to &amp;lt;math&amp;gt;\Delta_3&amp;lt;/math&amp;gt;, so S can at most have 6 elements in this set. So &amp;lt;math&amp;gt;|S|\leq 6+6=12&amp;lt;/math&amp;gt;. Similar if S contain (0,5,0) or (5,0,0). So if |S| &amp;gt;12 S doesn’t contain any of these. S can only contain 2 point in each of the following equilateral triangles:&lt;br /&gt;
&lt;br /&gt;
(3,1,1),(0,4,1),(0,1,4)&lt;br /&gt;
&lt;br /&gt;
(4,1,0),(1,4,0),(1,1,3)&lt;br /&gt;
&lt;br /&gt;
(4,0,1),(1,3,1),(1,0,4)&lt;br /&gt;
&lt;br /&gt;
(1,2,2),(0,3,2),(0,2,3)&lt;br /&gt;
&lt;br /&gt;
(3,2,0),(2,3,0),(2,2,1)&lt;br /&gt;
&lt;br /&gt;
(3,0,2),(2,1,2),(2,0,3)&lt;br /&gt;
&lt;br /&gt;
So now we have found 9 elements not in S, but &amp;lt;math&amp;gt;|\Delta_5|=21&amp;lt;/math&amp;gt;, so &amp;lt;math&amp;gt;S\leq 21-9=12&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n=6 ==&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_6 = 15&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_6 \geq 15&amp;lt;/math&amp;gt; from the bound for general n. &lt;br /&gt;
&lt;br /&gt;
Note that there are ten extremal solutions to &amp;lt;math&amp;gt;\overline{c}^\mu_3&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Solution I: remove 300, 020, 111, 003&amp;lt;br&amp;gt;&lt;br /&gt;
Solution II (and 2 rotations): remove 030, 111, 201, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III (and 2 rotations): remove 030, 021, 210, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III&#039; (and 2 rotations): remove 030, 120, 012, 201&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also consider the same triangular lattice with the point 020 removed, making a trapezoid. Solutions based on I-III are: &lt;br /&gt;
&lt;br /&gt;
Solution IV: remove 300, 111, 003&amp;lt;br&amp;gt;&lt;br /&gt;
Solution V: remove 201, 111, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution VI: remove 210, 021, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution VI&#039;: remove 120, 012, 201&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The on the 7x7x7 triangular lattice triangle 141-411-114 must have at least one point removed. Remove 141, noting by symmetry any logic that follows will also work for either of the other two points.&lt;br /&gt;
&lt;br /&gt;
Suppose we can remove all equilateral triangles on our 7×7x7 triangular lattice with only 12 removals.&lt;br /&gt;
&lt;br /&gt;
Here, &amp;quot;top triangle&amp;quot; means the top four rows of the lattice (with 060 at top) and &amp;quot;bottom trapezoid&amp;quot; means the bottom three rows.&lt;br /&gt;
&lt;br /&gt;
At least 4 of those removals must come from the top triangle (the solutions of &amp;lt;math&amp;gt; \overline{c}^\mu_3&amp;lt;/math&amp;gt; mentioned above).&lt;br /&gt;
&lt;br /&gt;
The bottom trapezoid includes the overlapping trapezoids 600-420-321-303 and 303-123-024-006. If the solutions of these trapezoids come from V, VI, or VI&#039;, then 6 points have been removed. Suppose the trapezoid 600-420-321-303 uses the solution IV (by symmetry the same logic will work with the other trapezoid). Then there are 3 disjoint triangles 402-222-204, 213-123-114, and 105-015-006. Then 6 points have been removed. Therefore at least six removals must come from the bottom trapezoid.&lt;br /&gt;
&lt;br /&gt;
To make a total of 12 removals there must be either:&amp;lt;br&amp;gt;&lt;br /&gt;
Case A: 4 removals from the top triangle and 8 from the bottom trapezoid.&amp;lt;br&amp;gt;&lt;br /&gt;
Case B: 5 removals from the top triangle and 7 from the bottom trapezoid.&amp;lt;br&amp;gt;&lt;br /&gt;
Case C: 6 removals from the top triangle and 6 from the bottom trapezoid.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Suppose case A is true.&lt;br /&gt;
&lt;br /&gt;
Because 141 is already removed, the solution to the top triangle must remove either solution I (remove 060, 330, 033), solution II (remove 060, 231, 132), solution IIb (remove 033, 150, 240) or solution IIc (remove 330, 051, 042)&lt;br /&gt;
&lt;br /&gt;
Suppose I is the solution for the top triangle.&lt;br /&gt;
&lt;br /&gt;
Suppose 222 is open. Then 420, 321, 123, and 024 must all be removed. This leaves five disjoint triangles which require removals in the bottom trapezoid (150-600-105, 051-501-006, 222-402-204, 231-411-213, 132-312-114); therefore the bottom trapezoid needs at least 9 removals, but we can only make 8, therefore 222 is closed.&lt;br /&gt;
&lt;br /&gt;
Suppose 411 is open. Then 213 and 015 must be removed. This leaves five disjoint triangles such that each triangle must have exactly one removal (420-150-123, 321-051,024, 600-510-501, 402-312-303, 204-114-105), so the remaining point (006) must be open, forcing 501 to be removed. This makes 600 and 510 open, and based on the triangles 600-240-204 and 510-150-114 both 204 and 114 must both be removed, but 204 and 114 are on the same disjoint triangle, contradicting the statement that each triangle must have exactly one removal. So 411 is closed.&lt;br /&gt;
&lt;br /&gt;
This leaves six disjoint triangles each which must have at least one removal (420-123-150, 321-024-051, 510-213-240, 312-015-042, 501-204-231, 402-105-132). This forces 600 and 006 to be open. Based on the triangles 006-501-051 and 600-204-240, this forces 501 and 204 to be open. But then there are no removals from the triangle 501-204-231, which is a contradiction. Therefore the solution of the top triangle cannot be I.&lt;br /&gt;
&lt;br /&gt;
Suppose II is the solution for the top triangle.&lt;br /&gt;
&lt;br /&gt;
There are seven disjoint triangles (150-600-105, 051-501-006, 222-402-204, 240-510-213, 042-312-015, 330-420-321, 033-123-024), therefore of the three points remaining in the bottom trapezoid (411, 303, 114) exactly one must be removed.&lt;br /&gt;
&lt;br /&gt;
Suppose 411 is removed. Then 114 and 303 are open; 114 open forces 510 to be removed, forcing 213 to be open. 114 and 213 open force 123 to be closed, forcing 024 to be open. 024 open forces 222 to be closed, which forces 204 to be open, which leaves the triangle 213-303-204 open so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
By symmetry 114 also can&#039;t be removed. Therefore we must remove 303. This leaves 411 and 114 open, forcing 510 and 015 closed. 510 and 015 closed forces 312 and 213 open, forcing 222 closed. 222 closed forces 402 and 204 open. 402 and 204 open force 501 and 105 closed. 510 and 105 closed force 600 and 006 open, leaving equilateral triangles 600-204-240 and 402-006-042 open. Therefore 303 can&#039;t be removed, and so the solution of the top triangle can&#039;t be II.&lt;br /&gt;
&lt;br /&gt;
Suppose IIb is the solution for the top triangle.&lt;br /&gt;
&lt;br /&gt;
Suppose 024 is open. This forces 420, 321, and 222 closed. Five disjoint triangles remain (510-600-501, 231-411-213, 132-312-114, 123-303-105, 024-204-006) so each must have exactly one point removed, and the remaining points in the bottom trapezoid (402, 015) must be open. This forces 312, 411, 510, and 006 closed, which then force the the other points in their disjoint triangles open (600, 501, 231, 213, 132, 114, 204). The triangle 501-231-204 is therefore open, so we have a contradiction, therefore 024 is closed.&lt;br /&gt;
&lt;br /&gt;
Suppose 006 is open. This forces 600, 501 and 402 to be closed, and leaves five disjoint triangles (510-420-411, 321-231-222, 312-132-114, 303-213-204, 105-015-006) and so 123 must be open. This forces 222 closed, which forces 321 open, which forces 420 closed, which forced 510 and 411 open, which forces 213 closed, which forces 303 and 204 open, which forces 105 closed, which forces 015 and 006 to be open, leaving an open triangle at 411-015-051. Therefore we have a contradiction, so 006 is closed.&lt;br /&gt;
&lt;br /&gt;
Given 024 and 006 closed, now note there are six disjoint triangles (600-510-501, 402-312-303, 204-114-105, 420-330-321, 222-132-123, 411-231-213). Therefore the remaining point in the bottom trapezoid 015 must be open, forcing 510, 411, and 312 to be closed. Using the disjoint triangles this forces 600, 501, 402, 303 and 213 to be open, which then forces 420 and 321 to be closed. Both 420 and 321 are on the same disjoint triangle, therefore we have a contradiction, so IIb can&#039;t be solution.&lt;br /&gt;
&lt;br /&gt;
Note by symmetry, the same logic for IIb will apply for IIc. Therefore case A isn&#039;t true.&lt;br /&gt;
&lt;br /&gt;
* Suppose case B is true.&lt;br /&gt;
&lt;br /&gt;
The row 330-231-132-033 has ten possible solutions (excluding reflections, which by symmetry will be handled by the same logic):&lt;br /&gt;
&lt;br /&gt;
Case Q: open-open-open-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case R: closed-closed-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case S: closed-open-open-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case T: closed-open-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case U: open-closed-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case V: closed-open-closed-closed&amp;lt;br&amp;gt;&lt;br /&gt;
Case W: closed-closed-open-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case X: closed-open-closed-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case Y: open-closed-closed-open&amp;lt;br&amp;gt;&lt;br /&gt;
Case Z: closed-open-open-closed&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Consider all 10 cases. Note in all these cases we are still assuming 141 is removed.&lt;br /&gt;
&lt;br /&gt;
(Case Q) 330, 231, 132, 033 open forces 060, 150, 051, 240, 141, 042 closed, but the top triangle only allows 5 removals, so case Q forms a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case R) 060-240-042 is left open, so case R forms a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case S) 231, 132, and 033 open force 031 and 042 removed, which means from 240, 150, 061 there must be exactly one removal.&lt;br /&gt;
&lt;br /&gt;
Suppose 213 is open. Then 411 and 015 are closed, and five disjoint triangles are left where each triangle must have exactly one removal (600-420-402, 501-321-303, 312-222-213, 204-105-114, 123-024-033). So the two remaining points in the bottom trapezoid (510 and 006) must be open. 510 and 006 open force 303 closed, which forces 321 and 501 open, which forces 204 closed, which forces 114 and 103 open, which forces 402 and 312 closed, forcing 222 open, leaving 321-231-222 as an open triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 213 is closed. This leaves six disjoint triangles (600-420-402, 501-231-204, 303-033-006, 411-321-312, 222-132-123, 114-024-015) which each have exactly one removal. Therefore 510 from the bottom trapezoid is open. Note since one of 150 and 060 must be open, then one of 114 or 015 must be closed; therefore 024 is open. This forces 123 closed, forcing 222 to be open, forcing 321 to be closed, forcing 411 and 312 open, forcing 421 closed, forcing 600 and 402 open, forcing 303 closed, forcing 006 open, forcing 204 closed, forcing 501 open, leaving the triangle 600-510-501 open and a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case T) 231 is closed, and 330, 132, and 033 open force 060, 150, and 042 closed. Since 141 is already closed we have five removals from the top triangle, so 240 and 051 are open.&lt;br /&gt;
&lt;br /&gt;
Suppose 024 is open. This forces 321 and 123 closed, leaving five disjoint triangles (600-510-501, 402-312-303, 204-114-105, 420-240-222, 213-033-015). Therefore 006 and 411 remaining in the bottom trapezoid are open, forcing 501, 303 and 015 closed, forcing 600, 510, 312, 402, and 213 open, forcing 222 closed, forcing 420 open, leaving the open triangle 420-510-411, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 024 is closed. There are now six disjoint triangles (510-600-501, 330-420-321, 312-402-303, 132-222-123, 033-213-015, 114-204-105). This leaves 411 and 006 open, which forces 015 and 501 closed, which forces 510 and 213 open, leaving the triangle 240-510-213 open, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case U) Given the removals 231, 132, 033, and 141, the only possible removal to not leave any equilateral triangles in the top triangle is 060. So 330, 240, 150, 051, and 042 are open.&lt;br /&gt;
&lt;br /&gt;
Suppose 420 is open. This forces 321, 222, and 123 closed. This leaves five disjoint triangles (600-330-303, 510-420-411, 204-105-114, 501-051-006, and 312-042-015), so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 420 is closed. This leaves six disjoint triangles (600-330-303, 501-051-006, 204-114-105, 510-240-213, 411-321-312, 222-042-024). 015 in the bottom trapezoid is therefore open, forcing 312 and 411 closed, but 312 and 411 are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case V) Given the removals 330, 132, and 033, the only possible removal to not leave any equilateral triangles in the top triangle is 060. So 150, 051, 240, 042, and 231 are open.&lt;br /&gt;
&lt;br /&gt;
Suppose 420 is open. Then 222 and 123 are closed, and we are left with 6 disjoint triangles (150-600-105, 240-510-213, 231-501-204, 024-114-015, 042-402-006, 411-321-312). This exceeds our limit of 7 removals in the bottom trapezoid, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 420 is closed. Again we are left with the same 6 disjoint triangles (150-600-105, 240-510-213, 231-501-204, 024-114-015, 042-402-006, 411-321-312). Therefore 222, 123, and 303 are open. This forces 321, 024, and 105 to be closed, which then forces 411 and 015 to be open, forming an open triangle at 051-411-015, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case W) Given the removals 330 and 231 with 132 and 033 open, 132 and 033 open force 042 closed. Given 141 is already closed, that leaves one more removal on the top triangle, which must be one of 060-150-051, so 240 must be open.&lt;br /&gt;
&lt;br /&gt;
Suppose 024 is open. This forces 123 to be closed, and leaves 6 disjoint triangles (600-510-501, 420-240-222, 411-321-312, 402-132-105, 213-033-015, 204-024-006). So 303 and 114 in the bottom trapezoid are left open, forcing 312 and 005 to be closed, forcing 204 and 321 to be open, forcing 600 and 501 to be closed. 600 and 501 are on the same disjoint triangle so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 024 is closed. Suppose 312 is open. This forces 114 to be closed, and leaevs 5 disjoint triangles (600-510-501, 411-321-312, 303-213-204, 222-132-123, 105-015-006). Therefore 402 in the bottom trapezoid is open, which forces 105 to be closed, which forces 015 and 006 to be open, which forces 213 and 303 to be closed, which are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
Therefore 312 is closed. This leaves five disjoint triangles (510-240-213, 501-411-402, 222-132-123, 204-114-105, 303-033-006), and leaves 600, 420, 321, and 015 in the bottom trapezoid open. This forces 402 and 213 to be closed, which forces 510 and 411 to be open, leaving an open triangle at 510-420-411, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case X) 330 and 132 closed and 231 and 033 open imply 051 is closed, and since 141 is closed and we have only one more removal in the top triangle it must be one of 240, 042, or 060. This leaves 150 open.&lt;br /&gt;
&lt;br /&gt;
Suppose 321 is open. This forces 222 to be closed and leaves six disjoint triangles (600-420-402, 510-150-114, 411-321-312, 303-213-204, 105-015-006, 123-033-024), leaving 501 in the bottom trapezoid open. This forces 204 to be closed, which forces 303 to be open, leaving an open triangle at 501-321-303.&lt;br /&gt;
&lt;br /&gt;
So 321 is closed. This leaves six disjoint triangles (600-420-402, 510-150-114, 501-231-204, 312-222-213, 123-033-024, 105-015-006) and leaves 303 and 411 in the bottom trapezoid open. This forces 213 and 006 to be closed, and forces 312, 222, 105, and 015 to be open. This forces 600 to be closed and 402 to be open, leaving an open triangle at 402-312-303. So we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case Y) 330 and 033 are open, 330 and 033 open force 060 to be closed. With 141 closed there can be only one more removal, so suppose 150 is open (and note that if 150 was closed, we can use symmetry considering 051 to be open).&lt;br /&gt;
&lt;br /&gt;
Suppose 600 is open. This forces 303 to be closed, and leaves six disjoint triangles (510-150-114, 420-330-321, 411-501-402, 222-312-213, 033-123-024, 015-105-006). So 204 in the bottom trapezoid is left open. 600 and 150 open implies 105 is closed, forcing 015 and 006 to be open, forcing 024 and 213 to be closed, forcing 312, 222, and 123 to be open, forcing 042 in the top triangle to be closed (so 051 and 240 are open). 051 and 015 open force 411 to be closed, which forces 501 to be open and leaves the open triangle 051-501-006.&lt;br /&gt;
&lt;br /&gt;
So 600 is closed. This leaves six disjoint triangles (510-150-114, 420-330-321, 411-501-402, 222-312-213, 033-123-024, 015-105-006). 015 is the bottom trapezoid is then left open, forcing 312 and 411 to be closed. However, 312 and 411 are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
(Case Z) 330, 141, and 033 are closed, and 231 and 132 are open. Suppose 051 is open (note that if this forms a contradiction, by symmetrical argument we can say both 150 and 051 are closed).&lt;br /&gt;
&lt;br /&gt;
Suppose 114 is closed. This leaves six disjoint triangles (600-510-501, 402-312-303, 105-015-006, 411-231-213, 222-132-123, 321-051-024) and so 420 and 204 are open. This forces 501 to be closed, which forces 510 and 600 to be open, which forces 411 and 402 to be closed, which forces 213 and 303 to be open, leaving an open triangle at 213-303-204.&lt;br /&gt;
&lt;br /&gt;
So 114 is open. Suppose 213 is closed. This leaves five disjoint triangles (600-420-402, 501-321-303, 411-051-015, 222-132-123, 204-024-006) and in the bottom trapezoid 510 and 105 are open. This forces 204 to be closed, forcing 024 and 006 to be open, forcing 015 to be closed, forcing 411 to be open, forcing 420 to be closed, forcing 402 to be open, leaving the open triangle 402-132-105.&lt;br /&gt;
&lt;br /&gt;
So both 114 and 213 are open. Therefore 411 and 312 are closed. This leaves five disjoint triangles (600-510-501, 303-213-204, 105-015-006, 222-132-123, 321-051-024). The remaining points in the bottom trapezoid (420, 402) are then open, forcing 105 to be closed, forcing 015 and 006 to be open, forcing 024 to be closed. Also note 114 and 213 open force 123 to be closed, which forces 222 to be open, which forces 321 to be closed. 321 and 024 are on the same disjoint triangle, so we have a contradiction.&lt;br /&gt;
&lt;br /&gt;
So 150 and 051 are both closed. However, this leaves the triangle 240-042-060 open, so case Z is impossible.&lt;br /&gt;
&lt;br /&gt;
Since all ten solutions have been eliminated, case B is impossible.&lt;br /&gt;
&lt;br /&gt;
* Suppose case C is true.&lt;br /&gt;
&lt;br /&gt;
Suppose the trapezoid 600-420-321-303 used solution IV. There are three disjoint triangles 402-222-204, 213-123-114, and 105-015-006. The remainder of the points in the bottom trapezoid (420, 321, 510, 501, 402, 312, 024) must be left open. 024 being open forces either 114 or 015 to be removed. &lt;br /&gt;
&lt;br /&gt;
Suppose 114 is removed. Then 213 is open, and with 312 open that forces 222 to be removed. Then 204 is open, and with 024 that forces 006 to be removed. So the bottom trapezoid is a removal configuration of 600-411-303-222-114-006, and the rest of the points in the bottom trapezoid are open. All 10 points in the top triangle form equilateral triangles with bottom trapezoid points, hence 10 removals in the top triangle would be needed (more than the 6 allowed), so 114 being removed doesn&#039;t work. &lt;br /&gt;
&lt;br /&gt;
Suppose 015 is removed. Then 006-024 forces 204 to be removed. Regardless of where the removal in 123-213-114, the points 420, 321, 222, 024, 510, 312, 501, 402, 105, and 006 must be open. This forces top triangle removals at 330, 231, 042, 060, 051, 132, our remaining 6 removals on the top triangle. However, we have already removed 141, forcing one removal too many, so the trapezoid 600-420-321-303 doesn&#039;t use solution IV.&lt;br /&gt;
&lt;br /&gt;
Suppose the trapezoid 600-420-321-303 uses solution VI. The trapezoid 303-123-024-006 can&#039;t be IV (already eliminated by symmetry) or VI&#039; (leaves the triangle 402-222-204). Suppose the trapezoid 303-123-024-006 is solution VI. The removals from the bottom trapezoid are then 420, 501, 312, 123, 204, and 015, leaving the remaining points in the bottom trapezoid open. The remaining open points is forces 10 top triangle removals, so the trapezoid 600-420-321-303 doesn&#039;t use solution VI. Therefore the trapezoid 303-123-024-006 is solution V. The removals from the bottom trapezoid are then 420, 510, 312, 204, 114, and 105. The remaining points in the bottom trapezoid are open, and force 9 top triangle removals, hence the trapezoid 303-123-024-006 can&#039;t be V, and the solution for 600-420-321-303 can&#039;t be VI. &lt;br /&gt;
&lt;br /&gt;
The solution VI&#039; for the trapezoid 600-420-321-303 can be eliminated by the same logic by symmetry. &lt;br /&gt;
&lt;br /&gt;
Therefore it is impossible for the bottom trapezoid to use only 6 removals.&lt;br /&gt;
&lt;br /&gt;
We have determined cases A, B, and C to be impossible, therefore it impossible to form a triangle free configuration on the 7x7x7 lattice with only 12 removals. Therefore &amp;lt;math&amp;gt;\overline{c}^\mu_6 = 15&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n = 7 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{7} \leq 22&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Using the same ten extremal solutions to &amp;lt;math&amp;gt; \overline{c}^\mu_3 &amp;lt;/math&amp;gt; as previous proofs:&lt;br /&gt;
&lt;br /&gt;
Solution I: remove 300, 020, 111, 003&amp;lt;br&amp;gt;&lt;br /&gt;
Solution II (and 2 rotations): remove 030, 111, 201, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III (and 2 rotations): remove 030, 021, 210, 102&amp;lt;br&amp;gt;&lt;br /&gt;
Solution III&#039; (and 2 rotations): remove 030, 120, 012, 201&lt;br /&gt;
&lt;br /&gt;
Suppose the 8x8x8 lattice can be triangle-free with only 13 removals.&lt;br /&gt;
&lt;br /&gt;
Slice the lattice into region A (070-340-043) region B (430-700-403) and region C (034-304-007). Each region must have at least 4 points removed. Note there is an additional disjoint triangle 232-322-223 that also must have a point removed. Therefore the points 331, 133, and 313 are open. 331-313 open means 511 must be removed, 331-133 open means 151 must be removed, and 133-313 open means 115 must be removed. Based on the three removals, the solutions for regions A, B, and C must be either I or II. All possible combinations for the solutions leave several triangles open (for example 160-520-124). So we have a contradiction, and &amp;lt;math&amp;gt; \overline{c}^\mu_7 \leq 22 &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== n = 8 ==&lt;br /&gt;
&lt;br /&gt;
== n = 9 ==&lt;br /&gt;
&lt;br /&gt;
== n = 10 ==&lt;br /&gt;
&lt;br /&gt;
== Computer data ==&lt;br /&gt;
&lt;br /&gt;
From integer programming, we have&lt;br /&gt;
&lt;br /&gt;
* n=3, maximum 6 points, [http://abel.math.umu.se/~klasm/solutions-n=3-k=3-FUJ 10 solutions]&lt;br /&gt;
* n=4, maximum 9 points, [http://abel.math.umu.se/~klasm/solutions-n=4-k=3-FUJ 1 solution]&lt;br /&gt;
* n=5, maximum 12 points, [http://abel.math.umu.se/~klasm/solutions-n=5-k=3-FUJ 1 solution]&lt;br /&gt;
* n=6, maximum 15 points, [http://abel.math.umu.se/~klasm/solutions-n=6-k=3-FUJ 4 solutions]&lt;br /&gt;
* n=7, maximum 18 points, [http://abel.math.umu.se/~klasm/solutions-n=7-k=3-FUJ 85 solutions]&lt;br /&gt;
* n=8, maximum 22 points, [http://abel.math.umu.se/~klasm/solutions-n=8-k=3-FUJ 72 solutions]&lt;br /&gt;
* n=9, maximum 26 points, [http://abel.math.umu.se/~klasm/solutions-n=9-k=3-FUJ 183 solutions]&lt;br /&gt;
* n=10, maximum 31 points, [http://abel.math.umu.se/~klasm/solutions-n=10-k=3-FUJ 6 solutions]&lt;br /&gt;
* n=11, maximum 35 points, [http://abel.math.umu.se/~klasm/solutions-n=11-k=3-FUJ 576 solutions]&lt;br /&gt;
* n=12, maximum 40 points, [http://abel.math.umu.se/~klasm/solutions-n=12-k=3-FUJ 876 solutions]&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
A lower bound for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; is 2n for &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;, by removing (n,0,0), the triangle (n-2,1,1) (0,n-1,1) (0,1,n-1), and all points on the edges of and inside the same triangle.  In a similar spirit, we have the lower bound&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_{n+1} \geq \overline{c}^\mu_n + 2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
for &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;, because we can take an example for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; (which cannot be all of &amp;lt;math&amp;gt;\Delta_n&amp;lt;/math&amp;gt;) and add two points on the bottom row, chosen so that the triangle they form has third vertex outside of the original example.&lt;br /&gt;
&lt;br /&gt;
An asymptotically superior lower bound for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt; is 3(n-1), made of all points in &amp;lt;math&amp;gt;\Delta_n&amp;lt;/math&amp;gt; with exactly one coordinate equal to zero.&lt;br /&gt;
&lt;br /&gt;
A trivial upper bound is &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_{n+1} \leq \overline{c}^\mu_n + n+2&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
since deleting the bottom row of a equilateral-triangle-free-set gives another equilateral-triangle-free-set.  We also have the asymptotically superior bound&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\overline{c}^\mu_{n+2} \leq \overline{c}^\mu_n + \frac{3n+2}{2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which comes from deleting two bottom rows of a triangle-free set and counting how many vertices are possible in those rows.&lt;br /&gt;
&lt;br /&gt;
Another upper bound comes from counting the triangles.   There are &amp;lt;math&amp;gt;\binom{n+2}{3}&amp;lt;/math&amp;gt; triangles, and each point belongs to n of them.  So you must remove at least (n+2)(n+1)/6 points to remove all triangles, leaving (n+2)(n+1)/3 points as an upper bound for &amp;lt;math&amp;gt;\overline{c}^\mu_n&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Asymptotics ==&lt;br /&gt;
&lt;br /&gt;
The [[corners theorem]] tells us that &amp;lt;math&amp;gt;\overline{c}^\mu_n = o(n^2)&amp;lt;/math&amp;gt; as &amp;lt;math&amp;gt;n \to \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For any equilateral triangle (a+r,b,c),(a,b+r,c) and (a,b,c+r), the value y+2z forms an arithmetic progression of length 3.  A Behrend set is a finite set of integers with no arithmetic progression of length 3 (see [[http://arxiv.org/PS_cache/arxiv/pdf/0811/0811.3057v2.pdf this paper]]).  By looking at those triples (a,b,c) with a+2b inside a Behrend set, one can obtain the lower bound &amp;lt;math&amp;gt;\overline{c}^\mu_n \geq n^2 \exp(-O(\sqrt{\log n}))&amp;lt;/math&amp;gt;.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_Fujimura&amp;diff=1291</id>
		<title>Higher-dimensional Fujimura</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_Fujimura&amp;diff=1291"/>
		<updated>2009-04-14T14:28:49Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* General n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let &amp;lt;math&amp;gt;\overline{c}^\mu_{n,4}&amp;lt;/math&amp;gt; be the largest subset of the tetrahedral grid:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \{ (a,b,c,d) \in {\Bbb Z}_+^4: a+b+c+d=n \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which contains no tetrahedrons &amp;lt;math&amp;gt;(a+r,b,c,d), (a,b+r,c,d), (a,b,c+r,d), (a,b,c,d+r)&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;r &amp;gt; 0&amp;lt;/math&amp;gt;; call such sets &#039;&#039;tetrahedron-free&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These are the currently known values of the sequence:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| n || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\overline{c}^\mu_{n,4}&amp;lt;/math&amp;gt; || 1 || 3 || 7 || 14 || 24 || 37 || 55 || 78&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{0,4} = 1&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
There are no tetrahedrons, so no removals are needed.&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{1,4} = 3&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Removing any one point on the grid will leave the set tetrahedron-free.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{2,4} = 7&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Suppose the set can be tetrahedron-free in two removals. One of (2,0,0,0), (0,2,0,0), (0,0,2,0), and (0,0,0,2) must be removed. Removing any one of the four leaves three tetrahedrons to remove. However, no point coincides with all three tetrahedrons, therefore there must be more than two removals.&lt;br /&gt;
&lt;br /&gt;
Three removals (for example (0,0,0,2), (1,1,0,0) and (0,0,2,0)) leaves the set tetrahedron-free with a set size of 7.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
A lower bound of 2(n-1)(n-2) can be obtained by keeping all points with exactly one coordinate equal to zero.&lt;br /&gt;
&lt;br /&gt;
You get a non-constructive quadratic lower bound for the quadruple problem by taking a random subset of size &amp;lt;math&amp;gt;cn^2&amp;lt;/math&amp;gt;. If c is not too large the linearity of expectation shows that the expected number of tetrahedrons in such a set is less than one, and so there must be a set of that size with no tetrahedrons.  However, &amp;lt;math&amp;gt; c = (24^{1/4})/6 + o(1/n)&amp;lt;/math&amp;gt;, which is lower than the previous lower bound.&lt;br /&gt;
&lt;br /&gt;
With coordinates (a,b,c,d), consider the value a+2b+3c.  This forms an arithmetic progression of length 4 for any of the tetrahedrons we are looking for.  So we can take subsets of the form a+2b+3c=k, where k comes from a set with no such arithmetic progressions. [[http://arxiv.org/PS_cache/arxiv/pdf/0811/0811.3057v2.pdf This paper, Corollary 1]] gives this formula for a lower bound on the proportion of retained points:&lt;br /&gt;
&amp;lt;math&amp;gt;C\frac{(log N)^{1/4}}{2^\sqrt{8 log N}}&amp;lt;/math&amp;gt;, for some absolute constant C.&lt;br /&gt;
&lt;br /&gt;
An upper bound can be found by counting tetrahedrons. For a given n the tetrahedral grid has n(n+1)(n+2)(n+3)/24 tetrahedrons. Each point on the grid is part of n tetrahedrons, so (n+1)(n+2)(n+3)/24 points must be removed to remove all tetrahedrons. This gives an upper bound of (n+1)(n+2)(n+3)/8 remaining points.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_Fujimura&amp;diff=1290</id>
		<title>Higher-dimensional Fujimura</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_Fujimura&amp;diff=1290"/>
		<updated>2009-04-14T14:28:00Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* General n */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Let &amp;lt;math&amp;gt;\overline{c}^\mu_{n,4}&amp;lt;/math&amp;gt; be the largest subset of the tetrahedral grid:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; \{ (a,b,c,d) \in {\Bbb Z}_+^4: a+b+c+d=n \}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which contains no tetrahedrons &amp;lt;math&amp;gt;(a+r,b,c,d), (a,b+r,c,d), (a,b,c+r,d), (a,b,c,d+r)&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;r &amp;gt; 0&amp;lt;/math&amp;gt;; call such sets &#039;&#039;tetrahedron-free&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
These are the currently known values of the sequence:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| n || 0 || 1 || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\overline{c}^\mu_{n,4}&amp;lt;/math&amp;gt; || 1 || 3 || 7 || 14 || 24 || 37 || 55 || 78&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== n=0 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{0,4} = 1&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
There are no tetrahedrons, so no removals are needed.&lt;br /&gt;
&lt;br /&gt;
== n=1 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{1,4} = 3&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Removing any one point on the grid will leave the set tetrahedron-free.&lt;br /&gt;
&lt;br /&gt;
== n=2 ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\overline{c}^\mu_{2,4} = 7&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
Suppose the set can be tetrahedron-free in two removals. One of (2,0,0,0), (0,2,0,0), (0,0,2,0), and (0,0,0,2) must be removed. Removing any one of the four leaves three tetrahedrons to remove. However, no point coincides with all three tetrahedrons, therefore there must be more than two removals.&lt;br /&gt;
&lt;br /&gt;
Three removals (for example (0,0,0,2), (1,1,0,0) and (0,0,2,0)) leaves the set tetrahedron-free with a set size of 7.&lt;br /&gt;
&lt;br /&gt;
== General n ==&lt;br /&gt;
&lt;br /&gt;
A lower bound of 2(n-1)(n-2) can be obtained by keeping all points with exactly one coordinate equal to zero.&lt;br /&gt;
&lt;br /&gt;
You get a non-constructive quadratic lower bound for the quadruple problem by taking a random subset of size &amp;lt;math&amp;gt;cn^2&amp;lt;/math&amp;gt;. If c is not too large the linearity of expectation shows that the expected number of tetrahedrons in such a set is less than one, and so there must be a set of that size with no tetrahedrons.  However, &amp;lt;math&amp;gt; c = (24^{1/4})/6 + o(1/n)&amp;lt;/math&amp;gt;, which is lower than the previous lower bound.&lt;br /&gt;
&lt;br /&gt;
With coordinates (a,b,c,d), consider the value a+2b+3c.  This forms an arithmetic progression of length 4 for any of the tetrahedrons we are looking for.  So we can take subsets of the form a+2b+3c=k, where k comes from a set with no such arithmetic progressions. [[http://arxiv.org/PS_cache/arxiv/pdf/0811/0811.3057v2.pdf This paper, Corollary 1]] gives a complicated formula for a lower bound on the proportion of retained points:&lt;br /&gt;
&amp;lt;math&amp;gt;C\frac{(log N)^{1/4}}{2^\sqrt{8 log N}}&amp;lt;/math&amp;gt;, for some absolute constant C.&lt;br /&gt;
&lt;br /&gt;
An upper bound can be found by counting tetrahedrons. For a given n the tetrahedral grid has n(n+1)(n+2)(n+3)/24 tetrahedrons. Each point on the grid is part of n tetrahedrons, so (n+1)(n+2)(n+3)/24 points must be removed to remove all tetrahedrons. This gives an upper bound of (n+1)(n+2)(n+3)/8 remaining points.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1286</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1286"/>
		<updated>2009-04-13T12:23:16Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* General lower bounds */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
Divide the points into five types: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
As a result, the only combinatorial line with more than one deleted point is the major diagonal.&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  When k is coprime to 6, the following saturated solution has all xxxx points deleted: the set of points (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== (5,k) ==&lt;br /&gt;
&lt;br /&gt;
Any saturated coordinate-line-free solution of the five-dimensional k-cube, with &amp;lt;math&amp;gt;k^4&amp;lt;/math&amp;gt; missing points, must have the following missing points of each type.&lt;br /&gt;
&lt;br /&gt;
* p(vwxyz) = 24a + (k-1)(k-2)(k-3)(k-4)&lt;br /&gt;
* p(wwxyz) = -60a + 10(k-1)(k-2)(k-3)&lt;br /&gt;
* p(xxyyz) = 30a + 15(k-1)(k-2)&lt;br /&gt;
* p(xxxyz) = 20a + 10(k-1)(k-2)&lt;br /&gt;
* p(xxxyy) = -10a + 10(k-1)&lt;br /&gt;
* p(xxxxy) = -5a + 5(k-1)&lt;br /&gt;
* p(xxxxx) = a+1&lt;br /&gt;
* (a=0..k-1)&lt;br /&gt;
&lt;br /&gt;
Again, the only combinatorial line with more than one missing point is the major diagonal.  The number of missing points on the main diagonal (xxxxx) can be 1 or k, but then the number of each other type is fixed.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are &amp;lt;math&amp;gt;k^{n-1}&amp;lt;/math&amp;gt; disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and k &amp;amp;ge; n, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to 0 &amp;amp;le; x &amp;amp;le; p-k (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between &amp;lt;math&amp;gt;x-x^{0.525}&amp;lt;/math&amp;gt; and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1285</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1285"/>
		<updated>2009-04-13T12:18:36Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (5,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
Divide the points into five types: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
As a result, the only combinatorial line with more than one deleted point is the major diagonal.&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  When k is coprime to 6, the following saturated solution has all xxxx points deleted: the set of points (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== (5,k) ==&lt;br /&gt;
&lt;br /&gt;
Any saturated coordinate-line-free solution of the five-dimensional k-cube, with &amp;lt;math&amp;gt;k^4&amp;lt;/math&amp;gt; missing points, must have the following missing points of each type.&lt;br /&gt;
&lt;br /&gt;
* p(vwxyz) = 24a + (k-1)(k-2)(k-3)(k-4)&lt;br /&gt;
* p(wwxyz) = -60a + 10(k-1)(k-2)(k-3)&lt;br /&gt;
* p(xxyyz) = 30a + 15(k-1)(k-2)&lt;br /&gt;
* p(xxxyz) = 20a + 10(k-1)(k-2)&lt;br /&gt;
* p(xxxyy) = -10a + 10(k-1)&lt;br /&gt;
* p(xxxxy) = -5a + 5(k-1)&lt;br /&gt;
* p(xxxxx) = a+1&lt;br /&gt;
* (a=0..k-1)&lt;br /&gt;
&lt;br /&gt;
Again, the only combinatorial line with more than one missing point is the major diagonal.  The number of missing points on the main diagonal (xxxxx) can be 1 or k, but then the number of each other type is fixed.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1284</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1284"/>
		<updated>2009-04-13T07:55:14Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
Divide the points into five types: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
As a result, the only combinatorial line with more than one deleted point is the major diagonal.&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  When k is coprime to 6, the following saturated solution has all xxxx points deleted: the set of points (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== (5,k) ==&lt;br /&gt;
&lt;br /&gt;
Any saturated coordinate-line-free solution of the five-dimensional k-cube, with &amp;lt;math&amp;gt;k^4&amp;lt;/math&amp;gt; missing points, must have the following missing points of each type.&lt;br /&gt;
&lt;br /&gt;
* p(vwxyz) = 24a + (k-1)(k-2)(k-3)(k-4)&lt;br /&gt;
* p(wwxyz) = -60a + 10(k-1)(k-2)(k-3)&lt;br /&gt;
* p(xxyyz) = 30a + 15(k-1)(k-2)&lt;br /&gt;
* p(xxxyz) = 20a + 10(k-1)(k-2)&lt;br /&gt;
* p(xxxyy) = -10a + 10(k-1)&lt;br /&gt;
* p(xxxxy) = -5a + 5(k-1)&lt;br /&gt;
* p(xxxxx) = a+1&lt;br /&gt;
* (a=0..k-1)&lt;br /&gt;
&lt;br /&gt;
Again, the number of missing points on the main diagonal (xxxxx) can be anything from 1 to k, but then the number of each other type is fixed.  Also the only combinatorial line with more than one missing point is the major diagonal&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1283</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1283"/>
		<updated>2009-04-12T13:38:42Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
As a result, the only combinatorial line with more than one deleted point is the major diagonal.&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  When k is coprime to 6, the following saturated solution has all xxxx points deleted: the set of points (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== (5,k) ==&lt;br /&gt;
&lt;br /&gt;
Any saturated coordinate-line-free solution of the five-dimensional k-cube, with &amp;lt;math&amp;gt;k^4&amp;lt;/math&amp;gt; missing points, must have the following missing points of each type.&lt;br /&gt;
&lt;br /&gt;
* p(vwxyz) = 24a + (k-1)(k-2)(k-3)(k-4)&lt;br /&gt;
* p(wwxyz) = -60a + 10(k-1)(k-2)(k-3)&lt;br /&gt;
* p(xxyyz) = 30a + 15(k-1)(k-2)&lt;br /&gt;
* p(xxxyz) = 20a + 10(k-1)(k-2)&lt;br /&gt;
* p(xxxyy) = -10a + 10(k-1)&lt;br /&gt;
* p(xxxxy) = -5a + 5(k-1)&lt;br /&gt;
* p(xxxxx) = a+1&lt;br /&gt;
* (a=0..k-1)&lt;br /&gt;
&lt;br /&gt;
Again, the number of missing points on the main diagonal (xxxxx) can be anything from 1 to k, but then the number of each other type is fixed.  Also the only combinatorial line with more than one missing point is the major diagonal&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1282</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1282"/>
		<updated>2009-04-12T13:33:01Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
As a result, the only combinatorial line with more than one deleted point is the major diagonal.&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  When k is coprime to 6, the following saturated solution has all xxxx points deleted: the set of points (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1281</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1281"/>
		<updated>2009-04-12T13:24:32Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  A solution for (4,k) in which h=k-1, so all xxxx points are deleted, is the set (x,y,z,w) for which x+y+z+(k-3)w is a multiple of k.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1280</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1280"/>
		<updated>2009-04-12T13:23:32Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  A solution for (4,5) in which h=k-1, so all xxxx points are deleted, is the set (x,y,z,w) for which x+y+z+2w is a multiple of 5.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1279</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1279"/>
		<updated>2009-04-12T11:40:27Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
The saturated solutions described above for (n,k) have h=0, so the only xxxx point deleted is kkkk.  A solution for (4,5) in which h=k-1, so all xxxx points are deleted, is the set of 125 points whose indices are the following:&lt;br /&gt;
&lt;br /&gt;
   0    7   13   19   21&lt;br /&gt;
  27   33   36   40   49&lt;br /&gt;
  53   56   64   67   70&lt;br /&gt;
  79   80   87   91   98&lt;br /&gt;
 101  109  110  118  122&lt;br /&gt;
 127  133  136  140  149&lt;br /&gt;
 153  156  164  167  170&lt;br /&gt;
 176  184  185  193  197&lt;br /&gt;
 200  207  213  219  221&lt;br /&gt;
 229  230  237  241  248&lt;br /&gt;
 253  256  264  267  270&lt;br /&gt;
 276  284  285  293  297&lt;br /&gt;
 304  305  312  316  323&lt;br /&gt;
 327  333  336  340  349&lt;br /&gt;
 350  357  363  369  371&lt;br /&gt;
 379  380  387  391  398&lt;br /&gt;
 400  407  413  419  421&lt;br /&gt;
 427  433  436  440  449&lt;br /&gt;
 451  459  460  468  472&lt;br /&gt;
 478  481  489  492  495&lt;br /&gt;
 501  509  510  518  522&lt;br /&gt;
 529  530  537  541  548&lt;br /&gt;
 550  557  563  569  571&lt;br /&gt;
 578  581  589  592  595&lt;br /&gt;
 602  608  611  615  624&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1277</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1277"/>
		<updated>2009-04-12T02:52:54Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: /* (4,k) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 712-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
However, the only solutions known are for h=0.  These are the ones described above, when the deleted points are those whose coordinates sum to a multiple of k, and k is coprime to 6.&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
	<entry>
		<id>https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1267</id>
		<title>Higher-dimensional DHJ numbers</title>
		<link rel="alternate" type="text/html" href="https://michaelnielsen.org/polymath/index.php?title=Higher-dimensional_DHJ_numbers&amp;diff=1267"/>
		<updated>2009-04-06T10:42:14Z</updated>

		<summary type="html">&lt;p&gt;124.177.190.1: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For any n, k let &amp;lt;math&amp;gt;c_{n,k}&amp;lt;/math&amp;gt; denote the cardinality of the largest subset of &amp;lt;math&amp;gt;[k]^n&amp;lt;/math&amp;gt; that does not contain a combinatorial line.  When k=3, the quantity &amp;lt;math&amp;gt;c_{n,k} = c_n&amp;lt;/math&amp;gt; is studied for instance in [[upper and lower bounds|this page]].  The [[DHJ|density Hales-Jewett theorem]] asserts that for any fixed k, &amp;lt;math&amp;gt;\lim_{n \to \infty} c_n / k^n = 0&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A [http://abel.math.umu.se/~klasm/Data/HJ/ computer search] has found the following &amp;lt;math&amp;gt;c_n&amp;lt;/math&amp;gt; values for different values of dimension n and edgelength k.  Several of these values reach the upper bound of &amp;lt;math&amp;gt;(k-1)k^{n-1}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| border=1 | &lt;br /&gt;
|n\k || 2 || 3 || 4 || 5 || 6 || 7&lt;br /&gt;
|-&lt;br /&gt;
| 2 || 2 || 6 || 12 || 20 || 30 || 42&lt;br /&gt;
|-&lt;br /&gt;
| 3 || 3 || 18 || 48 || 100 || 180 || 294&lt;br /&gt;
|-&lt;br /&gt;
| 4 || 6 || 52 || 183 || 500 || 1051-1079 || 2058&lt;br /&gt;
|-&lt;br /&gt;
| 5 || 10 || 150 || 708-732 || 2500&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
We trivially have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,1} = 0&amp;lt;/math&amp;gt; for n &amp;gt; 0 (and &amp;lt;math&amp;gt;c_{0,0}=1&amp;lt;/math&amp;gt;)&lt;br /&gt;
and [[Sperner&#039;s theorem]] tells us that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,2} = \binom{n}{\lfloor n/2\rfloor}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Now we look at the opposite regime, in which n is small and k is large.  We easily have&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{0,k} = 1&amp;lt;/math&amp;gt;&lt;br /&gt;
and&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{1,k} = k-1&amp;lt;/math&amp;gt;;&lt;br /&gt;
&lt;br /&gt;
together with the trivial bound&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n+1,k} \leq k c_{n,k}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
this implies that&lt;br /&gt;
:&amp;lt;math&amp;gt;c_{n,k} \leq (k-1) k^{n-1}&amp;lt;/math&amp;gt;&lt;br /&gt;
for any &amp;lt;math&amp;gt;n \geq 1&amp;lt;/math&amp;gt;.  Let us call a pair (n,k) with n &amp;gt; 0 &#039;&#039;saturated&#039;&#039; if &amp;lt;math&amp;gt;c_{n,k} = (k-1) k^{n-1}&amp;lt;/math&amp;gt;, thus there exists a line-free set with exactly one point omitted from every row and column.  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Question&#039;&#039;&#039;: Which pairs (n,k) are saturated?&lt;br /&gt;
&lt;br /&gt;
From the above discussion we see that (1,k) is saturated for all k &amp;gt;= 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;
&lt;br /&gt;
== (2,k) is saturated when k is at least 1 ==&lt;br /&gt;
&lt;br /&gt;
It is simple to show when restricting to dimension two the maximal set size has to be k(k-1). This can be done by removing the diagonal values 11, 22, 33, …, kk. Since they are in disjoint lines this removal is minimal.&lt;br /&gt;
&lt;br /&gt;
The k missing points are one per line and one per column.&lt;br /&gt;
So their y-coordinates are a shuffle of their x-coordinates.&lt;br /&gt;
There are k! rearrangements of the numbers 1 to k.&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
The number of optimal solutions is [http://www.research.att.com/~njas/sequences/A002467 this sequence].&lt;br /&gt;
&lt;br /&gt;
== (3,k) is saturated when k is at least 3 ==&lt;br /&gt;
&lt;br /&gt;
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;
&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;
&lt;br /&gt;
The line with three wild cards has now been removed.&lt;br /&gt;
A line with two wildcards will be missing the point corresponding to the diagonal in S.&lt;br /&gt;
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;
Something similar should work in higher dimensions if one can find latin cubes etc with the right diagonal properties.&lt;br /&gt;
&lt;br /&gt;
== (n,k) is saturated when all prime divisors of k are at least n ==&lt;br /&gt;
&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.&lt;br /&gt;
Every combinatorial line has one point deleted, except for the major diagonal of n=k, which has all points deleted.&lt;br /&gt;
&lt;br /&gt;
Now consider for instance the case (n,k) = (4,35).  Select one value modulo 35 and eliminate it.&lt;br /&gt;
Combinatorial lines with one, two, three or four moving coordinates will&lt;br /&gt;
realize all values modulo 35 as one, two, three, or four are units modulo 35, thus (4,35) is saturated.&lt;br /&gt;
&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;
&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;
== (4,k) ==&lt;br /&gt;
&lt;br /&gt;
There are five types of points: xyzw, xxyz, xxyy, xxxy and xxxx.  Let p(xyzw) be the number of points removed whose coordinates are all different, and so on.  &lt;br /&gt;
&lt;br /&gt;
There are seven types of line: *xyz, *xxy, *xxx, **xy, **xx, ***x, ****.  Enough points must be removed to remove all lines.  That leads to the following inequalities&lt;br /&gt;
* &amp;lt;math&amp;gt; 4p(xyzw)+2p(xxyz) \ge 4k(k-1)(k-2)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyz)+4p(xxyy)+3p(xxxy) \ge 12k(k-1)&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxxy)+4p(xxxx) \ge 4k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;  p(xxyz)+3p(xxxy) \ge 6k(k-1) &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; 2p(xxyy)+6p(xxxx) \ge 6k &amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt; p(xxxx) \ge 1&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If (4,k) is saturated, then for some h between 0 and k-1 inclusive the k^3 missing points fall into the following types&lt;br /&gt;
* (k-1)(k-2)(k-3) - 6h of type xyzw&lt;br /&gt;
* 6(k-1)(k-2) + 12h of type xxyz&lt;br /&gt;
* 3(k-1) - 3h of type xxyy&lt;br /&gt;
* 4(k-1) - 4h of type xxxy&lt;br /&gt;
* 1 + h of type xxxx&lt;br /&gt;
&lt;br /&gt;
== General lower bounds ==&lt;br /&gt;
&lt;br /&gt;
There are k^{n-1} disjoint lines *abcd..m, so the density of removed points must be at least 1/k, and retained points at most (k-1)/k.  If n &amp;amp;le; p &amp;amp;le; k then one can get a density of (p-1)/p by deleting points whose coordinates sum to a multiple of p.&lt;br /&gt;
The lower bound (p-1)/p approaches (k-1)/k as &amp;lt;math&amp;gt;k\rightarrow \infty&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If k is prime and &amp;lt;math&amp;gt;k \ge n&amp;lt;/math&amp;gt;, then one can remove all combinatorial lines by deleting all points whose coordinates sum to a multiple of k.  So the density of deleted points in the optimal configuration is 1/k when k is prime.&lt;br /&gt;
&lt;br /&gt;
Let p be the smallest prime greater than or equal to both k and n.  One can remove all combinatorial lines by deleting all points whose coordinates sum to &amp;lt;math&amp;gt;0\le x\le p-k&amp;lt;/math&amp;gt; (mod p),  So the density of deleted points is at most (p-k+1)/p.  This approaches zero as &amp;lt;math&amp;gt;k\rightarrow\infty&amp;lt;/math&amp;gt;.  For example, the following paper shows there is a prime between x-x^0.525 and x.&lt;br /&gt;
&lt;br /&gt;
Baker, R. C.(1-BYU); Harman, G.(4-LNDHB); Pintz, J.(H-AOS)&lt;br /&gt;
The difference between consecutive primes. II.&lt;br /&gt;
Proc. London Math. Soc. (3) 83 (2001), no. 3, 532–562.&lt;br /&gt;
&lt;br /&gt;
I think these results can be used to get lower bounds on lines free sets for large n for all values of k. For any k and any n we can find a prime prelatively close to k^n then we remove the first k+1 values mod p then we pick a value then we remove the must k+1 so we only have k+2, 2k+3, etch&lt;br /&gt;
the idea is to prevent any two values on a line because two points on a combinatorial line increase by at most k. This has density 1/k so we have&lt;br /&gt;
a line free density of 1/(k+1).&lt;br /&gt;
&lt;br /&gt;
I think the above bound could possibly be improved. First by getting most of the set concentrated around the point with equal numbers of ones twos and threes or the point with values closes to equality the standard deviation should be something like the square root of n. Then we could apply the near prime with sets c(k^.5 + 1) and get a density of roughly c/k^.5&lt;br /&gt;
which I think will be better than the Behrend-Elkin construction as e^-x will eventually be less than 1/x as x increases without limit and the square root of k will increase without limit.&lt;/div&gt;</summary>
		<author><name>124.177.190.1</name></author>
	</entry>
</feed>