TOPICS
Search

Box-Free Coloring


A box-free coloring of a grid X_1×...×X_d assigns colors to its points so that no Cartesian product A_1×...×A_d with each A_i a two-element subset of X_i is monochromatic. Thus a monochromatic box in dimension three consists of eight points of one color.

Let N(a,b) be the greatest c for which an a×b×c grid has a box-free coloring with two colors, when that greatest c exists. Each monochromatic rectangle in an a×b layer prevents the same rectangle from appearing in the same color in any other layer. In a 5×7 layer there are at least eight monochromatic rectangles (Alm and Miller 2026, §6), and there are 420 choices of a rectangle and its color. Thus N(5,7)<=52.

Jacob (2026) constructed box-free two-colorings of the 5×7×51 grid and the 11×11×11 cube. The first uses 17 binary matrices and their images under simultaneous row and column permutations of order three. The second uses an 11×11 binary matrix, with both indices shifted cyclically by the layer index. Jacob's registered Lean comparison includes both constructions and the upper bound. The AFTD project (2026) supplies a separate 52-layer coloring, attaining the upper bound and establishing N(5,7)=52.


See also

Erdos Box Problem, Ramsey Theory, Zarankiewicz Number

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

References

AFTD. "The Maximum Number of Box-Free Five-by-Seven Binary Layers Is Exactly Fifty-Two." Nov. 28, 2026. https://rainwangphy.github.io/aftd-platform/blog/2026-11-28-op-1867/.Alm, J. F. and Miller, A. "Constructive and Computational Methods for Extremal and Near-Extremal Box Colorings." 14 Nov 2026. https://arxiv.org/abs/2611.19635.Jacob (@Jac0xb). "Box-Free 2-Colorings of 11×11×11 and 5×7×51 Grids and the 5×7×53 Upper Bound." Palomar Registry, Nov. 29, 2026. https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-29-000023&version=1.

Cite this as:

Weisstein, Eric W. "Box-Free Coloring." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Box-FreeColoring.html

Subject classifications