betaFeedback

WorksMathematics

Moment obstructions and continuum-to-discrete bounds for checkerboard no-three-in-line sets

Abstract

Fix one colour class in the checkerboard colouring of an n×nn\times n integer grid, and let M4(n,ε)M_4(n,\varepsilon) be the largest subset having at most two points in every row, column, and diagonal of slopes ±1\pm1. We prove the near-saturation bound M4(n,ε)≤2n−4M_4(n,\varepsilon)\leq2n-4 for n≥6n\geq6. The proof uses first and second moments of the four line families: a hypothetical set of size 2n−32n-3 produces row, column, and diagonal deficits whose exact moment identities contradict Cauchy–Schwarz. A finite argument handles n=6n=6. The same identity extends to arbitrary deficit multisets. It gives M4(n,ε)≤2n−dM_4(n,\varepsilon)\leq2n-d whenever d≥4d\geq4 is an integer and n≥3d−4n\geq3d-4, and an entirely discrete asymptotic estimate M4(n,ε)≤(21−3)n+8. M_4(n,\varepsilon)\leq(\sqrt{21}-3)n+8. We also prove a general continuum-to-discrete theorem for the associated four-direction fractional packing problem. Applying it to the exact continuum dual certificate constructed in earlier work yields, for both colours, Lmono(n,ε)≤αn+O(1),α≈1.5768233968738, L_{\mathrm{mono}}(n,\varepsilon)\leqαn+O(1), \qquad α\approx1.5768233968738, and hence the same upper bound for M4M_4 and for checkerboard no-three-in-line sets.

Introduction

The classical no-three-in-line problem asks for the largest number of points that can be selected from an n×nn \times n integer grid with no three on one Euclidean line. It originated in Dudeney’s recreational problems [1 Problem 317]; early systematic treatments include Adena, Holton and Kelly [2], Guy and Kelly [3], and Hall, Jackson, Sudbery and Wild [4]. A long computational line includes work of Anderson [5], Flammenkamp [6, 7], and, more recently, comparisons of integer programming and learning-based heuristics [16] and a constraint-programming formulation [17]. General background appears in Brass, Moser and Pach [8 Section 10.1]; the related problem of selecting points in general position from an arbitrary planar point set is studied in [9]. The elementary row bound is 2n2n, while the best known asymptotic construction has (3/2−o(1))n(3/2 - o(1))n points [4]; the asymptotic behaviour remains unresolved. For the related unrestricted problem allowing at most kk points on each line, Ghosal et al. [18] prove that the maximum is knkn for every fixed k≥3k \ge3 and sufficiently large nn. Their result leaves the classical case k=2k = 2 open.

We study the checkerboard-restricted variant introduced in [19]. Put N=n−1N = n - 1 and

Cε={(x,y)∈{0,…,N}2:x+y≡ε(mod2)},ε∈{0,1}.C_\varepsilon= \{(x,y) \in\{0,\ldots,N\}^2 : x+y \equiv\varepsilon\pmod2\}, \qquad\varepsilon\in\{0,1\}.

Write Dmono(n,ε)D_{\mathrm{mono}}(n,\varepsilon) for the largest no-three-in-line subset of CεC_\varepsilon, and let Dmono(n)D_{\mathrm{mono}}(n) denote the larger of the two colour-class optima. Call a subset of CεC_\varepsilon four-direction admissible if every row, column, difference diagonal, and sum diagonal contains at most two of its points, and let M4(n,ε)M_4(n,\varepsilon) be the corresponding maximum. Every no-three-in-line set is four-direction admissible, so

Dmono(n,ε)≤M4(n,ε).D_{\mathrm{mono}}(n,\varepsilon) \le M_4(n,\varepsilon).

Because the slope-±1\pm1 diagonals are monochromatic, their total capacities give the elementary upper bound 2n−22n-2 for n≥2n \ge2.

Relationship with the earlier checkerboard paper. The present paper is a companion to [19]. That paper introduced the checkerboard problem, the four-direction linear-programming relaxation and its symmetry reductions, and an exact continuum dual certificate with objective α≈1.5768233968738\alpha\approx1.5768233968738. Its first arXiv version suggested the bound 2n−42n-4 by a boundary forcing argument but explicitly left it unproved, and it did not transfer the continuum certificate to the finite grids. The new contributions here are: a proof of 2n−42n-4 for the stronger four-direction problem; a multiple-deficit extension yielding both fixed-deficit and linear-deficit bounds; and a continuum-to-discrete sampling theorem that applies to both checkerboard colours. The revised version of [19] records the resulting bound Dmono(n)≤αn+O(1)D_{\mathrm{mono}}(n) \le\alpha n + O(1), citing Theorem 5.3 below and sketching its proof in the odd-fat case, and cites Theorem 1.1 for the bound 2n−42n-4 in place of the earlier heuristic. The moment arguments and the general sampling theorem are independent of the particular continuum certificate. Only the application giving the coefficient α\alpha uses the existence of the feasible profiles established in [19 Theorem 1]. Their construction is due to that earlier work; a separate exact verification is provided in the ancillary files. The ancillary files also give independently checkable certificates for the finite values Dmono(n,ε)D_{\mathrm{mono}}(n,\varepsilon), for both colours and 2≤n≤162 \le n \le16, reported there.

The moment identities used below also have a natural place in the literature on discrete tomography. For the four directions 0,∞,+1,−10,\infty,+1,-1, the relevant total, first-moment, and second-moment identities are global line-sum dependencies; see Hajdu and Tijdeman [10 Remark 4] and Stolk and Batenburg [11 Section 2.2]. The novelty here lies in applying these consistency relations to checkerboard capacity deficits and combining them with extremal inequalities.

Our first result excludes the elementary capacity bound 2n−22n-2 and the next smaller cardinality 2n−32n-3.

Theorem 1.1 (Near-saturation obstruction). For every n≥6n \ge6 and ε∈{0,1}\varepsilon\in\{0,1\},

M4(n,ε)≤2n−4.M_4(n,\varepsilon) \le2n-4.

Consequently Dmono(n,ε)≤2n−4D_{\mathrm{mono}}(n,\varepsilon) \le2n-4.

The threshold is best possible: for n=5n=5, one colour contains an eight-point no-three-in-line set, attaining 2n−22n-2. Allowing an arbitrary number of missing capacity units gives two further consequences.

Theorem 1.2 (Multiple-deficit bounds). For either checkerboard colour ε∈{0,1}\varepsilon\in\{0,1\}:

  1. if d≥4d \ge4 is an integer and n≥3d−4n \ge3d-4, then

M4(n,ε)≤2n−d;M_4(n,\varepsilon) \le2n-d;
  1. for every n≥4n \ge4,

M4(n,ε)≤(21−3)n+8.M_4(n,\varepsilon) \le(\sqrt{21}-3)n+8.

The same bounds hold for Dmono(n,ε)D_{\mathrm{mono}}(n,\varepsilon).

The coefficient 21−3≈1.5825756949\sqrt{21}-3 \approx1.5825756949 comes entirely from the discrete second-moment argument. A slightly sharper coefficient follows from the fractional problem. Let Lmono(n,ε)L_{\mathrm{mono}}(n,\varepsilon) denote the associated four-direction fractional packing optimum, defined in § 5. Since characteristic vectors of four-direction admissible sets are feasible,

Dmono(n,ε)≤M4(n,ε)≤Lmono(n,ε).D_{\mathrm{mono}}(n,\varepsilon) \le M_4(n,\varepsilon) \le L_{\mathrm{mono}}(n,\varepsilon).

Theorem 1.3 (Fractional asymptotic bound). Let α\alpha be the middle real root of

401α3−1744α2+2240α−768=0.401\alpha^3 - 1744\alpha^2 + 2240\alpha- 768 = 0.

There is an absolute constant CC such that, for every n≥2n \ge2 and ε∈{0,1},\varepsilon\in\{0,1\},

Dmono(n,ε)≤M4(n,ε)≤Lmono(n,ε)≤αn+C.D_{\mathrm{mono}}(n,\varepsilon) \le M_4(n,\varepsilon) \le L_{\mathrm{mono}}(n,\varepsilon) \le\alpha n + C.

In particular,

lim sup⁡n→∞M4(n,ε)n≤α,1.576823396873<α<1.576823396874.\limsup_{n\to\infty}\frac{M_4(n,\varepsilon)}{n} \le\alpha,\qquad1.576823396873 < \alpha< 1.576823396874.

The result is one-sided: it proves neither optimality of the continuum certificate nor a matching lower bound.

