Skip to main content

2022 AMC 10B Problem 14

Problem 14 of 25IntermediateCombinatoricsProblem-Solving Techniques

Suppose that SS is a subset of {1,2,3,⋯ ,25}\left\{ 1, 2, 3, \cdots , 25 \right\} such that the sum of any two (not necessarily distinct) elements of SS is never an element of S.S. What is the maximum number of elements SS may contain?

Answer choices

Show solution

Solution

The set S={13,14⋯ ,25}S = \{13,14 \cdots ,25\} has 1313 elements, and every pair has sum greater than 25,25, so this size is attainable. Conversely, let mm be the maximum element of S.S. For every element of SS satisfying i<m,i<m, the number ii and the number m−im-i cannot both belong to S.S. Thus, among the numbers below m,m, at most one number can be chosen from each pair with sum mm; if mm is even, the middle number cannot be chosen either. Hence at most ⌊m−12⌋\lfloor \dfrac {m-1}2 \rfloor elements lie below m,m, and including mm gives at most ⌊m−12⌋+1\lfloor \dfrac{m-1}2 \rfloor +1 elements. The maximum value of this has m=25,m=25, yielding 13.13. Thus, the answer is B .
AoPS wiki

Tagged: subsets · extremal argument · pairing and grouping

More practice