/-
Copyright 2026 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/importFormalConjecturesUtil
Ben Green's Open Problem 72
More commonly known as the no-three-in-line problem.
What is the largest subset of the grid $[N]^2$ with no three points in a line? In particular,
for $N$ sufficiently large, is it impossible to have a set of size $2N$ with this property?
The upper bound $2N$ is the easy half and is allowedSetSize_le below, by pigeonhole on the
columns. The open content is whether $2N$ is attained. Green records that it is for $N$ up to
around 50, that $(3/2 + o(1))N$ points are achievable for arbitrary $N$, and that his "personal
suspicion is that this is optimal". The Wikipedia reference points the same way: Guy and Kelly
conjectured $c = \sqrt[3]{2\pi^2/3} \approx 1.874$, and after an error in the heuristic was found
Guy corrected it to $c = \pi/\sqrt3 \approx 1.814$. Both are below $2$, so the expected answer to
the question above is yes.
The no-k-in-line problem:
For $N \geq k$ and $k > 2$, the AllowedSetSize is $(k - 1) N$, i. e. on an $N \times N$ subset,
there is a set of $(k - 1) N$ points for which no $k$ lie on a line (and not such a set of bigger size).
Note the range. [GK2025] proves this for $k > 10^{37}$, which is no_k_in_line_big below. At
$k = 3$ it is the claim Green expects to fail for large $N$, so this statement is not a
conjecture anyone has made across the whole range $k > 2$.
Green's Open Problem 72 / No-three-in-line problem:
For $N$ sufficiently large, is it impossible to have $2N$ points in $[N]^2$ with no three in a
line? Green suspects the answer is yes, and that $(3/2 + o(1))N$ is optimal.
This is not the negation of green_72. Negating that one gives $\exists^f N$ where this asks
$\forall^f N$, so both can be answered False if the behaviour oscillates. Green asks his
question in the green_72 form.