Browse · MathNet
PrintSAUDI ARABIAN MATHEMATICAL COMPETITIONS
Saudi Arabia counting and probability
Problem
Given a set of cards with the numbers written on them. We divide the set of cards into pairs arbitrarily; from each pair, we keep the card with larger number and discard the other. We now again divide the remaining cards into pairs arbitrarily; from each pair, we keep the card with smaller number and discard the other. We now have cards, and again divide these cards into pairs and keep the larger one in each pair. We keep doing this way, alternating between keeping the larger number and keeping the smaller number in each pair, until we have just one card left. Find all possible values of this final card.
Solution
Note that the remaining number is kept times as the larger one of the pair. So it is bigger than at least numbers.
Similarly, the remaining number is kept times as the smaller one of the pair so it is smaller than at least numbers.
Therefore, the remaining number satisfies To prove that any satisfies the above inequalities is true, we can carry out the pairing inductively so that after steps, the following condition is satisfied: if the numbers remaining are then is one of these, and there are at least numbers smaller than and at least numbers larger than .
Similarly, the remaining number is kept times as the smaller one of the pair so it is smaller than at least numbers.
Therefore, the remaining number satisfies To prove that any satisfies the above inequalities is true, we can carry out the pairing inductively so that after steps, the following condition is satisfied: if the numbers remaining are then is one of these, and there are at least numbers smaller than and at least numbers larger than .
Final answer
All integers x with 2^{1008} ≤ x ≤ 2^{2016} − 2^{1008} + 1
Techniques
Invariants / monovariantsInduction / smoothingColoring schemes, extremal arguments