Subsequent correspondence and related work. The circulation of [19] prompted several readers to investigate the proposed 2n−42n-4 bound and brought related computational work to our attention. The present collaboration began on 21 July 2026, when Aujla and Sandhu contacted Prellberg with a first- and second-moment argument for the four-direction 2n−42n-4 bound. In his reply that day, Prellberg proposed extending the method to multiple deficits, including the fixed-deficit bounds and the asymptotic coefficient 21−3\sqrt{21}-3. These exchanges led to the joint work developed here.

Subsequent communications described related approaches to the same finite bound. Zurnaci [20] supplied a centred moment argument. Chen [21] supplied explicit quadratic line weights, reporting the asymptotic coefficient 22/32^{2/3}, together with arguments for the finite bound. Payzin [22] supplied a rational piecewise-linear continuum cover and a discretisation argument reporting the bound (324n+2244)/205(324n+2244)/205, supplemented by finite certificates and enumeration for the smaller grids. These communications illustrate the usefulness of moment identities and line covers for this problem. For comparison, these coefficients and those of the present paper satisfy

α<324205<21−3<22/3.\alpha< \frac{324}{205} < \sqrt{21}-3 < 2^{2/3}.

These descriptions concern unpublished work communicated to us.

Pochuev [23] and Oliveira [24] also communicated computational work reporting the values 26, 27, 29, 30 for Dmono(n)D_{\mathrm{mono}}(n) at n=17,18,19,20n=17,18,19,20, respectively, using constructions, rational line-cover certificates and exhaustive searches. Pochuev’s public repository records these computations and reports exact results through n=21n=21, with n=22n=22 still open as of 10 September 2026. A separate public release by Cohen [25] reports Dmono(23)=35D_{\mathrm{mono}}(23)=35. Motivated by Pochuev’s results, Prellberg also undertook exploratory stochastic SAT searches and communicated configurations for larger grids in his reply of 16 July 2026, without claiming optimality. These finite investigations complement the uniform and asymptotic bounds studied here.

Organisation. The paper is organised as follows. Section 2 fixes the notation and elementary capacities. Section 3 proves the near-saturation theorem. Section 4 develops the centred deficit identity and its two consequences. Section 5 defines the fractional relaxation, proves the general continuum-to-discrete theorem and applies it to the earlier continuum bound. Section 6 discusses the remaining questions.

Setting and elementary structure

Fix n≥1n \ge1, put N=n−1N=n-1, and write

Gn={0,1,…,N}2.G_n=\{0,1,\ldots,N\}^2.

For ε∈{0,1}\varepsilon\in\{0,1\}, the corresponding checkerboard class is

Cε={(x,y)∈Gn:x+y≡ε(mod2)}.C_\varepsilon=\{(x,y)\in G_n:x+y\equiv\varepsilon\pmod{2}\}.

Definition 2.1. A set S⊆Z2S\subseteq\mathbb{Z}^2 is no-three-in-line if no three distinct points of SS are collinear.

Define

Dmono(n,ε)=max⁡{∣S∣:S⊆Cε is no-three-in-line}.D_{\mathrm{mono}}(n,\varepsilon)=\max\{|S|:S\subseteq C_\varepsilon\text{ is no-three-in-line}\}.

and set Dmono(n)=max⁡ε∈{0,1}Dmono(n,ε)D_{\mathrm{mono}}(n)=\max_{\varepsilon\in\{0,1\}}D_{\mathrm{mono}}(n,\varepsilon). We call S⊆CεS\subseteq C_\varepsilon four-direction admissible if every row, column, difference diagonal x−y=dx-y=d, and sum diagonal x+y=sx+y=s contains at most two points of SS, and define

M4(n,ε)=max⁡{∣S∣:S⊆Cε is four-direction admissible}.M_4(n,\varepsilon)=\max\{|S|:S\subseteq C_\varepsilon\text{ is four-direction admissible}\}.

Every no-three-in-line set is four-direction admissible, although the converse need not hold. Hence

Dmono(n,ε)≤M4(n,ε).D_{\mathrm{mono}}(n,\varepsilon)\le M_4(n,\varepsilon).

The moment argument will work entirely within this elementary relaxation.

Only parameters d≡ε(mod2)d\equiv\varepsilon\pmod{2} and s≡ε(mod2)s\equiv\varepsilon\pmod{2} meet CεC_\varepsilon. Their lengths in the grid are

N+1−∣d∣(−N≤d≤N),N+1−∣s−N∣(0≤s≤2N).N+1-|d|\quad(-N\le d\le N),\qquad N+1-|s-N|\quad(0\le s\le2N).

To include the singleton boundary diagonals in the same notation, define

cd(d)=min⁡{2,N+1−∣d∣},cs(s)=min⁡{2,N+1−∣s−N∣}.c_d(d)=\min\{2,N+1-|d|\},\qquad c_s(s)=\min\{2,N+1-|s-N|\}.

Lemma 2.2 (Diagonal capacity). For n≥2n\ge2 and each ε∈{0,1}\varepsilon\in\{0,1\},

∑−N≤d≤Nd≡ε (2)cd(d)=∑0≤s≤2Ns≡ε (2)cs(s)=2N.\sum_{\substack{-N\le d\le N\\d\equiv\varepsilon\ (2)}}c_d(d) = \sum_{\substack{0\le s\le2N\\s\equiv\varepsilon\ (2)}}c_s(s) =2N.

Consequently every four-direction admissible set has at most 2N=2n−22N=2n-2 points.

Proof. Consider first the difference diagonals. If ε≡N(mod2)\varepsilon\equiv N\pmod{2}, there are N+1N+1 compatible parameters, and the two extreme diagonals d=±Nd=\pm N have capacity one. Their total capacity is therefore 2(N+1)−2=2N2(N+1)-2=2N. Otherwise there are NN compatible parameters, each of capacity two. For the sum diagonals, colour zero contains the singleton extremes s=0,2Ns=0,2N, whereas colour one does not; the same count again gives total capacity 2N2N. Summing the occupancy bounds over either diagonal family proves the final assertion.

The condition n≥2n\ge2 is necessary. For n=1n=1, the point (0,0)(0,0) gives Dmono(1,0)=1D_{\mathrm{mono}}(1,0)=1, whereas 2n−2=02n-2=0.

Example 2.3 (Why the threshold cannot begin at five). For n=5n=5, the colour-one set

{(0,1),(0,3),(1,0),(1,4),\{(0,1),(0,3),(1,0),(1,4),
(3,0),(3,4),(4,1),(4,3)}(3,0),(3,4),(4,1),(4,3)\}

is no-three-in-line and has 8=2n−28=2n-2 points. Thus the conclusion of Theorem 1.1 fails at n=5n=5.

The symmetries of the square will also be used in the fractional relaxation below. The identity, the half-turn, and the reflections in x=yx=y and x+y=Nx+y=N preserve x+yx+y modulo two. Each of the remaining four symmetries adds NN modulo two. Thus, when nn is odd, all eight symmetries preserve each colour, whereas when nn is even, four of them interchange the two colours. In particular, Dmono(n,0)=Dmono(n,1)D_{\mathrm{mono}}(n,0)=D_{\mathrm{mono}}(n,1) for even nn.

The four-direction moment obstruction

The argument proceeds in three stages. Near saturation first leaves a small set of integral deficits in each of the four line families. Their first two moments then produce an exact identity. Finally, Cauchy–Schwarz and concavity give a lower bound incompatible with that identity. This comparison handles n≥7n \ge7; the remaining case n=6n = 6 is settled by the integer structure of the deficit triples.

Remark 3.1 (Discrete-tomography viewpoint). For a finitely supported weight function on Z2\mathbb{Z}^{2}, its line sums in the four directions 0,∞,+1,−10,\infty,+1,-1 satisfy global consistency relations of degrees zero, one, and two. In the present coordinates, the degree-one relations compare the first moments of row and column sums with those of the two diagonal families, while the degree-two relation is the line-sum form of

2x2+2y2=(x−y)2+(x+y)2.2x^{2}+2y^{2}=(x-y)^{2}+(x+y)^{2}.

These dependencies are standard in discrete tomography; for the four directions used here, see Hajdu and Tijdeman [10 Remark 4] and Stolk and Batenburg [11 Section 2.2]. A later explicit construction treats these four directions in [13 Example 4.1]. Our use of them is extremal rather than reconstructive: we apply the relations to nearly saturated checkerboard capacity profiles and combine the resulting deficit identities with convexity and order estimates.

Reduction and deficit triples

Assume, for a contradiction, that a four-direction admissible set S⊆CεS \subseteq C_{\varepsilon} has at least 2N−12N-1 points. By lemma 2.2, its size is either 2N−12N-1 or 2N2N. In the latter case, delete one point. It therefore suffices to rule out

