Skip to main content

2009 AIME II Problem 12

Problem 12 of 15HarderCombinatoricsProblem-Solving Techniques

From the set of integers {1,2,3,…,2009},\{1, 2, 3, \ldots, 2009\}, choose kk pairs {ai,bi}\{a_i, b_i\} with ai<bia_i \lt b_i so that no two pairs have a common element. Suppose that all the sums ai+bia_i + b_i are distinct and less than or equal to 2009.2009. Find the maximum possible value of k.k.

Your answer

Integer from 0 to 999
Show solution

Solution

Let S=∑i=1k(ai+bi).S = \sum_{i=1}^{k} (a_i + b_i). The 2k2k chosen elements are distinct positive integers, so S≥1+2+⋯+2kS \ge 1 + 2 + \cdots + 2k =k(2k+1).= k(2k + 1). The kk sums are distinct integers at most 2009,2009, so S≤2009+2008+⋯S \le 2009 + 2008 + \cdots +(2010−k){}+ (2010 - k) =k(4019−k)2.= \frac{k(4019 - k)}{2}. Combining, k(2k+1)≤k(4019−k)2  ⟹  4k+2≤4019−k  ⟹  k≤40175=803.4, \begin{aligned} &k(2k + 1) \le \frac{k(4019 - k)}{2} \\ &\implies 4k + 2 \le 4019 - k \\ &\implies k \le \frac{4017}{5} = 803.4, \end{aligned} so k≤803.k \le 803. To achieve k=803,k = 803, take the pairs (i, 1206+i)(i,\, 1206 + i) for 1≤i≤401,1 \le i \le 401, whose sums are the even numbers 1208,1208, 1210,1210, …,\ldots, 2008,2008, together with the pairs (a, a+403)(a,\, a + 403) for 402≤a≤803,402 \le a \le 803, whose sums are the odd numbers 1207,1207, 1209,1209, …,\ldots, 2009.2009. The elements used are 11–803,803, 805805–16071607 with no repeats, and all 803803 sums are distinct and at most 2009.2009. The maximum is k=803.k = 803.
AoPS wiki

Tagged: double counting · extremal argument

More practice