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 k and n be integers satisfying n > k > 1 . Let 𝒮 be any set of k integers selected from 1 , 2 , 3 , , n . If 2 k > kn , prove that there exist two distinct nonempty subsets of 𝒮 having equal sums of elements.

Answers

Proof. We suppose that 2 k > kn . We define, for all A 𝒫 ( 𝒮 ) ,

S A = a A a ,

and

S = A 𝒫 ( 𝒮 ) S A .

Note that S = 0 , so that S = A 𝒫 ( 𝒮 ) { } S A .

Let us give a rough upper bound for S (but not too rough: the obvious inequality S < 2 k kn is not sufficient). Here 𝒫 i ( 𝒮 ) is the set of subsets of 𝒮 with i elements.

If A 𝒫 i ( 𝒮 ) , where 1 i k , then

S A = a A a n + ( n 1 ) + ( n 2 ) + + ( n i + 1 ) = i 2 n + 1 i 2 .

We obtain, using i ( k i ) = k ( k 1 i 1 ) ( if  i 1 ) and i ( i 1 ) ( k i ) = k ( k 1 ) ( k 2 i 2 ) ( if  i 2 ) ,

S = A 𝒫 ( 𝒮 ) S A = i = 1 k A 𝒫 i ( 𝒮 ) S A = i = 1 k ( k i ) i 2 n + 1 i 2 = n i = 1 k i ( k i ) 1 2 i = 2 k i ( i 1 ) ( k i ) = nk i = 1 k ( k 1 i 1 ) k ( k 1 ) 2 i = 2 k ( k 2 i 2 ) = nk 2 k 1 k ( k 1 ) 2 2 k 2 < nk 2 k 1 ( since  k > 1 ) ,

so

S < 2 k 1 nk . (1)

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 S A is 1 , and there are 2 k 1 = 2 | 𝒮 | 1 distinct sums S A , therefore

S = A 𝒫 ( 𝒮 ) { } S A 1 + 2 + 3 + + ( 2 k 1 ) = 2 k ( 2 k 1 ) 2 = 2 k 1 ( 2 k 1 ) .

So

2 k 1 ( 2 k 1 ) S . (2)

From (1) and (2) we deduce

2 k 1 ( 2 k 1 ) S < 2 k 1 nk ,

thus 2 k 1 < nk , so 2 k nk , in contradiction with the hypothesis 2 k > kn . This shows that there exist two distinct nonempty subsets of 𝒮 having equal sums of elements. □

User profile picture
2025-03-17 17:01
Comments