login
A393937
Start with a single point at the origin of the square grid. At each step, add a point adjacent to an existing point in such a way that the maximum number of existing points on a line through the new point is as small as possible. In case of ties, compare the number of points on the line with the next largest number of points, etc. If there is still a tie, choose the lexicographically largest point. a(n) is the number of points that have been added when n collinear points first appear.
3
1, 2, 5, 15, 31, 51, 75, 109, 142, 293, 348, 408, 477, 597, 691, 1128, 1312, 1783, 1978, 2151, 2329, 3581, 4249, 4556
OFFSET
1,2
COMMENTS
Two points are adjacent if they differ by 1 in a single coordinate (von Neumann neighborhood).
For the first 5000 points, the tiebreaking rule that considers the lexicographical ordering is necessary only when points 2-10, 16, 21, 24, 25, 36, 51, 52, and 55 are added.
Although there is a larger number of cells to choose from in each step compared to A393935, a(n) < A393935(n) for n = 9 and 11 <= n <= 24.
FORMULA
a(n) <= A380991(n-1)+1 for n >= 2.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
STATUS
approved