Discrete geometry · open
Distinct distances in the tetrahedral grid.
Best known value: 16 (maximize), held by Quantavane (Arhan Canli) since 9 November 2026.
The problem
The tetrahedral grid of side n is the set of the n(n + 1)(n + 2)/6 points a*e1 + b*e2 + c*e3 with integers a, b, c >= 0 and a + b + c <= n - 1, where e1, e2, e3 are unit vectors at 60 degrees to each other: a tetrahedral piece of the face-centred cubic lattice, in which the squared distance between two points is da^2 + db^2 + dc^2 + da*db + db*dc + da*dc. What is the largest set of grid points whose pairwise distances are all different? For n <= 10 the answer is n (exhaustive search). The headline cell is n = 20 (1,540 points): find more than 16 points with all distances different.
Why it is interesting
Erdos's distinct distances problem asks how few distances n points can determine; its opposite, how many points can have all their distances different, is a Golomb-ruler question in higher dimensions. Erdos and Guy (1970) asked it for the n x n square grid, where the largest sets have order n^(2/3) up to logarithmic factors, and in the triangular grid (our problem tri-distinct) the answers stay below n. The face-centred cubic lattice is the densest lattice packing of spheres and the three-dimensional counterpart of the triangular lattice, and its tetrahedral pieces are the natural regions: the corners of a tetrahedron of side n - 1. Here the answer is exactly n for every n <= 10, by exhaustive search; beyond that our searches find fewer than n points (16 for n = 20), and whether the exact values stay at n for a while longer is open. Counting gives an upper bound: the squared distances are integers from 1 to (n - 1)^2, so k points need k(k - 1)/2 <= (n - 1)^2, which allows about 1.41n. Whether the largest sets grow like n, or like a larger multiple of n, is open.
Is it new?
New question for this lattice: Erdos and Guy asked it for the square grid and we for the triangular grid (tri-distinct); no result was found for the face-centred cubic lattice or its tetrahedral pieces.
Checked 9 November 2026, before the problem was added: 5 arXiv searches, 4 OEIS searches, 1 web searches, and the keeper tables of the Open Problems Benchmark. Every search, with its address and first results, is in the novelty record.
First values
| n | grid points | largest set with distinct distances | how |
|---|---|---|---|
| 1 | 1 | 1 | exact (exhaustive search) |
| 2 | 4 | 2 | exact (exhaustive search) |
| 3 | 10 | 3 | exact (exhaustive search) |
| 4 | 20 | 4 | exact (exhaustive search) |
| 5 | 35 | 5 | exact (exhaustive search) |
| 6 | 56 | 6 | exact (exhaustive search) |
| 7 | 84 | 7 | exact (exhaustive search) |
| 8 | 120 | 8 | exact (exhaustive search) |
| 9 | 165 | 9 | exact (exhaustive search) |
| 10 | 220 | 10 | exact (exhaustive search) |
| 11 | 286 | 10 | best known (ours, local search); at most 14 |
| 12 | 364 | 11 | best known (ours, local search); at most 16 |
| 13 | 455 | 11 | best known (ours, local search); at most 17 |
| 14 | 560 | 12 | best known (ours, local search); at most 18 |
| 15 | 680 | 13 | best known (ours, local search); at most 20 |
| 16 | 816 | 13 | best known (ours, local search); at most 21 |
| 18 | 1140 | 14 | best known (ours, local search); at most 24 |
| 20 | 1540 | 16 | best known (ours, local search); at most 27 |
Exact values from an exhaustive depth-first search (tools/src/tetradist.c, mode exact; n = 10 took 6 minutes). Upper bounds from counting distances. An OEIS search of 1..10 only returns the natural numbers, so the exact terms do not identify a sequence.
Cells
The same question at each value of its parameter (N, the side of the tetrahedral grid): 18 cells, 8 exact (an exhaustive search finished) and 10 best known (ours). Each cell has its certificate in the benchmark and is checked with the same checker.
| Cell | N | Value | Status |
|---|---|---|---|
| tetra-distinct-3 | 3 | 3 | exact |
| tetra-distinct-4 | 4 | 4 | exact |
| tetra-distinct-5 | 5 | 5 | exact |
| tetra-distinct-6 | 6 | 6 | exact |
| tetra-distinct-7 | 7 | 7 | exact |
| tetra-distinct-8 | 8 | 8 | exact |
| tetra-distinct-9 | 9 | 9 | exact |
| tetra-distinct-10 | 10 | 10 | exact |
| tetra-distinct-11 | 11 | 10 | best known |
| tetra-distinct-12 | 12 | 11 | best known |
| tetra-distinct-13 | 13 | 11 | best known |
| tetra-distinct-14 | 14 | 12 | best known |
| tetra-distinct-15 | 15 | 13 | best known |
| tetra-distinct-16 | 16 | 13 | best known |
| tetra-distinct-17 | 17 | 14 | best known |
| tetra-distinct-18 | 18 | 14 | best known |
| tetra-distinct-19 | 19 | 15 | best known |
| tetra-distinct-20 | 20 | 16 | best known (headline) |
Exact cells: exhaustive depth-first search over the subsets of the grid (tools/src/tetradist.c, mode exact). Best known cells: local search moving one point at a time to the position creating the fewest repeated distances, with a tabu list (tools/src/tetradist.c, mode ls).
Best known value
16 points, held by Quantavane (Arhan Canli), 9 November 2026: the set in `refs/tetra-distinct.txt`. Upper bound 27 (k(k - 1)/2 <= 19^2 = 361).
Bound on the other side: 27 (upper bound; the k(k - 1)/2 distances are different integers between 1 and 19^2 = 361).
Check a solution
Text file: one line 'a b c' per point (a, b, c >= 0, a + b + c <= 19), all points distinct. Score: the number of points, an integer (larger is better).
git clone https://github.com/arhancanli/quantavane-benchmark
cd quantavane-benchmark
python3 -I obb.py check tetra-distinct FILE
The checker is ours, uses only the Python standard library, prints the exact value and accepts only valid certificates. A better value is credited by name here and in the benchmark's leaderboard; write to [email protected] or open an issue on the benchmark repository.
The problem file on GitHub All Originals