Given 35 positive integers, the sum of which is 100 and none of them is greater than 50. Prove that there are some of them whose sum is 50.
Problem 1102
Official solution
The question is related to problem 2518 and exercise 2304. (Their solutions can be found in the January and May issues of 1986, respectively.) From the note added to the solution of the latter, it is clear that the "balancing procedure" applied in both cases does not necessarily lead to a result. That is, if we assign weights to the given numbers and place them in the pans of a two-pan balance in decreasing order of magnitude, placing them in the left pan if the balance is even, and otherwise in the lighter pan, the pans will not necessarily be in balance when the weights run out.
If the procedure "gets stuck," that is, placing a weight of mass in one of the pans would exceed half the total mass, 50 grams, then the total mass of the weights in both pans up to this point is at least , so at most mass of weights remain off the balance. The mass in the pans is at most , and thus up to the point of getting stuck, we could have placed at most
weights on the balance, since each of the weights used so far is at least in mass due to the decreasing order.
Thus, we still need to place at least weights, and their total mass is at most according to the first estimate derived from the fact of getting stuck. More precisely, excluding the "critical" weight of mass , at least weights are left, each with a mass of at most grams.
Since the mass of each weight is at least 1, we have , or . Given that is an integer, this inequality holds if and only if or .
The case is not possible, because in the decreasing order, there would already be at least one weight of at least 35 grams in each pan before getting stuck, and together with the "critical" weight of mass , their total would be at least , which is greater than 100.
With a weight of mass , the procedure cannot get stuck, as in this case, proceeding one by one, the 50-gram mass in either pan cannot be exceeded.
Thus, the procedure can only get stuck in the case , which can happen if 49 grams of weight have accumulated in both pans, and a 2-gram weight remains. (In this case, we have no 1-gram weights.) This can indeed occur, for example, if we have 30 weights of 3 grams and 5 weights of 2 grams. It can be shown that in this case, there exists a subset of the weights in each pan such that the difference in their total mass is exactly 1 gram. By swapping these two subsets, the difference between the pans becomes 2, which can be balanced with the remaining weight. However, we will choose a different path now.
If there are no 1-gram weights, then the number of 2-gram weights is clearly at least five . Let's set aside five of the 2-gram weights. We will show that among the remaining thirty weights, there exists a subset whose total mass is an even number between 40 and 50, and thus can be completed to 50 grams using the set-aside 2-gram weights.
The total mass (90 grams) and the number (30) of the remaining weights are both even, so the number of odd-mass and even-mass weights among them is also even. Therefore, we can pair the odd-mass weights and the even-mass weights separately and consider the sum of the weights in each pair. This way, we get 15 even numbers, each at least 4, and their total is 90. We will show that among these, there are some whose sum (which is clearly even) satisfies .
Let the 15 numbers in decreasing order be , and let be the sum of the first numbers. Since , we have , so . If , we are done.
If , then implies , so if , then . Therefore, if we start from a number less than 40 and increase it by at most 6 at each step until we reach 90, we cannot "skip" the interval [40, 50], so there will be some for which . This completes the proof.