Skip to main content
OlympiadHQ

Browse · MathNet

Print

Team selection tests for JBMO 2018

Saudi Arabia 2018 number theory

Problem

Let be a positive integer. A subset of positive integers is called comprehensive if for every integer , there is a subset of whose sum of elements has remainder when divided by . Note that the empty set has sum . Show that if a set is comprehensive then there is some (not necessarily proper) subset of with at most elements which is also comprehensive.
Solution
We will show that if , we can remove one element from and still have a comprehensive set. Doing this repeatedly will always allow us to find a comprehensive subset of size at most .

Denote for some . Now start with the empty set and add in the elements in order. During this process, we will keep track of all possible remainders of sums of any subset.

If is the set of current remainders at any time, and we add an element , the set of remainders will be and . In particular, the set of remainders only depends on the previous set of remainders and the element we add in.

At the beginning of our process, the set of possible remainders is for the empty set. Since we assumed that is comprehensive, the final set is . The number of elements changes from to .

However, since we added elements, at least one element did not change the size of our remainder set. This implies that adding this element did not contribute to making any new remainders and is still comprehensive without this element, proving our claim.

Techniques

Modular ArithmeticPigeonhole principleInvariants / monovariants