Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /108 of 359

Taiwan IMO Selection Camp, 2022

Combinatorics Difficulty 5.4 AIME, harder Prove it Taiwan

Let nn and kk be positive integers satisfying n>k≥1n > k \ge 1. There are 2n+12n+1 students standing in a circle. For each student, his 2k2k neighbors refer to the nearest kk classmates on his left hand side and the nearest kk classmates on his right hand side.
It is known that there are exactly n+1n+1 girls among the students. Prove that: there exists a girl such that among her 2k2k neighbors there are at least kk girls.

Solution

Solution. Consider
am={1,the t-th student is a girl, where t≡m(mod2n+1),0,otherwise. a_m = \begin{cases} 1, & \text{the } t\text{-th student is a girl, where } t \equiv m \pmod{2n+1}, \\ 0, & \text{otherwise.} \end{cases}
Consider bi=ai+ai−k−1−1∈{−1,0,1}b_i = a_i + a_{i-k-1} - 1 \in \{-1, 0, 1\}. It is easy to see that for all mm,
bm+1+⋯+bm+2n+1=2(a1+⋯+a2n+1)−(2n+1)=2(n+1)−(2n+1)=1.(1) b_{m+1} + \cdots + b_{m+2n+1} = 2(a_1 + \cdots + a_{2n+1}) - (2n+1) = 2(n+1) - (2n+1) = 1. \quad (1)
Note that this means there exists i0i_0 such that bi0=1b_{i_0} = 1. If we can find ii satisfying
bi=1andbi+1+bi+2+⋯+bi+k≥0,(2) b_i = 1 \quad \text{and} \quad b_{i+1} + b_{i+2} + \cdots + b_{i+k} \ge 0, \qquad (2)
then ai=1a_i = 1 and
(ai−k+⋯+ai−1)+(ai+1+⋯+ai+k)≥k, (a_{i-k} + \cdots + a_{i-1}) + (a_{i+1} + \cdots + a_{i+k}) \ge k,
and thus the original problem is proved.
We use proof by contradiction to show that an ii satisfying (2) exists. Suppose that for all ii satisfying bi=1b_i = 1, bi+1+bi+2+⋯+bi+kb_{i+1} + b_{i+2} + \cdots + b_{i+k} is always negative. Take any one of these i0i_0, and for all jj, define iji_j to be the smallest integer satisfying ij>ij−1+ki_j > i_{j-1} + k and bij=1b_{i_j} = 1. Take any two among {i0,i1,⋯ ,i2n+1}\{i_0, i_1, \cdots, i_{2n+1}\} that are congruent modulo 2n+12n+1, and without loss of generality assume these are i0i_0 and iTi_T.
Now, note that for all 0≤j≤T−10 \le j \le T-1, by the definition of iji_j, bij+k+1b_{i_j + k + 1} through bij+1−1b_{i_{j+1} - 1} must all be ≤0\le 0. By the assumption for contradiction, this means
Sj:=bij+⋯+bij+1−1≤bij+⋯+bij+k=bij+(bij+1+⋯+bij+k)<1+0=1, S_j := b_{i_j} + \cdots + b_{i_{j+1}-1} \le b_{i_j} + \cdots + b_{i_j+k} = b_{i_j} + (b_{i_{j+1}} + \cdots + b_{i_j+k}) < 1 + 0 = 1,
and thus Sj≤0S_j \le 0. But on the other hand, since (2n+1)∣(iT−i0)(2n+1)|(i_T - i_0), (1) implies that
S0+⋯+ST−1=∑i=i0iT−1bi=iT−i02n+1>0, S_0 + \cdots + S_{T-1} = \sum_{i=i_0}^{i_T-1} b_i = \frac{i_T - i_0}{2n+1} > 0,
a contradiction! Hence there exists ii satisfying (2). This completes the proof.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty) added by this project.