Discrete geometry · open
Right-angle-free sets in the triangular grid.
Best known value: 23 (maximize), held by Quantavane (Arhan Canli) since 10 November 2026.
The problem
Let the triangular grid T_N be the points a + b w (w = e^(i pi/3)) with integers a, b >= 0 and a + b <= N - 1, N(N+1)/2 points forming a triangle of side N - 1 in the Eisenstein lattice; the squared distance between two of them is da^2 + da db + db^2. Determine the largest number of points of the triangular grid T_N such that no three of them form a right angle (no three points p, q, r with (q - p).(r - p) = 0), as a function of N. The exact values are known (ours) for N <= 10; the headline cell is N = 13: find 24 or more such points of the region of side 13.
Why it is interesting
A set of points is right-angle-free when no three of its points form a right angle. Gamble, Pulleyblank, Reed and Shepherd (1995) studied the largest right-angle-free subsets of the plane and of the square lattice, and related work (Junger and Pulleyblank) shows the problem NP-hard for general point sets; sets without isosceles right triangles in the n x n grid are a separate, active question (OEIS A271906; arXiv:2607.22828, 2026). In the triangular lattice the grid directions meet at 60 and 120 degrees, so no two of them are perpendicular, but right angles occur in many other directions (for example between (1, 0) and (-1, 2)). The exact values grow irregularly (3, 4, 5, 9, 12, 13, 13, 15, 16 for N = 2..10), with no closed form in sight; how fast they grow is open.
Is it new?
New question for this lattice: right-angle-free subsets are studied for the square lattice (Gamble, Pulleyblank, Reed and Shepherd 1995; Junger and Pulleyblank) and isosceles right triangles in the square grid (A271906); no result was found for the triangular grid, and its first values are not in the OEIS.
Checked 10 November 2026, before the problem was added: 7 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.
Cells
The same question at each value of its parameter (N, the side of the triangular grid): 12 cells, 9 exact (an exhaustive search finished) and 3 best known (ours). Each cell has its certificate in the benchmark and is checked with the same checker.
| Cell | N | Value | Status |
|---|---|---|---|
| tri-right-2 | 2 | 3 | exact |
| tri-right-3 | 3 | 4 | exact |
| tri-right-4 | 4 | 5 | exact |
| tri-right-5 | 5 | 9 | exact |
| tri-right-6 | 6 | 12 | exact |
| tri-right-7 | 7 | 13 | exact |
| tri-right-8 | 8 | 13 | exact |
| tri-right-9 | 9 | 15 | exact |
| tri-right-10 | 10 | 16 | exact |
| tri-right-11 | 11 | 18 | best known |
| tri-right-12 | 12 | 19 | best known |
| tri-right-13 | 13 | 23 | best known (headline) |
Exact cells: CP-SAT (OR-Tools 9.15, one worker) proved the optimum of the 0/1 model in tools/lattice_sets.py. Best known cells: the best set CP-SAT found in 10 seconds, started from the set for side N - 1 (tools/lattice_sets.py).
Best known value
23 for N = 13, held by Quantavane (Arhan Canli), 10 November 2026: the points in `refs/tri-right.txt` (the best set CP-SAT found in 10 seconds, started from the set for side N - 1 (tools/lattice_sets.py)). Exact values for N = 2..10: 3, 4, 5, 9, 12, 13, 13, 15, 16 (CP-SAT (OR-Tools 9.15, one worker) proved the optimum of the 0/1 model in tools/lattice_sets.py).
Check a solution
Text file: one point 'a b' per line, a point of the region of side 13 (lines starting with # are ignored). Score: the number of points (larger is better).
git clone https://github.com/arhancanli/quantavane-benchmark
cd quantavane-benchmark
python3 -I obb.py check tri-right 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