Maths Olympiad Prep

Library / Team Selection Tests for JBMO /7 of 8

Team Selection Tests for JBMO, 2018

Number theory Difficulty 6.6 National Olympiad Prove it Saudi Arabia

Let n≥2n \geq 2 be a positive integer. A subset of positive integers SS is called comprehensive if for every integer 0≤x<n0 \leq x < n, there is a subset of SS whose sum of elements has remainder xx when divided by nn. Note that the empty set has sum 00. Show that if a set SS is comprehensive then there is some (not necessarily proper) subset of SS with at most n−1n-1 elements which is also comprehensive.

Solution

We will show that if ∣S∣≥n|S| \geq n, we can remove one element from SS and still have a comprehensive set. Doing this repeatedly will always allow us to find a comprehensive subset of size at most n−1n-1.

Denote S={s1,s2,…,sk}S = \{s_1, s_2, \ldots, s_k\} for some k≥nk \geq n. Now start with the empty set and add in the elements sis_i in order. During this process, we will keep track of all possible remainders of sums of any subset.

If TT is the set of current remainders at any time, and we add an element sis_i, the set of remainders will be TT and {t+si∣t∈T}\{t + s_i \mid t \in T\}. 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 {0}\{0\} for the empty set. Since we assumed that SS is comprehensive, the final set is {0,1,…,n−1}\{0, 1, \ldots, n-1\}. The number of elements changes from 11 to n−1n-1.

However, since we added k≥nk \geq n 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 SS is still comprehensive without this element, proving our claim. □\square

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.