Suppose, for given $m > 0$, we have a set of points of the form $v = (m(m+2), 0)p + (m, 1)q$, with $p, q, m$ integers. What is the minimum distance between two (distinct ones) of them?
Here is the square distance between any point and the origin: $|v|^2 = (pm^2 + 2pm + qm)^2 + q^2,$
we need to find the $p, q$ that minimizes this distance given $m > 0$.
In practice it is easy enough to check a few points, and find the optimum by trial and error, but I am wondering if there is a closed form solution.
Background: this came up while working on this question: How many colors is necessary so that a rectangle always covers no color more than once?. See the second last conjecture.
(Note: I am not sure if there are more appropriate tags.)
