
A and B are any two subsets of {1, 2, ... , n-1} such that |A| + |B| > n-1. Prove that one can find a in A and b in B such that a + b = n.
Solution
Let A be {a1, a2, ... , ah}, B be {b1, b2, ... , bk}. Now consider the numbers a1, a2, ... , ah, n-b1, n-b2, ... , n-bk. There are more than n-1 of them, all belonging to {1, 2, ... , n-1}, so there must be two the same. We cannot have ai = aj or n-bi = n-bj (for i ≠ j), because the elements of A are distinct and the elements of B are distinct. So we must have ai = n-bj for some i, j.
![]()
© John Scholes
jscholes@kalva.demon.co.uk
29 Oct 2003
Last corrected/updated 29 Oct 03