Let be a given integer. Find the largest integer (in terms of ) such that for any set of integers, there are four distinct (but not necessarily disjoint) nonempty subsets, the sum of the elements of each of which is divisible by .
, 2015
Solution
is not possible. To see this, take a set of integers so that each element of is equal to . The sum of any nonempty subset of is equal to . Since , the only possibility for this to hold is if and , i.e., . This proves that fails the given condition.
is not possible. In this case, take a set of integers so that and if . The only subsets of whose sums are divisible by are:
We will show that satisfies the given condition. So the largest is .
Lemma. (Erdös) Any set of integers has nonempty subset whose sum is divisible by .
Consider a set of integers . Consider the set of numbers . If one of these numbers is equal to , then we are done. Otherwise, there are two of them that are equal (mod ). Say
Then .
We return to the proof that satisfies the given condition. Let be a set of integers. By the lemma, there is a subset of whose sum is divisible by . We may also assume that is minimal in the sense that removal of any element from would either render it empty, or make the sum of its elements indivisible by . Take . Choose nonempty subset of whose sum is divisible by . Clearly, .
If , pick and let . By the lemma, there exists a subset of whose sum is divisible by . Clearly, and are four distinct sets, the sum of the elements of each of which is divisible by .
The previous paragraph shows that if there are two disjoint nonempty subsets of whose sums are both divisible by , then we are done. Assume that this does not occur. Let and be two distinct subsets of whose sums are divisible by . Choose so that and . By the Lemma, there exists a subset of whose sum is divisible by . In particular, is different from both and . Moreover, by the previous paragraph, we may assume that if . Then we can choose two distinct points and so that for . Use the lemma again to find so that the sum of the elements in is divisible by . By construction is different from and .