Let A be any set of n residues mod n2. Show that there is a set B of n residues mod n2 such that at least half of the residues mod n2 can be written as a + b with a in A and b in B.
Solution
Solution by jys
Let R be the set of all n2 residues and let S be the set of all subsets of R with n elements. Let P be the set of all pairs (r, X), where r belongs to R and X belongs to S, such that r cannot be written as a + x for any a in A, x in X.
For any given r, there are (n2-n)Cn subsets X in S such that (r, X) is in P. But (n2-n)Cn ≤ ½ (n2Cn), so at most half the subsets X have (r, X) in P (for any given r). Hence for some B in S, at most half the elements r of R have (r, B) in P. So for this B at least half the elements of R can be written as a + b with a in A and b in B.
(Note that (n2Cn/(n2-n)Cn = (n2(n2-1)(n2-2) ... (n2-n+1)/( (n2-n)(n2-n-1) ... (n2-2n+1) ) ≥ (n2/(n2-n) = (1 + 1/(n-1) )n > e > 2. )
© John Scholes
jscholes@kalva.demon.co.uk
23 Dec 2002
Last corrected/updated 23 Dec 02