OFFSET
1,3
COMMENTS
a(n) is floor(5*n/13) for small n but a(n) ~ (c - o(1))*n for some 0.379005 < c < 0.380876. - Sharvil Kesarwani, Mar 04 2026
From Bert Dobbelaere, Mar 02 2026: (Start)
a(k*n) <= k*a(n) can be shown by constructing a set X' containing all elements in range [k*(x-1)+1...k*x] for each element x of X (similar for Y).
a(n+1) <= a(n) + 1 can be shown by extending X with element 2n+1 and Y with element 2n+2.
It follows that a(n)/n >= the lower bound for c, otherwise it would be violated for arbitrary large k. (End)
LINKS
Thomas F. Bloom, Erdős Problem #36
FORMULA
a(2n) <= n.
a(k*n) <= k * a(n) for positive integer k. - Bert Dobbelaere, Mar 02 2026
a(n+1) <= a(n) + 1. - Bert Dobbelaere, Mar 02 2026
EXAMPLE
For n = 2, the equal partitions of {1,2,3,4} are:
- {1,2} and {3,4}: the differences are 2, 1, 3, 2: max repetition is 2.
- {1,3} and {2,4}: the differences are 1, -1, 3, 1, max repetition is 2.
- {1,4} and {2,3}: the differences are 1, -2, 2, -1, max repetition is 1.
Hence a(2) = 1.
For n = 3, the partition {1,2,4} and {3,5,6} has at most two pairs with the same difference, so a(3) <= 2. Exhaustive checking shows that no partition has lower repetition.
PROG
(Python)
from itertools import combinations
from collections import Counter
def a(n): return min(max(Counter(a-b for a in A for b in range(1, 2 * n + 1) if b not in A).values()) for A in combinations(range(1, 2*n + 1), n))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Touch Sungkawichai, Feb 22 2026
EXTENSIONS
a(19)-a(21) from Christian Sievers, Feb 26 2026
a(22)-a(26) from Bert Dobbelaere, Feb 28 2026
a(27)-a(28) from Sharvil Kesarwani, Mar 01 2026
a(29)-a(30) from Bert Dobbelaere, Mar 02 2026
a(31)-a(33) from Bert Dobbelaere, Mar 28 2026
STATUS
approved
