Suppose I take n numbers from the set S = {2, 4, 6, ..., 50}. How big does n have to be in order to guarantee that, among the numbers I take, some pair will add to 42?
I'm very confused on how to do this problem. I tried 42/2 which is 21. Then since 20 and 22 are the closest pair to that number in the set, I divided the larger number by 2 and got 11. However, the answer appears to be 16 and I'm not sure why. The professor did not explain this question or the concept and I can't find why this is. Can anyone please help clear the question/answer and why it is?
Numbers from $42$ to $50$ are useless, so let us see how many we need from $2$ to $40$, and add $5$.
Call two even numbers from $2$ to $40$ buddies if they add up to $42$. There are $10$ pairs of buddies. So if we pick $11+5$ numbers, we will be sure to have a pair of buddies. And it is easy to see that if we are unlucky, $15$ numbers are not enough.