Skip to main content

2014 AIME II Problem 9

Problem 9 of 15IntermediateCombinatorics

Ten chairs are arranged in a circle. Find the number of subsets of this set of chairs that contain at least three adjacent chairs.

Your answer

Integer from 0 to 999
Show solution

Solution

The full set of 1010 chairs qualifies; count the others by locating each maximal run of at least three adjacent chosen chairs at its clockwise start. Any such subset contains a block of four consecutive chairs that is empty-chosen-chosen-chosen. There are 1010 positions for this block, and the remaining 66 chairs are free, giving 10⋅26=640.10 \cdot 2^6 = 640. This counts once for each maximal run of length at least 3.3. Two such runs require at least 3+33 + 3 chosen chairs plus two gaps, so three runs are impossible, and subsets with exactly two runs are counted twice. To have two runs, place two disjoint empty-chosen-chosen-chosen blocks: 10⋅32=15\frac{10 \cdot 3}{2} = 15 ways (the second block fits in 33 positions among the remaining 66 chairs), with the last 22 chairs free, for 15⋅22=6015 \cdot 2^2 = 60 subsets. The total is 1+640−60=581.1 + 640 - 60 = 581.
AoPS wiki

Tagged: circular arrangements · subsets · inclusion-exclusion

More practice