No-three-in-line problem
The no-three-in-line problem in discrete geometry asks how many points can be placed in the n × n {\displaystyle n\times n} grid so that no three points lie on a straight line. The problem concerns lines of all slopes, not only those aligned with the grid.