OFFSET
1,3
COMMENTS
The barycenter of the points {(x_1, y_1), (x_2, y_2), ..., (x_k, y_k)} is given by the average of the x and y coordinates: (Sum_{i=1..k} x_i/k, Sum_{i=1..k} y_i/k).
EXAMPLE
For n = 5, a(5) = 4 because letting a(5) = 1, 2, or 3 creates barycenter collisions:
+-----------+----------------+--------------------------------+------------+
| candidate | set 1 | set 2 | barycenter |
+-----------+----------------+--------------------------------+------------+
| (5, 1) | (1, 1); (5, 1) | (1, 1); (2, 1); (4, 1); (5, 1) | (6, 1) |
| (5, 2) | (2, 1); (5, 2) | (2, 1); (3, 2); (4, 1); (5, 2) | (3.5, 1.5) |
| (5, 3) | (1, 1); (5, 3) | (1, 1); (3, 2); (5, 3) | (3, 2) |
+-----------+----------------+--------------------------------+------------+
And a(5) = 4 creates no such problems.
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Peter Kagey, Sep 19 2018
STATUS
approved