MathLabs

Problem 4

Let nn and bb be positive integers. We say nn is bb-discerning if there exists a set consisting of nn different positive integers less than bb that has no two different subsets UU and VV such that the sum of all elements in UU equals the sum of all elements in VV. (a) Prove that 88 is 100100-discerning. (b) Prove that 99 is not 100100-discerning.
Step 2 of 4: Count all subset sums
63+64+64+64=255=28−163+64+64+64=255=2^8-1
Detailed analysis

The four families occupy disjoint residue or size ranges and contain respectively 63, 64, 64, and 64 sums. They therefore give 255 distinct sums, exactly the number of nonempty subsets of an eight-element set. The construction proves part (a).