Moser's cube problem
Define a Moser set to be a subset of [math]\displaystyle{ [3]^n }[/math] which does not contain any geometric line, and let [math]\displaystyle{ c'_n }[/math] denote the size of the largest Moser set in [math]\displaystyle{ [3]^n }[/math]. The first few values are (see OEIS A003142):
- [math]\displaystyle{ c'_0 = 1; c'_1 = 2; c'_2 = 6; c'_3 = 16; c'_4 = 43; c'_5 = 124. }[/math]
Beyond this point, we only have some upper and lower bounds, in particular [math]\displaystyle{ 353 \leq c'_6 \leq 361 }[/math]; see this spreadsheet for the latest bounds.
The best known asymptotic lower bound for [math]\displaystyle{ c'_n }[/math] is
- [math]\displaystyle{ c'_n \gg 3^n/\sqrt{n} }[/math],
formed by fixing the number of 2s to a single value near n/3. Compare this to the DHJ(2) or Sperner limit of [math]\displaystyle{ 2^n/\sqrt{n} }[/math]. Is it possible to do any better? Note that we have a significantly better bound for the DHJ(3) [math]\displaystyle{ c_n }[/math]:
- [math]\displaystyle{ c_n \geq 3^{n-O(\sqrt{\log n})} }[/math].
A more precise lower bound is
- [math]\displaystyle{ c'_n \geq \binom{n+1}{q} 2^{n-q} }[/math]
where q is the nearest integer to [math]\displaystyle{ n/3 }[/math], 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 [math]\displaystyle{ c'_5 \geq 120 }[/math], which compares with the upper bound [math]\displaystyle{ c'_5 \leq 3 c'_4 = 129 }[/math].
Using DHJ(3), we have the upper bound
- [math]\displaystyle{ c'_n = o(3^n) }[/math],
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's theorem).
Notation
Given a Moser set A in [math]\displaystyle{ [3]^n }[/math], 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 statistics of A. Given a slice S of [math]\displaystyle{ [3]^n }[/math], 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).
We call a statistic (a,b,c,...) attainable if it is attained by a Moser set. We say that an attainable statistic is Pareto-optimal if it cannot be pointwise dominated by any other attainable statistic (a',b',c',...) (thus [math]\displaystyle{ a' \geq a }[/math], [math]\displaystyle{ b' \geq b }[/math], etc.) We say that it is extremal 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.
We let [math]\displaystyle{ (\alpha_0,\alpha_1,\ldots) }[/math] be the normalized version of [math]\displaystyle{ (a,b,\ldots) }[/math], 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 [math]\displaystyle{ \alpha_0 = a/2^n, \alpha_1 = b/(n 2^{n-1}), \alpha_3 = c/(\binom{n}{2} 2^{n-2}) }[/math], etc., and the [math]\displaystyle{ \alpha_i }[/math] range between 0 and 1. Averaging arguments show that any linear inequality obeyed by the [math]\displaystyle{ \alpha_i }[/math] at one dimension is automatically inherited by higher dimensions, as are shifted versions of this inequality (in which [math]\displaystyle{ \alpha_i }[/math] is replaced by [math]\displaystyle{ \alpha_{i+1} }[/math].
The idea in 'c-statistics' 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 [math]\displaystyle{ [3]^4 }[/math] 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.
n=0
We trivially have [math]\displaystyle{ c'_0=1. }[/math]
n=1
We trivially have [math]\displaystyle{ c'_1=2. }[/math] 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 [math]\displaystyle{ a+b \leq 2 }[/math], or in normalized notation
- [math]\displaystyle{ 2\alpha_0 + \alpha_1 \leq 2 }[/math].
n=2
We have [math]\displaystyle{ c'_2 = 6 }[/math]; the upper bound follows since [math]\displaystyle{ c'_2 \leq 3 c'_1 }[/math], and the lower bound follows by deleting one of the two diagonals from [math]\displaystyle{ [3]^2 }[/math] (these are the only extremisers).
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
(4,0,0), (2,4,0), (2,2,1).
The sharp linear inequalities obeyed by a,b,c (other than the trivial ones [math]\displaystyle{ a,b,c \geq 0 }[/math]) are then
- [math]\displaystyle{ 2a+b+2c \leq 8 }[/math]
- [math]\displaystyle{ b+2c \leq 4 }[/math]
- [math]\displaystyle{ a+2c \leq 4 }[/math]
- [math]\displaystyle{ c \leq 1 }[/math].
In normalized notation, we have
- [math]\displaystyle{ 4\alpha_0 + 2\alpha_1 + \alpha_2 \leq 4 }[/math]
- [math]\displaystyle{ 2\alpha_1 + \alpha_2 \leq 2 }[/math]
- [math]\displaystyle{ 2\alpha_0 + \alpha_2 \leq 2 }[/math]
- [math]\displaystyle{ \alpha_2 \leq 1 }[/math].
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:
- [math]\displaystyle{ c(22)+c(2x)+c(xx) \le 4 }[/math],
- [math]\displaystyle{ c(22)+c(x2)+c(xx) \le 4 }[/math].
n=3
We have [math]\displaystyle{ c'_3 = 16 }[/math]. 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 [math]\displaystyle{ c_3 = 18 }[/math]; the 17-point and 18-point line-free sets each contain a geometric line.
If a Moser set in [math]\displaystyle{ [3]^3 }[/math] 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 [math]\displaystyle{ 2^{13} = 8192 }[/math] 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 found here.)
The Pareto-optimal statistics are
(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).
These were found from a search of the [math]\displaystyle{ 2^{27} }[/math] subsets of the cube. A spreadsheet containing these statistics can be found here.
The extremal statistics are
(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)
The sharp linear bounds are :
- [math]\displaystyle{ 2a+b+2c+4d \leq 22 }[/math]
- [math]\displaystyle{ 3a+2b+3c+6d \leq 36 }[/math]
- [math]\displaystyle{ 7a+2b+4c+8d \leq 56 }[/math]
- [math]\displaystyle{ 6a+2b+3c+6d \leq 48 }[/math]
- [math]\displaystyle{ b+c+3d \leq 12 }[/math]
- [math]\displaystyle{ a+2c+4d \leq 14 }[/math]
- [math]\displaystyle{ 5a+4c+8d \leq 40 }[/math]
- [math]\displaystyle{ a+4d \leq 8 }[/math]
- [math]\displaystyle{ b+6d \leq 12 }[/math]
- [math]\displaystyle{ c+3d \leq 6 }[/math]
- [math]\displaystyle{ d \leq 1 }[/math]
In normalized notation,
- [math]\displaystyle{ 8\alpha_0+ 6\alpha_1 + 6\alpha_2 + 2\alpha_3 \leq 11 }[/math]
- [math]\displaystyle{ 4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 }[/math]
- [math]\displaystyle{ 7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 }[/math]
- [math]\displaystyle{ 8\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 8 }[/math]
- [math]\displaystyle{ 4\alpha_1+2\alpha_2+\alpha_3 \leq 4 }[/math]
- [math]\displaystyle{ 4\alpha_0+6\alpha_2+2\alpha_3 \leq 7 }[/math]
- [math]\displaystyle{ 5\alpha_0+3\alpha_2+\alpha_3 \leq 5 }[/math]
- [math]\displaystyle{ 2\alpha_0+\alpha_3 \leq 2 }[/math]
- [math]\displaystyle{ 2\alpha_1+\alpha_3 \leq 2 }[/math]
- [math]\displaystyle{ 2\alpha_2+\alpha_3 \leq 2 }[/math]
- [math]\displaystyle{ \alpha_3 \leq 1 }[/math]
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 this spreadsheet
n=4
A computer search has obtained all extremisers to [math]\displaystyle{ c'_4=43 }[/math]. The 42-point solutions can be found here.
Proof that [math]\displaystyle{ c'_4 \leq 43 }[/math]: 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.
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.
But by 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 "a" points cannot be separated by Hamming distance 2. We conclude that we must have an antipodal pair among the "a" points with an odd number of 1s, and an antipodal pair among the "a" 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 "b" 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. [math]\displaystyle{ \Box }[/math]
Given a subset of [math]\displaystyle{ [3]^4 }[/math], 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).
The 43-point solutions have distributions (a,b,c,d,e) as follows:
- (5,20,18,0,0) [16 solutions]
- (4,16,23,0,0) [768 solutions]
- (3,16,24,0,0) [512 solutions]
- (4,15,24,0,0) [256 solutions]
The 42-point solutions are distributed as follows:
- (6,24,12,0,0) [8 solutions]
- (5,20,17,0,0) [576 solutions]
- (5,19,18,0,0) [384 solutions]
- (6,16,18,2,0) [192 solutions]
- (4,20,18,0,0) [272 solutions]
- (5,17,20,0,0) [192 solutions]
- (5,16,21,0,0) [3584 solutions]
- (4,17,21,0,0) [768 solutions]
- (4,16,22,0,0) [26880 solutions]
- (5,15,22,0,0) [1536 solutions]
- (4,15,23,0,0) [22272 solutions]
- (3,16,23,0,0) [15744 solutions]
- (4,14,24,0,0) [4224 solutions]
- (3,15,24,0,0) [8704 solutions]
- (2,16,24,0,0) [896 solutions]
Note how c is usually quite large, and d quite low.
One of the (6,24,12,0,0) solutions is [math]\displaystyle{ \Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211} }[/math] (i.e. the set of points containing exactly two 1s, and/or exactly two 3s). The other seven are reflections of this set.
There are 2,765,200 41-point solutions, listed here. The statistics for such points can be found here. Noteworthy features of the statistics:
- d is at most 3 (and, except for 256 exceptional solutions of the shape (5,15,18,3,0), have d at most 2; here are the d=2 solutions and d=1 solutions)
- c is at least 6 (and, except for 16 exceptional solutions of the shape (7,28,6,0,0), have c at least 11).
Statistics for the 41-point, 42-point, and 43-point solutions can be found here.
If a Moser set in [math]\displaystyle{ [3]^4 }[/math] 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. (A more refined analysis can be found at found here.)
We have the following inequalities connecting a,b,c,d,e:
- [math]\displaystyle{ 4a+b \leq 64 }[/math]: There are 32 lines connecting two "a" points with a "b" point; each "a" point belongs to four of these lines, and each "b" point belongs to one. But each such line can have at most two points in the set, and the claim follows.
- This can be refined to [math]\displaystyle{ 4a+b+\frac{2}{3} c \leq 64 }[/math]: There are 24 planes connecting four "a" points, four "b" points, and one "c" point; each "a" point belongs to six of these, each "b" point belongs to three, and each "c" point belongs to one. For each of these planes, we have [math]\displaystyle{ 2a + b + 2c \leq 8 }[/math] from the n=2 theory, and the claim follows.
- [math]\displaystyle{ 6a+2c \leq 96 }[/math]: There are 96 lines connecting two "a" points with a "c" point; each "a" point belongs to six of these lines, and each "c" point belongs to two. But each such line can have at most two points in the set, and the claim follows.
- [math]\displaystyle{ 3b+2c \leq 96 }[/math]: There are 48 lines connecting two "b" points to a "c" point; each "b" point belongs to three of these points, and each "c" point belongs to two. But each such line can have at most two points in the set, and the claim follows.
The inequalities for n=3 imply inequalities for n=4. Indeed, there are eight side slices of [math]\displaystyle{ [3]^4 }[/math]; each "a" point belongs to four of these, each "b" point belongs to three, each "c" point belongs to two, and each "d" point belongs to one. Thus, any inequality of the form
- [math]\displaystyle{ \alpha a + \beta b + \gamma c + \delta d \leq M }[/math]
in three dimensions implies the inequality
- [math]\displaystyle{ 4 \alpha a + 3 \beta b + 2 \gamma c + \delta d \leq 8M }[/math]
in four dimensions. Thus we have
- [math]\displaystyle{ 8a+3b+4c+4d \leq 176 }[/math]
- [math]\displaystyle{ 2a+b+c+d \leq 48 }[/math]
- [math]\displaystyle{ 14a+3b+4c+4d \leq 244 }[/math]
- [math]\displaystyle{ 4a+b+c+d \leq 64 }[/math]
- [math]\displaystyle{ 3b+2c+3d \leq 96 }[/math]
- [math]\displaystyle{ a+c+d \leq 28 }[/math]
- [math]\displaystyle{ 5a+2c+2d \leq 80 }[/math]
- [math]\displaystyle{ a+d \leq 16 }[/math]
- [math]\displaystyle{ b+2d \leq 32 }[/math]
- [math]\displaystyle{ 2c+3d \leq 48 }[/math]
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 [math]\displaystyle{ 2^{27} }[/math] 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
- [math]\displaystyle{ 2a+b+2c+2d+4e \le 24 }[/math] and
- [math]\displaystyle{ 4a+b+2c+2d+4e \le 32 }[/math]
within the 3D cube, which when averaged becomes
- [math]\displaystyle{ 4a+b+2c+4d+16e \le 96 }[/math] and
- [math]\displaystyle{ 8a+b+2c+4d+16e \le 128 }[/math]
for the 4D cube. A spreadsheet containing these statistics can be 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's c-statistics.
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'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.
If a Moser set for n=4 has 4 or more points with three 2’s it has less than 41 points.
If a Moser set for n=4 has six or more points with three 2’s it must have less than 41 points. We note that there cannot be a point with four 2’s as then we would have 39 points. We have 5 points with exactly three 2’s and one coordinate not equal to 2. That gives 5 values not equal to 2 and four coordinates one coordinate must have the coordinate value not equal to 2 from 2 of the five points. One value must be three the other one. We slice at this point and get two cubes with the center point filled which by the n=3 section of the wiki on Moser sets must have 13 points or less. Since there are six or more points with three 2’s the center slice must have the remaining four or more. Now if we have 41 or more points it must have a center slice equal to 15 points or more. However by the Pareto-optimal statistics in the section n=3 of the wiki we see that a cube with c greater than three can have value at most 14. So there at most 13+14+13=40 points and we are done.
On the 3D section of the Wiki, we have the inequalities
4\alpha_0+4\alpha_1+3\alpha_2+\alpha_3 \leq 6 (1)
7\alpha_0+3\alpha_1+3\alpha_2+\alpha_3 \leq 7 (2)
which when averaged on middle slices gives the 4D inequalities
b/8 + c/6 + 3d/8 + e \leq 6 (3)
7b/32 + c/8 + 3d/8 + e \leq 7. (4)
Averaging (1) on side slices similarly gives
a/4 + b/8 + c/8 + d/8 \leq 6. (5)
Computing 9/4 *(3) + (4) + 4*(5) gives
a+b+c+d+e \leq 89/2 - 23 d / 32 - 9 e / 4
and so if a+b+c+d+e \geq 41 then we must have d \leq 4.
I got maple to find the integer solutions to d=4, a+b+c+d+e \geq 41 that were consistent with all known inequalities. They are: (6,16,15,4,0,0), (7,16,14,4,0,0), (7,17,13,4,0,0), and (7,18,12,4,0,0)
If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have two sets of two points with three twos with the same c statistic.
To prove this assume that it is true then we must have two points without lost of generality of the form x222 then one must have one in the first position the other must have 3 we can then cut at the first coordinate and get the side slices must have 13 or less points which means that the center slice must have 15 or more points and the remaining two points of the form say 2×22 are in the center cube so we can slice and the side squares have The center spot occupied that means that total number of points in the center cube with one coordinate equal to 2 in the cube and two in the configuration must be At most 8 two each from the side squares since the center spot is occupied and possibly all 4 from the center square.
Then form the Pareto optimal statistics in section n=3 of the Moser wiki and the fact the center cube has 15 points and has c=2 we have the statistics of the center slice must be (4,9,2,0) but from the above we have At most 8 points with one coordinate equal to 2 so we are done.
If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. We have already shown that if a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have two sets of two points with three twos with the same c statistic.
We start by assuming we have such a pair and as noted above only one pair the we slice on that the coordinate of that pair say i getting two slide slices with 13 or less points that means that the center slice must have 15 point or more it cannot have sixteen as it has at least one point with three twos in the configuration which becomes a point with two 2’s in the central slice and prevents the only realization of sixteen points from occurring since it has no points with two 2’s. Further we see from the Pareto optimal statistics for Moser sets for n=3 at the Moser wiki we see its distribution must be (4,9,2) we slice the center cube along one of the coordinates j in which there is a point with three twos then one outside slice without loss of generality say j=1 with the point with three twos must have that point at its center and hence have a maximum of 5 points and at most two points with three twos. the center slice has no center point and one point with three twos(we know it is not in the other outside slice because we have only one set of two points with the same c statistic and they are outside the center cube. Because of this the center slice can have at most 4 and it can contain at most three points with two twos, so the remaining slice j =3 must have all four points with two twos. Now the two side slices since they have thirteen points must have statistics (3,6,3,1) or (4,6,2,1) each. So each of the diagonals connecting points with one two in the slice overall must have at least one point and that means that if we cut each of the side cubes along the same coordinate we cut the center cube we get there are a total four points with one two in the two side slices and if they are divided 2, 2. We can pick two pairs one point in a pair in each slice such there is a correspondence between the pairs of the points in that the coordinates j are equal. If they are divided 1,3 again there is a correspondence between the one point and one of the three such that the coordinates except for j are equal. Now in the case of division 2-2 or 1-3 in the above we get a contradiction as follows be we have the above correspondences plus another one in the cube j=1 since it has its center spot occupied combined they give there are one or two points with the same center coordinates except for i in the cube j equals three but the center square of j=3 contains all its points with two two’s which block all lines between points with identical coordinates except for j and i equal to three and we get a line so we must have a four zero split, and since that split must have four points in each side cube and the center slice contains of j=3 contains all of it line so must have at most four of these point and the cube j=1 contains its center point and contains at most four of these points, these points must lie on either the squares i=1,j=3 and i=3,j=1 or i=1,j=1 and i=3,j=3 but then they will form a diagonal cube with i=2,j=2 which contains one point with three twos and this forms a line with one of the pairs of these four points on the diagonal cube and we are done.
If a 4D Moser set has more than 40 points and 4 points with three 2’s it must have the following statistics: (6,16,15,4,0,0) We have from post 1113 that only the following statistics are possible: (6,16,15,4,0), (7,16,14,4,0), (7,17,13,4,0), and (7,18,12,4,0). and from post 1241 If a Moser set has 4 points with 3 2’s and its size is 41 or more then it must not have any set of two points with three twos with the same c statistic. We look at the number of points with one two each one must appear in exactly one of the four possible middles cubes from the four possible coordinate slices, hence if the number of these points is greater than 16 then there must be one such middle cube with five of these points then by 1241 we know that there must be three points with three twos in the cube as well as otherwise there would be two with the same c statistic so we check the pareto optimizers from the wiki and find there is only one satisfying 5 something 3 something and that is (5,4,3,0) so the center has 12 points and distribution (5,4,3,0) and the cube with the remaining point with three twos has thirteen points so the remaining cube must have 16 points and hence distribution (4,12,0,0) and the distribution of the other side cube since has thirteen points must be (3,6,3,1) or (4,6,2,1) but this gives a total of 5 + 12+ 6 points with one two which is two many for any of the possible sets of statistics so the only distribution that is possible is the one with 16 points with one two namely (6,16,15,4,0) and we are done.
A 4D Moser set with 4 points with three threes has 40 points or less. By the reasoning of the above post each slice of a Moser set must have 4 points or less with one 2in the center cube. Since from the above we must have 16 of these points and each point only appears in one coordinate slice the division must be exactly 4 4 4 4. No extremal slice can be 16 if so it has distribution (4,12,0,0) by the Pareto optimizers and hence since by the above the distribution of points with one two must include exactly 4 in the center slice we have a total of 16 and hence none in the other extremal set which contains its center point then by looking at the Pareto optimizers we see that we have to remove 6 points from a thirteen point or four points from a 11 point set in order to realize this and this gives at most 8 points then we have 8 + 16 points for the two side slices and we need 17 points in the center slice which cannot be realized. So we have the side slice without the center point must have 15 points or less. Next we show that the center slice must have 14 points or less. By the above it must have 4 points with one two but this gives a distribution of (4 x y z) note the points with one two in this slice count as points with no 2 in the internal statistics of the cube. The center slice must have y = to three because we have already established that there are no two points with the same c-statistic so we must have statistics (4 x 3 0) which looking at the Pareto optimizers must have 14 points or less.
Now we recall that now two points with three twos can have the same c-statistic then we can assume without loss of generality that all such points have the coordinate not equal to 2 equal to one. Then we look at the points (1 1 3 2) (1 3 1 2) (3 1 1 2) Only one of these can be in the Moser set because otherwise a line will be formed with the points with three 2’s under the above assumption. Now that means that under one of the coordinate cuts must have a diagonal connecting two points with one two. empty and that means that it can have at most 5 points with one two since each of the other diagonals have at most one point. That implies that the there must be at most 12 points in this cube since the other points have at most 14 and 15 points we must have the distribution 12 14 15 or we will have less than 41 points. Then the statistics of the cube must be (3 5 3 1) or ( 4 5 2 1) and the other side cube must have statistics ( 3 9 3 1) (4 9 2 1) or (4 11 0 0) or (3 12 0 0) but since we have the statistics (6 15 16 4 0) we can only have the choice (3 5 3 1) and the choices (3 9 3 1) and (3 12 0 0) or we would have more than 6 points with no 2’s and we can discard the possiblity (3 12 0 0) because it would give more than 16 points with one 2. So we must have (3 5 3 1) and (3 9 3 1) and this gives center slice (2 9 3 0) but this has less than four points with two twos and will force another slice to have more than 4 and so we are done.
Proof that [math]\displaystyle{ c'_5 }[/math] = 124
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).
There are several Moser sets with the statistics (4,40,80,0,0,0), which thus have 124 points. Indeed, one can take
- all points with two 2s;
- all points with one 2 and an even number of 1s; and
- (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.
For the rest of this section, we assume that the Moser set [math]\displaystyle{ {\mathcal A} }[/math] is a 125-point Moser set. We will prove that [math]\displaystyle{ {\mathcal A} }[/math] cannot exist.
- Lemma 1: F=0.
Proof 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. [math]\displaystyle{ \Box }[/math]
- Lemma 2: Every middle slice of [math]\displaystyle{ {\mathcal A} }[/math] has at most 41 points.
Proof Without loss of generality we may consider the 2**** slice. There are two cases, depending on the value of c(2****).
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 "xy" 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's say that it's the x=3 case that absorbs 5; thus [math]\displaystyle{ d(*1***) \geq 3 }[/math] and [math]\displaystyle{ d(*3***) \geq 5 }[/math]. 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.
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 [math]\displaystyle{ \Gamma_{220}+\Gamma_{202}+\Gamma_{022}+\Gamma_{112}+\Gamma_{211} }[/math]; in particular, the middle slice contains the points 21122 21212 21221 23322 23232 23223. In particular, the *1*** and *3*** slices have a "d" 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 [math]\displaystyle{ c(*2***) \geq 17 }[/math]) after permuting the indices. [math]\displaystyle{ \Box }[/math]
Since 125=41+41+43, we thus have
- Corollary 1: Every side slice of [math]\displaystyle{ {\mathcal A} }[/math] has at least 41 points. If one side slice does have 41 points, then the other has 43.
Combining this with the n=4 statistics, we conclude
- Corollary 2: Every side slice of [math]\displaystyle{ {\mathcal A} }[/math] has e=0, and [math]\displaystyle{ d \leq 3 }[/math]. Given two opposite side slices, e.g. 1**** and 3****, we have [math]\displaystyle{ d(1****)+d(3****) \leq 4 }[/math].
- Corollary 3: E=0.
- Corollary 4: Any middle slice has a "c" value of at most 8.
Proof Let'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. [math]\displaystyle{ \Box }[/math]
- Lemma 3: [math]\displaystyle{ 2B+C \leq 160 }[/math].
Proof: There are 160 lines connecting one "C" point to two "B" points (e.g. 11112, 11122, 11132); each "C" point lies in two of these, and each "B" 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. [math]\displaystyle{ \Box }[/math]
- Lemma 4 Given m A-points with [math]\displaystyle{ m \geq 5 }[/math], 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).
Proof 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. [math]\displaystyle{ \Box }[/math]
- Corollary 5 [math]\displaystyle{ C \leq 79 }[/math].
Proof: Suppose for contradiction that C=80, then D=0 and [math]\displaystyle{ B \leq 40 }[/math]. From Lemma 4 we also see that A cannot be 5 or more, leading to the contradiction. [math]\displaystyle{ \Box }[/math]
Define the score of a Moser set in [math]\displaystyle{ [3]^4 }[/math] to be the quantity [math]\displaystyle{ a + 5b/4 + 5c/3 + 5d/2 + 5e }[/math]. Double-counting (and Lemma 2) gives
- Lemma 5 The total score of all the ten side-slices of [math]\displaystyle{ {\mathcal A} }[/math] is equal to [math]\displaystyle{ 5|{\mathcal A}| = 5 \times 125 }[/math]. In particular, there exists a pair of opposite side-slices whose scores add up to at least 125.
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 n=4 statistics we know that all 41-point, 42-point, 43-point slices have score less than 62, with the following exceptions:
- (2,16,24,0,0) [42 points, score: 62]
- (4,16,23,0,0) [43 points, score: 62 1/3]
- (4,15,24,0,0) [43 points, score: 62 3/4]
- (3,16,24,0,0) [43 points, score: 63]
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.
- Lemma 6 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).
Proof 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. [math]\displaystyle{ \Box }[/math]
Adding up the corners we conclude
- Corollary 6 [math]\displaystyle{ 6 \leq A \leq 8 }[/math].
- Lemma 7 [math]\displaystyle{ D=0 }[/math].
Proof 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.
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 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... < 125, a contradiction. [math]\displaystyle{ \Box }[/math]
- Corollary 7 Every middle slice has at most 40 points.
Proof 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 [math]\displaystyle{ 4a+b \leq 64 }[/math] and [math]\displaystyle{ b \leq 32 }[/math]). [math]\displaystyle{ \Box }[/math]
Each middle slice now has 39 or 40 points, with c=d=e=0, and so from the inequalities [math]\displaystyle{ 4a+b \leq 64 }[/math], [math]\displaystyle{ b \leq 32 }[/math] must have statistics (8,32,0,0,0),(7,32,0,0,0), or (8,31,0,0,0). In particular the "a" index of the middle slices is at most 8. Summing over all middle slices we conclude
- Lemma 9 B is at most 40.
- Lemma 10 C is equal to 78 or 79.
Proof By Corollary 5, it suffices to show that [math]\displaystyle{ C \geq 78 }[/math].
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 >= 39. On the other hand, from the n=4 theory we have 4a+b <= 64, which forces b >= 31.
By double counting, we see that 2C is equal to the sum of the b's of all the five center slices. Thus C >= 5*31/2 = 77.5 and the claim follows. [math]\displaystyle{ \Box }[/math]
From Lemmas 9 and 10 we see that [math]\displaystyle{ B+C \leq 119 }[/math], and thus [math]\displaystyle{ A \geq 6 }[/math]. Also, if [math]\displaystyle{ A \geq 7 }[/math], 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.
Putting all the above facts together, we see that (A,B,C,D,E,F) must be one of the following triples:
- (6,40,79,0,0,0)
- (7,40,78,0,0,0)
- (8,39,78,0,0,0)
All three cases can be eliminated, giving [math]\displaystyle{ c'_5=124 }[/math].
Elimination of (6,40,79,0,0,0)
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.
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.
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.
Elimination of (7,40,78,0,0,0)
By Lemma 4, we have at least three 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 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.
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.
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.
Elimination of (8,39,78,0,0,0)
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',b'), (c',d') must also have the same midpoint p'. (Note that every C-point is the midpoint of at most two such pairs.)
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',b',c',d') have no points. Thus all other lines must have exactly two points.
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' 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.
General n
General solution for [math]\displaystyle{ c'_N }[/math]. 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 [math]\displaystyle{ O(3^n/\sqrt{n}) }[/math]. Most of the points are in the layers with q 2s and q-1 2s.
- q 2s, all points from A(N-q,1)
- q-1 2s, points from A(N-q+1,2)
- q-2 2s, points from A(N-q+2,3)
- etc.
where A(m,d) is a subset of [math]\displaystyle{ [1,3]^m }[/math] for which any two points differ from each other in at least d places.
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.
- [math]\displaystyle{ |A(m,1)| = 2^m }[/math] because it includes all points in [math]\displaystyle{ [1,3]^m }[/math]
- [math]\displaystyle{ |A(m,2)| = 2^{m-1} }[/math] because it can include all points in [math]\displaystyle{ [1,3]^m }[/math] with an odd number of ones.
- [math]\displaystyle{ |A(m,3)| \le 2^m/(m+1) }[/math] because the size of a Hamming sphere is m+1.
The integer programming routine from Maple 12 was used to obtain upper bounds for [math]\displaystyle{ c'_6 }[/math] and [math]\displaystyle{ c'_7 }[/math]. 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 [math]\displaystyle{ c'_6 \le 361 }[/math] and [math]\displaystyle{ c'_7 \le 1071 }[/math].
A genetic algorithm has provided the following examples:
- [math]\displaystyle{ c'_6 \geq 353 }[/math] (26 examples; here is one)
- [math]\displaystyle{ c'_7 \geq 988 }[/math] Here is the example
Larger sides (k>3)
The following set gives a lower bound for Moser’s cube [math]\displaystyle{ [4]^n }[/math] (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
[math]\displaystyle{ \binom{n}{n/2} 2^n + \binom{n}{n/2-1} 2^{n-1} }[/math]
which is comparable to [math]\displaystyle{ 4^n/\sqrt{n} }[/math] by Stirling's formula.
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. [math]\displaystyle{ 5^{n - O(\sqrt{\log n})} }[/math].
The k=6 version of Moser implies DHJ(3). Indeed, any k=3 combinatorial line-free set can be "doubled up" into a k=6 geometric line-free set of the same density by pulling back the set from the map [math]\displaystyle{ \phi: [6]^n \to [3]^n }[/math] 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.