Skip to main content

2007 AIME I Problem 10

Problem 10 of 15IntermediateCombinatoricsProblem-Solving Techniques

In the 6×46 \times 4 grid shown, 1212 of the 2424 squares are to be shaded so that there are two shaded squares in each row and three shaded squares in each column. Let NN be the number of shadings with this property. Find the remainder when NN is divided by 1000.1000.

Your answer

Integer from 0 to 999
Show solution

Solution

Shade three of the six rows in column 1:1: (63)=20\binom{6}{3} = 20 ways. Let kk be the number of rows shaded in both columns 11 and 2;2; column 22 can then be chosen in (3k)(33−k)\binom{3}{k}\binom{3}{3-k} ways. After these two columns, kk rows are complete with two shaded squares, 6−2k6 - 2k rows have one, and kk rows have none. The empty rows must be shaded in both columns 33 and 4.4. Column 33 takes those kk rows plus 3−k3 - k of the 6−2k6 - 2k singly-shaded rows, in (6−2k3−k)\binom{6-2k}{3-k} ways, and column 44 is then forced: it must cover the empty rows and exactly the singly-shaded rows skipped by column 3.3. Summing, N=20∑k=03(3k)⋅(33−k)⋅(6−2k3−k)=20(20+54+18+1)=1860,\begin{aligned} N &= 20\sum_{k=0}^{3} \binom{3}{k} \\ &\quad {}\cdot \binom{3}{3-k} \\ &\quad {}\cdot \binom{6-2k}{3-k} \\ &= 20(20 + 54 + 18 + 1) \\ &= 1860, \end{aligned} so the remainder is 860.860.
AoPS wiki

Tagged: arrangements with restrictions · combinations · casework

More practice