∣S∣=2N−1.(1)|S|=2N-1. \tag*{(1)}

Each compatible diagonal family has total capacity 2N2N, so its nonnegative integer deficits sum to one. Hence there is a unique difference diagonal d0d_{0} and a unique sum diagonal s0s_{0} whose occupancy falls one short of its capacity; every other compatible diagonal is saturated. This includes the possibility that the deficient diagonal is a singleton and is therefore empty.

Every row and column contains at most two points of SS. Relative to two nominal slots in each of the N+1N+1 columns, (1) leaves exactly three vacant slots. Record their column indices, with multiplicity, as

a=(a1,a2,a3).\mathbf{a}=(a_{1},a_{2},a_{3}).

Thus a column of occupancy one contributes its index once, and an empty column contributes it twice. Define the row-deficit triple b=(b1,b2,b3)\mathbf{b}=(b_{1},b_{2},b_{3}) in the same way. No index can occur three times in either triple. Conversely, any triple with multiplicities at most two determines an occupancy vector, although it need not arise from a geometrically realisable point set. Allowing all such triples is therefore a valid relaxation.

Put

X=∑i=13ai,Qa=∑i=13ai2,Y=∑i=13bi,Qb=∑i=13bi2.X=\sum_{i=1}^{3}a_{i},\qquad Q_{a}=\sum_{i=1}^{3}a_{i}^{2},\qquad Y=\sum_{i=1}^{3}b_{i},\qquad Q_{b}=\sum_{i=1}^{3}b_{i}^{2}.

and

T2=∑j=0Nj2=N(N+1)(2N+1)6.T_{2}=\sum_{j=0}^{N}j^{2}=\frac{N(N+1)(2N+1)}{6}.

Subtracting the vacant slots from two nominal slots on every coordinate line gives

∑(x,y)∈Sx=N(N+1)−X,∑(x,y)∈Sx2=2T2−Qa.(2)\sum_{(x,y)\in S}x=N(N+1)-X, \qquad \sum_{(x,y)\in S}x^{2}=2T_{2}-Q_{a}. \tag*{(2)}
∑(x,y)∈Sy=N(N+1)−Y,∑(x,y)∈Sy2=2T2−Qb.(3)\sum_{(x,y)\in S}y=N(N+1)-Y, \qquad \sum_{(x,y)\in S}y^{2}=2T_{2}-Q_{b}. \tag*{(3)}

First and second diagonal moments

Lemma 3.2 (First moments). The deficit sums satisfy

X−Y=d0,X+Y=2N+s0.(4)X-Y=d_0,\qquad X+Y=2N+s_0. \tag*{(4)}

In particular,

∣X−Y∣≤N,2N≤X+Y≤4N.(5)\lvert X-Y\rvert\le N,\qquad2N\le X+Y\le4N. \tag*{(5)}

Proof. The capacity-weighted first moment of the difference parameters vanishes by the involution d↦−dd\mapsto-d. Removing the missing capacity unit at d0d_0 therefore gives

∑S(x−y)=−d0.\sum_{S}(x-y)=-d_0.

By Equations (2) and (3), the left-hand side is Y−XY-X, and hence X−Y=d0X-Y=d_0.

For the sum diagonals, the capacities are symmetric about NN and have total 2N2N, so their capacity-weighted first moment is 2N22N^2. Removing the unit of capacity missing at s0s_0 gives

∑S(x+y)=2N2−s0.\sum_{S}(x+y)=2N^2-s_0.

The coordinate identities make the left-hand side 2N(N+1)−X−Y2N(N+1)-X-Y, proving the second equality. The parameter ranges −N≤d0≤N-N\le d_0\le N and 0≤s0≤2N0\le s_0\le2N then yield (5).

Define the capacity-weighted diagonal square moment

KN,ε=∑−N≤d≤Nd≡ε (2)cd(d)d2+∑0≤s≤2Ns≡ε (2)cs(s)s2.K_{N,\varepsilon}= \sum_{\substack{-N\le d\le N\\d\equiv\varepsilon\ (2)}}c_d(d)d^2+ \sum_{\substack{0\le s\le2N\\s\equiv\varepsilon\ (2)}}c_s(s)s^2.

Lemma 3.3 (Diagonal square sums). For N≥1N\ge1,

