Quoto

Learn / Library / Combinatorics

Subset with a fixed sum

CombinatoricsMedium

What is the smallest such that every set of different integers chosen from to must contain numbers whose sum is ?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Group the numbers into boxes so that numbers in one box always add up to the target.

Solution
  1. The numbers split into the groups for , and every group sums to .
  2. Taking one number from each group gives a set of numbers with no summing to .
  3. Any set of numbers must take both numbers of some group, by the pigeonhole principle.
  4. Hence the smallest is .

Answer: