CombinatoricsDifficulty 8.9Prove itThe 65th IMO China National Team Selection Test · China
For a positive integer n, a subset S of {1,2,…,n} is called an n-good set if for any elements x,y in S (they can be the same), if x+y≤n, then x+y∈S. For a positive integer n, define rn as the smallest real number such that for any positive integer m≤n, there exists an n-good set with m elements, whose sum of all elements does not exceed m⋅rn. Prove that there exists a real number α such that for any positive integer n, we have ∣rn−αn∣<2024.
This one wants a proof. Work it on paper, then read the official solution and mark
yourself. Be honest about it: the record is only any use to you if it is.
Official solution
Proof. We will show that α=2−2 satisfies the requirement. We will prove this in two steps.
First, we prove that rn≥αn−4. For this, we only need to consider the case where n>4. Let m=⌊2n⌋<n, and let d=n−m. Consider an n-good set S with m elements, and let the complement of S be Sc={1,2,…,n}∖S={a1,a2,…,ad}, where a1<a2<⋯<ad. For any 1≤i≤d, we claim that ai≤2i−1. In fact, if ai≥2i, then among the pairs (1,ai−1), (2,ai−2), \dots, (i,ai−i), at least one pair would have both numbers in S, which contradicts the condition for S being an n-good set. (If ai=2i, the last pair has equal numbers, but this does not affect the proof.) Therefore, x∈S∑x=2n(n+1)−x∈Sc∑x≥2n(n+1)−(1+3+⋯+(2d−1))=2n(n+1)−d2. Thus, rn≥n−d2n(n+1)−d2=(n+d)−2(n−d)n(n−1)=2n−m−2mn(n−1)(3) >2n−(m+2mn2)>2n−2n−1=αn−1,(4) where the last inequality holds because m+2mn2 is minimized at m=2n, with rounding causing at most an error of 1.
Next, we prove that rn≤αn+100. For this, we only need to consider the case where n>100. We discuss several cases.
Case 1: If m=n, {1,2,…,n} is an n-good set, with an arithmetic mean of 2n+1<αn+4.
Case 2: If m≤n−1, let k=⌊m+1n+1⌋, then (m+1)k≥n+1>n, while mk≤m⋅m+1m+n+1=m+1mn+m2+m≤m+1mn+n=n. Thus, {k,2k,…,mk} is an n-good set with m elements, and its arithmetic mean is 2m+1⋅k≤2m+1⋅m+1m+n+1=2n+m+1≤2n+n≤2011n<αn.
Case 3: If n−1<m≤n−1, let ⌊kn⌋≤m<⌊k−1n⌋, where k≥2. We first choose all multiples of k from {1,2,…,n} (a total of ⌊kn⌋ elements), then choose the remaining m−⌊kn⌋ elements that have the same remainder r modulo k (where r∈{1,2,…,k−1} and r≡n+1(modk)) or r≡n+2(modk)). When k=2, the unchosen numbers are just a few starting odd numbers, and from the inequality (4), it is easy to see that the chosen numbers form an n-good set.
When k≥3, m≤⌊kn⌋+⌊2kn⌋. This is because For k≥4,⌊kn⌋+⌊2kn⌋>2k3n−2=k−1n+2k(k−1)(k−3)n−2≥k−1n+24n−2>k−1n, For k≥3,⌊kn⌋+⌊2kn⌋>2n−2. Therefore, the chosen numbers modulo k are greater than n−⌊2kn⌋⋅k≥2n, so any two chosen numbers sum to more than n, indicating that the chosen numbers form an n-good set. Let the multiples of k be a=⌊kn⌋, then the numbers with the same remainder r modulo k have m−a elements, and their mean does not exceed m1(2ka(a+1)+(m−a)(n+2)−2k(m−a)(m−a+1))=n+2+(a−21)k−(2km+m(n+k+2)a)≤n+2+(a−21)k−2ak(n+k+2)<2n+2−2(n−k+1)(n+k−1)=2n+2−2(n2−(k−1)2)≤2n+2−2(n2−n)<αn+4. Therefore, the arithmetic mean of the elements in the above n-good set does not exceed αn+4.
In conclusion, α=2−2 satisfies the requirement, and the proof is complete. □
Source: MathNet,
licensed CC-BY-4.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.