Maths Olympiad Prep

Library / /14 of 22

Combinatorics Difficulty 8.4 Shortlist Prove it Germany

In a room there are 2005 fruit boxes, each of which contains one or more kinds of fruit, with an integer number of fruits of each kind.
a) Show that one can always select 669 fruit boxes that together contain at least one third of all apples as well as at least one third of all pears.
b) Can the boxes in part a) always be chosen such that they additionally contain at least one third of all peaches?

Solution

Solution:

a) Let NN be a box that contains a maximal number of apples, say nn pieces. It is first set aside. We now consider all possibilities of dividing the remaining 2004=36682004 = 3 \cdot 668 boxes into three piles, AA, BB and CC, of 668 boxes each. Let the total number of apples in these boxes be aa, bb, cc. By starting with an arbitrary such division and renaming the piles formed if necessary, we see that there are divisions with abca \leq b \leq c. Among all of these we fix, for the remainder of the proof, one for which cac - a is minimal. If now ca>nc - a > n, we could swap a box from AA containing the maximal number of apples with a box from CC containing the minimal number, and, due to the maximality of nn, after possibly renaming the piles, we would obtain a contradiction to the minimality of cac - a. Hence canc - a \leq n, so a+ncba + n \geq c \geq b, from which immediately follows
a+n=(a+n)+(a+n)+a+n3c+b+a+n3 a + n = \frac{(a + n) + (a + n) + a + n}{3} \geq \frac{c + b + a + n}{3}
So if we finally decide to take the 669 boxes A{N}A \cup \{N\}, i.e. the boxes of pile AA together with the box NN, then we would have at least satisfied the condition on the number of apples to be taken. This naturally holds all the more for B{N}B \cup \{N\} and C{N}C \cup \{N\}. Now let (by the pigeonhole principle) TT be one of the three piles that contains at least one third of the pears occurring in them altogether. Thus the selection T{N}T \cup \{N\} certainly satisfies the requirement on the number of pears to be chosen and is consequently, by the above, as desired.

b) Here it suffices to give a counterexample. Let one of the boxes contain nothing but one apple, another just one pear, and in each of the remaining 2003 boxes let there lie one peach. If one wanted to satisfy the stated conditions, one would have to choose the box with the apple, the box with the pear, and 668 boxes with a peach, thus needing 670 boxes in total.

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

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