Grid Combinatorics
Source: AIME I 2007 #10
March 15, 2007
AoPSwikiAMCAIMEAIME I
Problem Statement
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 .
[asy]size(100);
defaultpen(linewidth(0.7));
int i;
for(i=0; i<5; ++i) {
draw((i,0)--(i,6));
}
for(i=0; i<7; ++i) {
draw((0,i)--(4,i));
}[/asy]