KN,ε={2N(5N2+1)3,N odd,2N(5N2+4)3,N even and ε=0,2N(5N2−2)3,N even and ε=1.(6)K_{N,\varepsilon}= \begin{cases} \dfrac{2N(5N^2+1)}{3}, & N\text{ odd},\\[4pt] \dfrac{2N(5N^2+4)}{3}, & N\text{ even and }\varepsilon=0,\\[4pt] \dfrac{2N(5N^2-2)}{3}, & N\text{ even and }\varepsilon=1. \end{cases} \tag*{(6)}

Proof. Start with weight two on every compatible parameter, and then correct for the singleton extremes. This gives

KN,ε2=∑d≡ε (2)d2+∑s≡ε (2)s2−N21ε≡N (2)−2N21ε=0,(7)\frac{K_{N,\varepsilon}}{2} = \sum_{d\equiv\varepsilon\ (2)}d^2+ \sum_{s\equiv\varepsilon\ (2)}s^2-N^2\mathbf{1}_{\varepsilon\equiv N\ (2)}-2N^2\mathbf{1}_{\varepsilon=0}, \tag*{(7)}

where the sums are taken over the parameter ranges in the definition of KN,εK_{N,\varepsilon}. Let Q(m)=m(m+1)(2m+1)/6Q(m)=m(m+1)(2m+1)/6. Before simplification, the four cases of KN,ε/2K_{N,\varepsilon}/2 are

NNε\varepsilonKN,ε/2K_{N,\varepsilon}/2
2m+12m+1008Q(m)+4Q(2m+1)−2N28Q(m)+4Q(2m+1)-2N^2
2m+12m+1112∑j=0m(2j+1)2+∑j=02m(2j+1)2−N22\sum_{j=0}^{m}(2j+1)^2+\sum_{j=0}^{2m}(2j+1)^2-N^2
2m2m008Q(m)+4Q(2m)−3N28Q(m)+4Q(2m)-3N^2
2m2m112∑j=0m−1(2j+1)2+∑j=02m−1(2j+1)22\sum_{j=0}^{m-1}(2j+1)^2+\sum_{j=0}^{2m-1}(2j+1)^2

Using ∑j=0r(2j+1)2=(r+1)(4r2+8r+3)/3\sum_{j=0}^{r}(2j+1)^2=(r+1)(4r^2+8r+3)/3 and simplifying gives (6).

For a triple z=(z1,z2,z3)\mathbf{z}=(z_1,z_2,z_3), define

FN(z)=∑i=13zi2−(∑i=13zi−N)2.(8)F_N(\mathbf{z})=\sum_{i=1}^{3}z_i^2-\left(\sum_{i=1}^{3}z_i-N\right)^2. \tag*{(8)}

Lemma 3.4 (Exact moment invariant). The deficit triples satisfy

FN(a)+FN(b)=RN,ε,(9)F_N(\mathbf{a})+F_N(\mathbf{b})=R_{N,\varepsilon}, \tag*{(9)}

where

RN,ε={N(−N2+6N+1)3,N odd,N(−N2+6N−2)3,N even and ε=0,N(−N2+6N+4)3,N even and ε=1.(10)R_{N,\varepsilon}= \begin{cases} \dfrac{N(-N^2+6N+1)}{3}, & N\ \text{odd},\\ \dfrac{N(-N^2+6N-2)}{3}, & N\ \text{even and }\varepsilon=0,\\ \dfrac{N(-N^2+6N+4)}{3}, & N\ \text{even and }\varepsilon=1. \end{cases} \tag*{(10)}

Proof. The only absent capacity units occur at d0d_0 and s0s_0. Since (x−y)2+(x+y)2=2x2+2y2(x-y)^2+(x+y)^2=2x^2+2y^2, the second coordinate moments give

KN,ε−d02−s02=8T2−2(Qa+Qb).(11)K_{N,\varepsilon}-d_0^2-s_0^2=8T_2-2(Q_a+Q_b). \tag*{(11)}

By (4),

d02+s022=(X−N)2+(Y−N)2.\frac{d_0^2+s_0^2}{2}=(X-N)^2+(Y-N)^2.

Substituting this into (11) and rearranging yields

FN(a)+FN(b)=4T2−KN,ε2.F_N(\mathbf{a})+F_N(\mathbf{b})=4T_2-\frac{K_{N,\varepsilon}}{2}.

The formulas in (6) now give (10).

The universal lower bound

Lemma 3.5. Any triples satisfying (5) obey

FN(a)+FN(b)≥N23.F_N(\mathbf{a})+F_N(\mathbf{b})\geq\frac{N^2}{3}.

Proof. By Cauchy–Schwarz, Qa≥X2/3Q_a\geq X^2/3, and therefore

FN(a)≥X23−(X−N)2=N2f(X/N),F_N(\mathbf{a})\geq\frac{X^2}{3}-(X-N)^2=N^2f(X/N),

where

f(t)=t23−(t−1)2=−23t2+2t−1.f(t)=\frac{t^2}{3}-(t-1)^2=-\frac{2}{3}t^2+2t-1.

The same estimate holds for b\mathbf{b}. Set u=X/Nu=X/N and v=Y/Nv=Y/N. By (5), (u,v)(u,v) belongs to the parallelogram

P={(u,v):2≤u+v≤4, ∣u−v∣≤1}.P=\{(u,v):2\leq u+v\leq4,\ \lvert u-v\rvert\leq1\}.

Its vertices are

(1/2,3/2), (3/2,1/2), (3/2,5/2), (5/2,3/2).(1/2,3/2),\ (3/2,1/2),\ (3/2,5/2),\ (5/2,3/2).

The function (u,v)↦f(u)+f(v)(u,v)\mapsto f(u)+f(v) is concave. Since every point of PP is a convex combination of its vertices, concavity bounds its value below by the minimum of its values at those vertices. Each vertex gives 1/31/3. Consequently,

FN(a)+FN(b)≥N2(f(u)+f(v))≥N23.F_N(\mathbf{a})+F_N(\mathbf{b})\geq N^2(f(u)+f(v))\geq\frac{N^2}{3}.

Contradiction for nn at least 7 and the integer case n=6n = 6

Proof of the main finite theorem. Suppose first that nn is odd. Then NN is even and N≥6N \ge6. The larger of the two values in (10) is the one for ε=1\varepsilon= 1, and

N(−N2+6N+4)3<N23\frac{N(-N^2+6N+4)}{3}<\frac{N^2}{3}

is equivalent to N2−5N−4>0N^2-5N-4>0, which holds for every even N≥6N \ge6. If nn is even and n≥8n \ge8, then NN is odd and N≥7N \ge7; in this case the required strict inequality is equivalent to N2−5N−1>0N^2-5N-1>0. Thus, for every n≥7n \ge7 and either colour, lemma 3.4 contradicts lemma 3.5.

It remains to treat n=6n = 6, so N=5N = 5. Here both colours satisfy R5,ε=10R_{5,\varepsilon}=10. A deficit index cannot occur three times. For each possible sum ZZ, let μ(Z)\mu(Z) be the minimum of F5F_5 over triples in {0,…,5}\{0,\ldots,5\} with multiplicity at most two. The table lists μ(Z)\mu(Z) and one sorted minimiser; for example, 001 denotes (0,0,1)(0,0,1).

ZZ1234567891011121314
μ(Z)\mu(Z)−15-15−7-715913131313951−7-7−15-15
triple001011012112122123223233234334344345445455

Table 12.

For fixed ZZ, the sum of squares is minimised by making the three entries as balanced as possible. If the balanced triple is constant, and hence forbidden, the next minimum is obtained by replacing (k,k,k)(k,k,k) with (k−1,k,k+1)(k-1,k,k+1). This proves the table.

The first-moment constraints become

10≤X+Y≤20,∣X−Y∣≤5.10 \le X+Y \le20,\qquad|X-Y| \le5.

If necessary, complement both triples by z↦5−zz \mapsto5-z, and then interchange them. Complementation preserves each F5F_5 value and sends X+YX+Y to 30−(X+Y)30-(X+Y). We may therefore assume X≤YX \le Y and 10≤X+Y≤1510 \le X+Y \le15. The only possibilities are

XX34567
YY7, 86, 7, 8, 95, …\ldots, 106, 7, 8, 97, 8

By (12), the smallest possible value of μ(X)+μ(Y)\mu(X)+\mu(Y) is 14, contradicting the required value R5,ε=10R_{5,\varepsilon}=10.

We have therefore ruled out a set of size 2N−12N-1 for every N≥5N \ge5. Any set of size 2N2N would produce one of size 2N−12N-1 after deletion of a point. Hence every four-direction admissible set has size at most 2N−2=2n−42N-2=2n-4, proving Theorem 1.1.

Corollary 3.6. For both colours,

Dmono(6,0)=Dmono(6,1)=8.D_{\mathrm{mono}}(6,0)=D_{\mathrm{mono}}(6,1)=8.

Proof. The upper bound follows from Theorem 1.1. Exact lower witnesses are

S0={(0,2),(0,4),(1,1),(1,5),S_0=\{(0,2),(0,4),(1,1),(1,5),
(4,0),(4,2),(5,3),(5,5)},(4,0),(4,2),(5,3),(5,5)\},

and

S1={(0,1),(0,5),(2,1),(3,0),S_1=\{(0,1),(0,5),(2,1),(3,0),
(4,3),(4,5),(5,0),(5,2)}.(4,3),(4,5),(5,0),(5,2)\}.

Every point of SεS_\varepsilon has colour ε\varepsilon. For each set, direct evaluation of the integer determinant

(x2−x1)(y3−y1)−(y2−y1)(x3−x1)(x_2-x_1)(y_3-y_1)-(y_2-y_1)(x_3-x_1)

on all (83)=56\binom{8}{3}=56 triples yields no zero.

Multiple deficits and linear bounds

The preceding proof uses the most rigid near-saturated situation: each diagonal capacity profile is short by one unit. The underlying identity does not depend on that restriction. When several units are missing, centring the coordinates puts the same calculation into a cleaner form involving four deficit multisets. We draw two consequences. The first forces any prescribed fixed deficit once nn is sufficiently large. The second records where the deficits occur and, using only second moments, forces a deficit linear in nn.

A centred deficit identity

Assume n≥4n \ge4 and again put N=n−1N = n - 1. For a four-direction admissible set S⊆CεS \subseteq C_{\varepsilon}, write

∣S∣=2N−r.(12)|S| = 2N - r. \tag*{(12)}

By lemma 2.2, 0≤r≤2N0 \le r \le2N.

For each column, place its index in a multiset AA once for every unused unit of its nominal capacity two. Define the row-deficit multiset BB in the same way. There are 2(N+1)2(N + 1) nominal slots in the rows and the same number in the columns, so

∣A∣=∣B∣=r+2.(13)|A| = |B| = r + 2. \tag*{(13)}

For the diagonal families, use the centred labels

u=x−y,v=x+y−N.u = x - y,\qquad v = x + y - N.

Both range from −N-N to NN. Let DD and EE denote the multisets of unused capacity units in the uu- and vv-families, respectively, with each centred label repeated according to the amount of missing capacity there. Since each diagonal family has total capacity 2N2N,

∣D∣=∣E∣=r.(14)|D| = |E| = r. \tag*{(14)}

Write

TN=∑j=0N(j−N2)2=N(N+1)(N+2)12.(15)T_N = \sum_{j=0}^{N} \left(j - \frac{N}{2}\right)^2 = \frac{N(N+1)(N+2)}{12}. \tag*{(15)}

A centred diagonal family has one of only two possible capacity-weighted square moments. If its compatible labels include ±N\pm N, then

M+(N)=2∑j=0N(2j−N)2−2N2=2N(N2+2)3.(16)M_{+}(N) = 2\sum_{j=0}^{N}(2j-N)^2 - 2N^2 = \frac{2N(N^2+2)}{3}. \tag*{(16)}

If the endpoints are incompatible, then

M−(N)=2∑j=0N−1(2j−(N−1))2=2N(N2−1)3.(17)M_{-}(N) = 2\sum_{j=0}^{N-1}(2j-(N-1))^2 = \frac{2N(N^2-1)}{3}. \tag*{(17)}

The uu-family uses M+(N)M_{+}(N) exactly when ε≡N(mod2)\varepsilon\equiv N \pmod{2}, while the vv-family uses M+(N)M_{+}(N) exactly when ε=0\varepsilon= 0.

Proposition 4.1 (Centred deficit identity). For every four-direction admissible SS satisfying (13),

12(∑d∈Dd2+∑e∈Ee2)−∑a∈A(a−N2)2−∑b∈B(b−N2)2=ΓN,ε,(18)\frac{1}{2}\left(\sum_{d\in D}d^2+\sum_{e\in E}e^2\right)-\sum_{a\in A}\left(a-\frac{N}{2}\right)^2-\sum_{b\in B}\left(b-\frac{N}{2}\right)^2 = \Gamma_{N,\varepsilon}, \tag*{(18)}

where

ΓN,ε={N(N−1)(N−2)3,N even and ε=0,N(N−4)(N+1)3,N even and ε=1,N(N2−3N−1)3,N odd.(19)\Gamma_{N,\varepsilon} = \begin{cases} \frac{N(N-1)(N-2)}{3}, & N\ \text{even and }\varepsilon=0,\\ \frac{N(N-4)(N+1)}{3}, & N\ \text{even and }\varepsilon=1,\\ \frac{N(N^2-3N-1)}{3}, & N\ \text{odd}. \end{cases} \tag*{(19)}

Proof. For every point (x,y)(x,y),

(x−y)2+(x+y−N)2=2(x−N2)2+2(y−N2)2.(20)(x-y)^2+(x+y-N)^2=2\left(x-\frac{N}{2}\right)^2+2\left(y-\frac{N}{2}\right)^2. \tag*{(20)}

Let MuM_u and MvM_v be the full capacity-weighted square moments of the two centred diagonal families. Removing the diagonal deficits gives

∑(x,y)∈S(u2+v2)=Mu+Mv−∑d∈Dd2−∑e∈Ee2.\sum_{(x,y)\in S}(u^2+v^2)=M_u+M_v-\sum_{d\in D}d^2-\sum_{e\in E}e^2.

On the coordinate side,

∑(x,y)∈S(x−N2)2=2TN−∑a∈A(a−N2)2,\sum_{(x,y)\in S}\left(x-\frac{N}{2}\right)^2=2T_N-\sum_{a\in A}\left(a-\frac{N}{2}\right)^2,

and the same formula holds with x,Ax,A replaced by y,By,B. Summing (21) over SS and rearranging yields (19), where

ΓN,ε=Mu+Mv2−4TN.\Gamma_{N,\varepsilon}=\frac{M_u+M_v}{2}-4T_N.

Substituting (16)-(18), according to which families contain the endpoint labels, gives (20). □

When r=1r=1, this is precisely the second-moment obstruction of Section 3, expressed in centred coordinates. For general rr, we combine the identity with inequalities that use the restricted locations of the deficit units.

Fixed deficits

The first consequence requires almost no information about those locations. The coordinate terms in (19) are nonnegative, while every centred diagonal label has absolute value at most NN. Therefore

ΓN,ε≤rN2.(21)\Gamma_{N,\varepsilon}\le rN^2. \tag*{(21)}

This crude estimate already forces every fixed deficit.

Theorem 4.2 (Fixed deficits). Let d≥4d\ge4 be an integer. If n≥3d−4n\ge3d-4, then

M4(n,ε)≤2n−dM_4(n,\varepsilon)\le2n-d

for either colour ε\varepsilon. Consequently,

Dmono(n,ε)≤2n−d.D_{\mathrm{mono}}(n,\varepsilon)\le2n-d.

Proof. Suppose, to the contrary, that ∣S∣≥2n−d+1|S|\ge2n-d+1. Deleting points preserves four-direction admissibility, so we may assume equality. Since n=N+1n=N+1, (13) gives

r=d−3.r=d-3.

Uniformly over the parity of NN and the colour ε\varepsilon, (19) yields

ΓN,ε≥N(N−4)(N+1)3=N33−N2−4N3.(22)\Gamma_{N,\varepsilon} \ge\frac{N(N-4)(N+1)}{3} = \frac{N^3}{3} - N^2 - \frac{4N}{3}. \tag*{(22)}

The hypothesis n≥3d−4n \ge3d-4 is equivalent to N≥3d−5N \ge3d-5. Hence

ΓN,ε−(d−3)N2≥N3(N(N−3d+6)−4)≥N(N−4)3>0.\begin{aligned} \Gamma_{N,\varepsilon}-(d-3)N^2 \ge\frac{N}{3}\left(N(N-3d+6)-4\right) \\ &\ge\frac{N(N-4)}{3}>0. \end{aligned}

This contradicts (21).

Corollary 4.3. For every n≥8n \ge8 and either colour,

M4(n,ε)≤2n−⌊n+43⌋,M_4(n,\varepsilon) \le2n-\left\lfloor\frac{n+4}{3}\right\rfloor,

and the same bound holds for Dmono(n,ε)D_{\mathrm{mono}}(n,\varepsilon).

Proof. Take d=⌊(n+4)/3⌋d=\lfloor(n+4)/3\rfloor. Then d≥4d \ge4 and 3d−4≤n3d-4 \le n, so Theorem 4.2 applies.

The threshold 3d−43d-4 is chosen for a uniform statement. Keeping the parity and colour cases in (19) separate gives slightly sharper finite thresholds, but the simpler form is more useful for the present purpose.

Sharpness. The bound in Theorem 1.1 is attained for n=6,7,8n=6,7,8 in both colours and for n=9n=9 in colour zero. The fixed-deficit bound in Theorem 4.2 is also attained at (n,d)=(11,5)(n,d)=(11,5) in colour zero and at (n,d)=(14,6)(n,d)=(14,6) in both colours:

M4(11,0)=17,M4(14,0)=M4(14,1)=22.M_4(11,0)=17,\qquad M_4(14,0)=M_4(14,1)=22.

The ancillary files give coordinate witnesses and exact checks of their four-direction admissibility. The order-11 and order-14 witnesses contain collinear triples in other directions, so these equalities concern M4M_4, rather than DmonoD_{\mathrm{mono}}.

A linear deficit from the deficit positions

The estimate (21) loses information in two places: it places every missing diagonal unit as far from the centre as possible, and it discards the contribution of the row and column deficits altogether. Both losses can be controlled by ordering the available positions.

Let PN(k)P_N(k) be the sum of the kk smallest elements of the multiset

{(j−N2)2,(j−N2)2:0≤j≤N}.(23)\left\{\left(j-\frac{N}{2}\right)^2,\left(j-\frac{N}{2}\right)^2:0\le j\le N\right\}. \tag*{(23)}

For σ∈{u,v}\sigma\in\{u,v\}, let Qσ(N,r)Q_\sigma(N,r) be the sum of the rr largest squared labels in the full capacity multiset of the corresponding diagonal family. The centred identity then gives

ΓN,ε≤Qu(N,r)+Qv(N,r)2−2PN(r+2).(24)\Gamma_{N,\varepsilon}\le\frac{Q_u(N,r)+Q_v(N,r)}{2}-2P_N(r+2). \tag*{(24)}

Lemma 4.4 (Order-statistic bounds). For every integer rr with 0≤r≤2N0\le r\le2N and either diagonal family,

Qσ(N,r)≤IN(r)+4N2,IN(r)=N2r−Nr22+r312.(25)Q_\sigma(N,r)\le I_N(r)+4N^2,\qquad I_N(r)=N^2r-\frac{Nr^2}{2}+\frac{r^3}{12}. \tag*{(25)}
PN(r+2)≥r(r+1)(2r+1)96≥r348.(26)P_N(r+2)\ge\frac{r(r+1)(2r+1)}{96}\ge\frac{r^3}{48}. \tag*{(26)}

The estimates are uniform in NN, rr, ε\varepsilon and in the choice of diagonal family.

Proof. Order the absolute values in a diagonal capacity multiset as

w1≥w2≥⋯≥w2N.w_1 \ge w_2 \ge\cdots\ge w_{2N}.

For 0≤t≤N0 \le t \le N, there are at most 2(N−t)+42(N-t)+4 capacity units with absolute label at least tt. Taking t=wjt=w_j shows that j≤2(N−wj)+4j \le2(N-w_j)+4, and hence

wj≤N−j−42(5≤j≤2N).w_j \le N-\frac{j-4}{2}\qquad(5 \le j \le2N).

Therefore the four largest terms contribute at most 4N24N^2. Since x↦(N−x/2)2x \mapsto(N-x/2)^2 is decreasing on [0,2N][0,2N], each term of the remaining sum is bounded by the integral over the preceding unit interval. Thus

Qσ(N,r)≤4N2+∑j=1max⁡{r−4,0}(N−j2)2Q_{\sigma}(N,r) \le4N^2+\sum_{j=1}^{\max\{r-4,0\}}\left(N-\frac{j}{2}\right)^2
≤4N2+∫0r(N−x2)2 dx=4N2+IN(r).\le4N^2+\int_0^r\left(N-\frac{x}{2}\right)^2\,dx=4N^2+I_N(r).

Next order the absolute centred coordinate offsets, with multiplicity two, as

0≤z1≤z2≤⋯≤z2N+2.0 \le z_1 \le z_2 \le\cdots\le z_{2N+2}.

An interval of radius tt about N/2N/2 contains at most 2t+12t+1 integer indices, hence at most 4t+24t+2 capacity units. It follows that

zj+2≥j4(1≤j≤2N).z_{j+2}\ge\frac{j}{4}\qquad(1\le j\le2N).

Therefore

PN(r+2)≥116∑j=1rj2=r(r+1)(2r+1)96,P_N(r+2)\ge\frac{1}{16}\sum_{j=1}^r j^2=\frac{r(r+1)(2r+1)}{96},

which proves (26).

Theorem 4.5 (A linear deficit). For every n≥4n \ge4, either colour ε\varepsilon, and every four-direction admissible S⊆CεS\subseteq C_\varepsilon,

∣S∣≤(21−3)n+8.(27)|S|\le(\sqrt{21}-3)n+8. \tag*{(27)}

Consequently,

lim sup⁡n→∞M4(n,ε)n≤21−3=1.5825756949…,\limsup_{n\to\infty}\frac{M_4(n,\varepsilon)}{n}\le\sqrt{21}-3=1.5825756949\ldots,

and the same statement holds for Dmono(n,ε)D_{\mathrm{mono}}(n,\varepsilon).

Proof. Write ∣S∣=2N−r|S|=2N-r and set ρ=r/N\rho=r/N. Combining (22), (24), and lemma 4.4 gives

N33−N2−4N3≤IN(r)−r324+4N2.\frac{N^3}{3}-N^2-\frac{4N}{3}\le I_N(r)-\frac{r^3}{24}+4N^2.

Since

IN(r)−r324=N3f(ρ),f(ρ)=ρ−ρ22+ρ324,I_N(r)-\frac{r^3}{24}=N^3f(\rho),\qquad f(\rho)=\rho-\frac{\rho^2}{2}+\frac{\rho^3}{24},

we obtain, for N≥3N\ge3,

f(ρ)≥13−5N−43N2≥13−499N.(28)f(\rho)\ge\frac{1}{3}-\frac{5}{N}-\frac{4}{3N^2}\ge\frac{1}{3}-\frac{49}{9N}. \tag*{(28)}

The smallest nonnegative solution of f(ρ)=1/3f(\rho)=1/3 is

ρ0=5−21,\rho_0=5-\sqrt{21},

because

24(f(ρ)−13)=(ρ−2)(ρ2−10ρ+4).24\left(f(\rho)-\frac{1}{3}\right)=(\rho-2)(\rho^2-10\rho+4).

Moreover, on [0,ρ0][0,\rho_0],

f′(ρ)≥f′(ρ0)=7−214.f'(\rho)\ge f'(\rho_0)=\frac{7-\sqrt{21}}{4}.

If ρ≥ρ0\rho\ge\rho_0, the required lower bound on rr already holds. If ρ<ρ0\rho<\rho_0, the mean value theorem together with (28) gives

ρ0−ρ≤7(7+21)9N.\rho_0-\rho\le\frac{7(7+\sqrt{21})}{9N}.

Hence

r≥(5−21)N−7(7+21)9.r\ge(5-\sqrt{21})N-\frac{7(7+\sqrt{21})}{9}.

Using ∣S∣=2N−r|S|=2N-r and N=n−1N=n-1, we conclude that

∣S∣≤(21−3)N+7(7+21)9=(21−3)n+76−2219<(21−3)n+8.\begin{aligned} |S|&\le(\sqrt{21}-3)N+\frac{7(7+\sqrt{21})}{9}\\ &=(\sqrt{21}-3)n+\frac{76-2\sqrt{21}}{9}\\ &<(\sqrt{21}-3)n+8. \end{aligned}

□\square

The additive constant in Theorem 4.5 is not optimised. It arises from the deliberately coarse 4N24N^2 allowance in (25). Replacing that estimate by exact order statistics would improve the constant without changing the coefficient 21−3\sqrt{21}-3.

The coefficient 21−3\sqrt{21}-3 is slightly larger than the continuum coefficient α\alpha. The comparison separates the roles of the two arguments: the discrete second-moment method already forces a linear deficit, while the dual certificate improves the coefficient. The two methods are therefore complementary rather than redundant.

Fractional relaxation and continuum-to-discrete transfer

The four-direction fractional packing problem

Assign a nonnegative mass zpz_p to each point p∈Cεp\in C_\varepsilon, impose total mass at most two on every row, column, difference diagonal, and sum diagonal, and maximise ∑pzp\sum_p z_p. Denote the optimum by Lmono(n,ε)L_{\mathrm{mono}}(n,\varepsilon). We do not impose separate pointwise constraints zp≤1z_p\le1; omitting them enlarges the feasible region and therefore preserves the validity of the resulting upper bound. The characteristic vector of every four-direction admissible set is feasible, so

Dmono(n,ε)≤M4(n,ε)≤Lmono(n,ε).(29)D_{\mathrm{mono}}(n,\varepsilon)\le M_4(n,\varepsilon)\le L_{\mathrm{mono}}(n,\varepsilon). \tag*{(29)}

The dual assigns nonnegative weights hy,vx,λd,μsh_y,v_x,\lambda_d,\mu_s to the four line families, where 0≤x,y≤n−10\le x,y\le n-1, −(n−1)≤d≤n−1-(n-1)\le d\le n-1, and 0≤s≤2n−20\le s\le2n-2, and minimises

2(∑y=0n−1hy+∑x=0n−1vx+∑d=−(n−1)n−1λd+∑s=02n−2μs).(30)2\left(\sum_{y=0}^{n-1}h_y+\sum_{x=0}^{n-1}v_x+\sum_{d=-(n-1)}^{n-1}\lambda_d+\sum_{s=0}^{2n-2}\mu_s\right). \tag*{(30)}

subject to

hy+vx+λx−y+μx+y≥1((x,y)∈Cε).(31)h_y+v_x+\lambda_{x-y}+\mu_{x+y}\ge1 \qquad((x,y)\in C_\varepsilon). \tag*{(31)}

Finite linear-programming duality identifies this minimum with Lmono(n,ε)L_{\mathrm{mono}}(n,\varepsilon); weak duality alone is sufficient for all upper bounds used below [12].

Odd symmetry reductions

For odd n=2m+1n=2m+1, the full square symmetry preserves each colour class. We call C0C_0 the fat class and C1C_1 the thin class. The next reduced duals were derived in [19]; we include the short orbit argument because the precise half-mesh shift is needed in the sampling theorem.

Proposition 5.1 (Odd reduced duals). For every integer m≥1m\ge1, the fat-class value Lmono(2m+1,0)L_{\mathrm{mono}}(2m+1,0) is the minimum of

Φmfat(a,b)=8∑i=0m−1(ai+bi)+4(am+bm)(32)\Phi_m^{\mathrm{fat}}(a,b)=8\sum_{i=0}^{m-1}(a_i+b_i)+4(a_m+b_m) \tag*{(32)}

over nonnegative a0,…,am,b0,…,bma_0,\ldots,a_m,b_0,\ldots,b_m satisfying

au+am−v+bu+v+bu−v≥1(0≤v≤u, u+v≤m).(33)a_u+a_{m-v}+b_{u+v}+b_{u-v}\ge1 \qquad(0\le v\le u,\ u+v\le m). \tag*{(33)}

For the thin class, Lmono(2m+1,1)L_{\mathrm{mono}}(2m+1,1) is the minimum of

Φmthin(a,b)=8∑i=0m−1ai+8∑i=0m−1bi+4bm(34)\Phi_m^{\mathrm{thin}}(a,b)=8\sum_{i=0}^{m-1}a_i+8\sum_{i=0}^{m-1}b_i+4b_m \tag*{(34)}

over nonnegative a0,…,am−1,b0,…,bma_0,\ldots,a_{m-1},b_0,\ldots,b_m satisfying

au+am−v−1+bu+v+1+bu−v≥1(0≤v≤u, u+v≤m−1).(35)a_u+a_{m-v-1}+b_{u+v+1}+b_{u-v}\ge1 \qquad(0\le v\le u,\ u+v\le m-1). \tag*{(35)}

Proof. Use the standard averaging argument for symmetric linear programmes [14 Proposition 13]: average a feasible generic dual over the colour-preserving dihedral symmetries. This preserves feasibility and objective value and makes the weights constant on line orbits. For either colour ε\varepsilon, define the orbit weights by

ht=vt=bmin⁡{t,2m−t},λd=am−(∣d∣+ε)/2,μs=am−(∣s−2m∣+ε)/2,h_t=v_t=b_{\min\{t,2m-t\}},\qquad\lambda_d=a_{m-(|d|+\varepsilon)/2},\qquad\mu_s=a_{m-(|s-2m|+\varepsilon)/2},

where the diagonal formulas apply to compatible labels d,s≡ε(mod2)d,s\equiv\varepsilon\pmod2. Incompatible diagonals contain no point of the selected colour and may be assigned weight zero.

Reflect a point into [0,m]2[0,m]^2 and interchange its coordinates if necessary to obtain 0≤Y≤X≤m0\le Y\le X\le m. In the fat class, putting u=(X+Y)/2u=(X+Y)/2 and v=(X−Y)/2v=(X-Y)/2 gives representatives (X,Y)=(u+v,u−v)(X,Y)=(u+v,u-v) with 0≤v≤u0\le v\le u and u+v≤mu+v\le m. The four incident orbit weights are au,am−v,bu+v,bu−va_u,a_{m-v},b_{u+v},b_{u-v}, giving (33). Noncentral line orbits have four members and central orbits two; the factor two in (30) gives the coefficients eight and four in (32).

For the thin class, putting u=(X+Y−1)/2u=(X+Y-1)/2 and v=(X−Y−1)/2v=(X-Y-1)/2 gives representatives (X,Y)=(u+v+1,u−v)(X,Y)=(u+v+1,u-v) with 0≤v≤u0\le v\le u and u+v≤m−1u+v\le m-1. The half-layer shift changes the four indices to those in (35). There is no central aa-orbit, while bmb_m remains central, giving (34). Conversely, assigning a reduced variable to each line in its orbit recovers a feasible generic dual, so the reduced and generic optima agree.

Sampling a continuum dual cover

Let

T={(x,y):0≤y≤x, x+y≤1}.T = \{(x,y): 0 \le y \le x,\ x+y \le1\}.

Suppose that nonnegative functions A,B:[0,1]→[0,∞)A,B:[0,1]\to[0,\infty) satisfy the continuum obstacle

A(x)+A(1−y)+B(x+y)+B(x−y)≥1((x,y)∈T).(36)A(x)+A(1-y)+B(x+y)+B(x-y)\ge1 \qquad((x,y)\in T). \tag*{(36)}

The inequality is required on the closed triangle, including its boundary, since boundary points occur in the sampling below.

The following elementary quadrature estimate is the equally spaced one-dimensional case of Koksma’s inequality; see, for example, [15 equation (2)]. We include a direct proof.

Lemma 5.2 (Riemann sums for bounded-variation functions). If ff has bounded variation on [0,1][0,1], then, for every integer m≥1m\ge1,

∣∑i=0m−1f(i/m)−m∫01f(t) dt∣≤Var⁡(f)\left|\sum_{i=0}^{m-1} f(i/m)-m\int_0^1 f(t)\,\mathrm{d}t\right|\le\operatorname{Var}(f)

and

∣∑i=0m−1f((i+1/2)/m)−m∫01f(t) dt∣≤Var⁡(f),\left|\sum_{i=0}^{m-1} f((i+1/2)/m)-m\int_0^1 f(t)\,\mathrm{d}t\right|\le\operatorname{Var}(f),

where Var⁡(f)\operatorname{Var}(f) denotes the total variation on [0,1][0,1].

Proof. On an interval Ii=[i/m,(i+1)/m]I_i=[i/m,(i+1)/m], the difference between any sampled value of ff and the average value of ff on IiI_i is at most the variation of ff on IiI_i. Multiplying by the interval length and summing shows that the normalised Riemann sum differs from the integral by at most Var⁡(f)/m\operatorname{Var}(f)/m. Multiplication by mm gives both statements.

Theorem 5.3 (Continuum-to-discrete transference). Suppose nonnegative bounded-variation functions A,BA,B satisfy (36), and put

β=4∫01(A(t)+B(t)) dt.\beta=4\int_0^1(A(t)+B(t))\,\mathrm{d}t.

Then, for every n≥2n\ge2 and each ε∈{0,1}\varepsilon\in\{0,1\},

Lmono(n,ε)≤βn+CA,B,CA,B=8(Var⁡A+Var⁡B)+4(A(1)+B(1)).L_{\mathrm{mono}}(n,\varepsilon)\le\beta n+C_{A,B},\qquad C_{A,B}=8(\operatorname{Var} A+\operatorname{Var} B)+4(A(1)+B(1)).

Consequently,

M4(n,ε)≤βn+O(1),Dmono(n,ε)≤βn+O(1),M_4(n,\varepsilon)\le\beta n+O(1),\qquad D_{\mathrm{mono}}(n,\varepsilon)\le\beta n+O(1),

and the corresponding normalised upper limits are at most β\beta. The implied constants may depend on the fixed profiles A,BA,B, but are independent of $n and may be chosen uniformly in ε\varepsilon.

Proof. For the fat class, set

ai=A(i/m),bi=B(i/m)(0≤i≤m).a_i=A(i/m),\qquad b_i=B(i/m)\qquad(0\le i\le m).

For each constraint (34), take x=u/mx=u/m and y=v/my=v/m. The index conditions place (x,y)(x,y) in TT, and the constraint left side is exactly

A(x)+A(1−y)+B(x+y)+B(x−y),A(x)+A(1-y)+B(x+y)+B(x-y),

so the sampled variables are feasible. By lemma 5.2, their objective is

8∑i=0m−1(A+B)(i/m)+4(A(1)+B(1))=8m∫01(A+B)+O(1)=2mβ+O(1)=β(2m+1)+O(1).8\sum_{i=0}^{m-1}(A+B)(i/m)+4(A(1)+B(1))=8m\int_0^1(A+B)+O(1) =2m\beta+O(1) =\beta(2m+1)+O(1).

For the thin class, use the shifted samples

ai=A((i+1/2)/m)(0≤i<m),bi=B(i/m)(0≤i≤m).a_i=A((i+1/2)/m)\quad(0\le i<m),\qquad b_i=B(i/m)\quad(0\le i\le m).

For a constraint (35), set

x=u+1/2m,y=v+1/2m.x=\frac{u+1/2}{m},\qquad y=\frac{v+1/2}{m}.

Then 0≤y≤x0\le y\le x and x+y≤1x+y\le1, while the left side becomes exactly

A(x)+A(1−y)+B(x+y)+B(x−y).A(x)+A(1-y)+B(x+y)+B(x-y).

Thus the samples are feasible, and the midpoint and left Riemann sums give

8∑i=0m−1A((i+1/2)/m)+8∑i=0m−1B(i/m)+4B(1)=2mβ+O(1)=β(2m+1)+O(1).8\sum_{i=0}^{m-1}A((i+1/2)/m)+8\sum_{i=0}^{m-1}B(i/m)+4B(1) =2m\beta+O(1)=\beta(2m+1)+O(1).

This proves the two odd-grid estimates.

Finally, extend any feasible primal mass assignment on GnG_n by zero on the new row and column of Gn+1G_{n+1}. Every old line sum is unchanged and every new-only sum is zero, so

Lmono(n,ε)≤Lmono(n+1,ε).L_{\mathrm{mono}}(n,\varepsilon)\le L_{\mathrm{mono}}(n+1,\varepsilon).

The variation bounds in lemma 5.2 show that both odd-grid objectives are at most β(n−1)+CA,B\beta(n-1)+C_{A,B}. Since β≥0\beta\ge0, this is at most βn+CA,B\beta n+C_{A,B}; for even nn, comparison with n+1n+1 gives the same bound. Thus the stated constant works for every n≥2n\ge2 and both colours. The bounds for M4M_4 and DmonoD_{\mathrm{mono}} now follow from (29).

Application of the earlier continuum bound

The general result above applies to any profiles satisfying its hypotheses. For the numerical coefficient α\alpha, we use the following input from [19 Theorem 1 and Section 4.2]: there exist continuous nonnegative piecewise-polynomial functions A,BA,B satisfying (36) and

4∫01(A+B)=α,4\int_0^1(A+B)=\alpha,

where α\alpha is the middle real root of 401α3−1744α2+2240α−768401\alpha^3-1744\alpha^2+2240\alpha-768. Since these functions are piecewise polynomial, they have bounded variation. These properties are the only features of the earlier construction needed here. A separate exact verification of the profiles is provided in the ancillary files.

Corollary 5.4. There is an absolute constant CC such that, for every n≥2n\ge2 and ε∈{0,1}\varepsilon\in\{0,1\},

Dmono(n,ε)≤M4(n,ε)≤Lmono(n,ε)≤αn+C.D_{\mathrm{mono}}(n,\varepsilon)\le M_4(n,\varepsilon)\le L_{\mathrm{mono}}(n,\varepsilon)\le\alpha n+C.

In particular,

lim sup⁡n→∞Lmono(n,ε)n≤α,lim sup⁡n→∞M4(n,ε)n≤α.\limsup_{n\to\infty}\frac{L_{\mathrm{mono}}(n,\varepsilon)}{n}\le\alpha,\qquad \limsup_{n\to\infty}\frac{M_4(n,\varepsilon)}{n}\le\alpha.

Proof. Apply Theorem 5.3 to the profiles supplied by [19 Theorem 1], taking C=CA,BC=C_{A,B}. The chain of inequalities is (29).

Concluding remarks

The three bounds expose different levels of the four-direction structure. The 2n−42n - 4 theorem is a moment obstruction to near saturation. The multiple-deficit argument remains entirely discrete and already forces a deficit linear in nn. The continuum sampling theorem gives the smaller coefficient α\alpha, but its numerical value comes from the exact feasible certificate of [19]; neither that certificate’s optimality nor convergence of the normalised finite LP optima is known. There is also no matching construction of no-three-in-line sets of size αn−o(n)\alpha n - o(n).

Several directions remain open. Exact order statistics would improve the additive constant in Theorem 4.5, though not its coefficient. More substantially, one may seek an optimal continuum primal–dual pair or incorporate further slope families, which may provide additional moment dependencies. The discrete-tomography viewpoint in remark 3.1 suggests a systematic language for this extension; explicit constructions of global dependencies for general direction sets are given in [13].

Acknowledgements

We are grateful for the interest in the earlier checkerboard paper and for the care with which readers explored its open questions and shared their ideas. We thank Baris Zurnaci, Jialin Chen and Cemal Payzin for communicating their approaches to the proposed finite bound, and Grisha Pochuev and Luan Oliveira for sharing their computational investigations. This exchange, including the correspondence that led to the present collaboration, has been an encouraging part of the development of this work.

Author contributions

Sandhu developed the one-deficit moment argument proving the 2n−42n - 4 bound and the continuum-to-finite sampling argument. Aujla helped check the one-deficit proof and suggested the separate treatment of the exceptional case n=6n = 6. Prellberg developed the entire multiple-deficit argument, including the fixed-deficit bounds and the 21−3\sqrt{21} - 3 estimate. The exact continuum certificate used in corollary 5.4 is from Prellberg’s earlier work [19]. The authors jointly checked the results and prepared the manuscript.

Declaration of generative AI and AI-assisted technologies

During the development of this work, generative AI tools, including OpenAI ChatGPT, were used as exploratory and drafting aids. They assisted in comparing possible arguments, stress-testing proof ideas, checking algebraic manipulations and intermediate calculations, and organising exposition and LaTeX. The overall research direction and mathematical substance were determined by the authors. AI-generated suggestions were not treated as mathematical evidence or authority, and every proof step, computation, reference, and final passage was independently reviewed by an author. The authors take responsibility for the content of the manuscript.

References

References

  1. [1]H. E. Dudeney. Amusements in Mathematics. Thomas Nelson and Sons, London, 1917.
  2. [2]M. A. Adena, D. A. Holton, and P. A. Kelly. Some thoughts on the no-three-in-line problem. In D. A. Holton, editor, Combinatorial Mathematics II, Lecture Notes in Mathematics, vol. 403, pages 6–17. Springer, 1974. doi:10.1007/BF b0057371.DOI
  3. [3]R. K. Guy and P. A. Kelly. The no-three-in-line problem. Canadian Mathematical Bulletin, 11(4):527–531, 1968. doi:10.4153/CMB-1968-062-3.DOI
  4. [4]R. R. Hall, T. H. Jackson, A. Sudbery, and K. Wild. Some advances in the no-three-in-line problem. Journal of Combinatorial Theory, Series A, 18(3):336–341, 1975. doi:10.1016/0097-3165(75)90043-6.DOI
  5. [5]D. B. Anderson. Update on the no-three-in-line problem. Journal of Combinatorial Theory, Series A, 27(3):365–366, 1979. doi:10.1016/0097-3165(79)90025-6.DOI
  6. [6]A. Flammenkamp. Progress in the no-three-in-line problem. Journal of Combinatorial Theory, Series A, 60(2):305–311, 1992. doi:10.1016/0097-3165(92)90012-J.DOI
  7. [7]A. Flammenkamp. Progress in the no-three-in-line problem. II. Journal of Combinatorial Theory, Series A, 81(1):108–113, 1998. doi:10.1006/jcta.1997.2829.DOI
  8. [8]P. Brass, W. O. J. Moser, and J. Pach. Research Problems in Discrete Geometry. Springer, New York, 2005. doi:10.1007/0-387-29929-7.DOI
  9. [9]V. Froese, I. Kanj, A. Nichterlein, and R. Niedermeier. Finding points in general position. International Journal of Computational Geometry and Applications, 27(4):277–296, 2017. doi:10.1142/S021819591750008X.DOI
  10. [10]L. Hajdu and R. Tijdeman. Algebraic aspects of discrete tomography. Journal für die reine und angewandte Mathematik, 534:119–128, 2001. doi:10.1515/crll.2001.037.DOI
  11. [11]A. Stolk and K. J. Batenburg. An algebraic framework for discrete tomography: revealing the structure of dependencies. SIAM Journal on Discrete Mathematics, 24(3):1056–1079, 2010. doi:10.1137/090766693.DOI
  12. [12]A. Schrijver. Theory of Linear and Integer Programming. Wiley-Interscience, Chichester, 1986.
  13. [13]L. Hajdu and R. Tijdeman. Consistency conditions for discrete tomography. Fundamenta Informaticae, 155(4):425–447, 2017. doi:10.3233/FI-2017-1593.DOI
  14. [14]R. Bödi, K. Herr, and M. J. D. Powell. Algorithms for highly symmetric linear and integer programs. Mathematical Programming, 137:65–90, 2013. doi:10.1007/s10107-011-0487-6.
  15. [15]C. Aistleitner and J. Dick. Functions of bounded variation, signed measures, and a general Koksma–Hlawka inequality. Acta Arithmetica, 167(2):143–171, 2015. doi:10.4064/aa167-2-4.DOI
  16. [16]P. Ramanathan, T. Prellberg, M. Lewis, P. D. Joshi, R. A. Dandekar, R. Dandekar, and S. Panat. Three methods, one problem: Classical and AI approaches to no-three-in-line. arXiv:2512.11469 [math.CO], 2025. https://arxiv.org/abs/2512.11469.
  17. [17]T. Prellberg. Constraint satisfaction programming for the no-three-in-line problem. Journal of Combinatorial Theory, Series A, 225:106244, 2027. doi:10.1016/j.jcta.2026.106244.DOI
  18. [18]A. Ghosal, R. Goenka, A. Grebennikov, P. Keevash, M. Kwan, and H. T. Pham. No-(k + 1)-in-line problem for k ≥ 3. arXiv:2607.05255 [math.CO], 2026. https://arxiv.org/abs/2607.05255.
  19. [19]T. Prellberg. No-three-in-line sets on the checkerboard grid. arXiv:2605.09215 [math.CO], 2026. https://arxiv.org/abs/2605.09215.
  20. [20]B. Zurnaci. A four-direction moment bound for checkerboard no-three-in-line sets. Unpublished draft dated 26 July 2026, communicated to T. Prellberg on 27 July 2026.
  21. [21]J. Chen. Explicit line-weight bounds for no-three-in-line sets on the checkerboard grid. Unpublished draft, communicated to T. Prellberg, September 2026.
  22. [22]C. Payzin. Open mathematical problems and a verifiable partial result. Unpublished report and accompanying checkerboard verification package, communicated to T. Prellberg on 10 September 2026.
  23. [23]G. Pochuev. Monochromatic no-three-in-line solver. Public software and verification repository, 2026. https://github.com/Grisha-Pochuev/monochromatic-no-three-in-line-solver.
  24. [24]L. Oliveira. Exact checkerboard no-three-in-line numbers for orders 17 through 20. Unpublished revised draft, communicated to T. Prellberg, July 2026.
  25. [25]M. Cohen. Exact value of the 23 by 23 checkerboard no-three-in-line problem. Public computational report and repository, version 1.0.0, 22 July 2026. https://github.com/cohenmax95/checkerboard-no-three-in-line-n23.

Paper details

vlnc:W_ypyesdmt
Version
v2 · latest
Published
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

OpenAI ChatGPT

View statement
Looking for related papers…
Contents