2009 AIME II Problem 12

From the set of integers \{1,2,3, \ldots, 2009\}, choose k pairs \left\{a_{i}, b_{i}\right\} with a_{i}<b_{i} so that no two pairs have a common element. Suppose that all the sums a_{i}+b_{i} are distinct and less than or equal to 2009. Find the maximum possible value of k.