Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.5.6* (Existence of two distinct subsets of $\mathscr{S}$ having equal sums of elements)
Exercise 4.5.6* (Existence of two distinct subsets of $\mathscr{S}$ having equal sums of elements)
Let and be integers satisfying . Let be any set of integers selected from . If , prove that there exist two distinct nonempty subsets of having equal sums of elements.
Answers
Proof. We suppose that . We define, for all ,
and
Note that , so that .
Let us give a rough upper bound for (but not too rough: the obvious inequality is not sufficient). Here is the set of subsets of with elements.
If , where , then
We obtain, using and ,
so
Now assume for the sake of contradiction that there don’t exist two distinct nonempty subsets of having equal sums of elements. The minimum of is , and there are distinct sums , therefore
So
From (1) and (2) we deduce
thus , so , in contradiction with the hypothesis . This shows that there exist two distinct nonempty subsets of having equal sums of elements. □