2007 AIME I Problem 10
Problem 10 of 15IntermediateCombinatoricsProblem-Solving Techniques
In the grid shown, of the squares are to be shaded so that there are two shaded squares in each row and three shaded squares in each column. Let be the number of shadings with this property. Find the remainder when is divided by

Your answer
Integer from 0 to 999
Show solution
Solution
Shade three of the six rows in column ways. Let be the number of rows shaded in both columns and column can then be chosen in ways. After these two columns, rows are complete with two shaded squares, rows have one, and rows have none.
The empty rows must be shaded in both columns and Column takes those rows plus of the singly-shaded rows, in ways, and column is then forced: it must cover the empty rows and exactly the singly-shaded rows skipped by column
Summing, so the remainder is
Tagged: arrangements with restrictions · combinations · casework