Skip to main content

2009 AIME II Problem 6

Problem 6 of 15IntermediateCombinatorics

Let mm be the number of five-element subsets that can be chosen from the set of the first 1414 natural numbers so that at least two of the five numbers are consecutive. Find the remainder when mm is divided by 1000.1000.

Your answer

Integer from 0 to 999
Show solution

Solution

Count the complement: subsets a1<a2<a3<a4<a5a_1 \lt a_2 \lt a_3 \lt a_4 \lt a_5 with no two consecutive. Setting bi=ai−(i−1)b_i = a_i - (i - 1) turns each such subset into five distinct numbers b1<b2<⋯<b5b_1 \lt b_2 \lt \cdots \lt b_5 in {1,…,10},\{1, \ldots, 10\}, and this map is reversible, so there are (105)=252\binom{10}{5} = 252 subsets with no two consecutive numbers. Therefore m=(145)−(105)m = \binom{14}{5} - \binom{10}{5} =2002−252=1750,= 2002 - 252 = 1750, and the remainder upon division by 10001000 is 750.750.
AoPS wiki

Tagged: complementary counting · bijection · subsets

More practice