2007 AIME I Problems/Problem 10
Problem
In a 6 x 4 grid (6 rows, 4 columns), 12 of the 24 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 1000.
Solution
Solution 1
Consider the first column. There are ways that the balls could be chosen, but WLOG let them be the first three rows. (Change the order of the rows to make this true.) We will multiply whatever answer we get by 20 to get our final answer.
Now consider the 3x3 that is next to the 3 boxes we have filled in. We must put one ball in each row (since there must be 2 balls in each row and we've already put one in each). We split into three cases:
- All three balls are in the same column. In this case, there are 3 choices for which column that is. From here, the bottom half of the board is fixed.
- Two balls are in one column, and one is in the other. In this case, there are 3 ways to choose which column gets 2 balls and 2 ways to choose which one gets the other ball. Then, there are 3 ways to choose which row the lone ball is in. Now, what happens in the bottom half of the board? Well, the 3 boxes in the column with no balls in the top half must all be filled in, so there are no choices here. In the column with two balls already, we can choose any of the 3 boxes for the third ball. This forces the location for the last two balls. So we have .
- All three balls are in different columns. Then there are 3 ways to choose which row the ball in column 2 goes and 2 ways to choose where the ball in column 3 goes. (The location of the ball in column 4 is forced.) Again, we think about what happens in the bottom half of the board. There are 2 balls in each row and column now, so in the 3x3 where we still have choices, each row and column has one square that is not filled in. But there are 6 ways to do this. So in all there are 36 ways.
So there are different shadings, and the solution is .
Solution 2
There are to choose the arrangement of the shaded squares in each column. Examine the positioning of the shaded squares in the first two columns:
- If column 1 and column 2 do not share any two filled squares on the same row, then there are combinations for column 1, and then column 2 is fixed. Now, any row cannot have more than 2 shaded squares, so after we pick three more squares in the third column, the fourth column is also fixed. This gives arrangements.
- If column 1 and column 2 share 1 filled square on the same row (6 places), then they each share 1 filled square on a row ( places), share another empty square on a row, and have 2 squares each on different rows. This gives . Now, the third and fourths columns must also share a fixed shared shaded square in the row in which the first two columns both had spaces, and another fixed empty square. The remaining shaded squares can only go in 4 places, so we get . We get .
- If column 1 and column 2 share 2 filled squares on the same row ( places), they must also share 2 empty squares on the same row (). The last two squares can be arranged in positions; this totals to . Now, the third and fourth columns have a fixed 2 filled squares in common rows and 2 empty squares in common rows. The remaining 2 squares have places, giving .
- If column 1 and column 2 share 3 filled squares on the same row ( places), then the squares on columns 3 and 4 are fixed.
Thus, there are number of shadings, and the solution is .
Solution 3
We draw a bijection between walking from to as follows: if in the th row, the th and th columns are shaded, then the st step is in the direction corresponding to , and the th step is in the direction corresponding to () here. We can now use the Principle of Inclusion-Exclusion based on the stipulation that to solve the problem:
So that the answer is .
Solution 4
Consider all possible shadings for a single row. There are ways to do so, and denote these as , , , , , and where indicates that columns and are shaded. From our condition on the columns, we have Summing the first two and the last two equations, we have , from which we have . Likewise, and since these pairs shade in complimentary columns. So the six rows are paired up into a row and its compliment. In all, we can have 3 a's and 3 b's and similar setups for / and /, 2 a's, 2 b's, 1 c and 1 d and similar setups for all six arrangements, or one of each. This first case gives solutions; the second gives solutions, and the final case gives solutions. In all, we have 1860 solutions, for an answer of .
Solution 5
Each shading can be brought, via row swapping operations, to a state with a shaded in the lower left hand corner. The number of such arrangements multiplied by will be the total. Consider rows 2 and 3 up from the bottom: they each have one of their allotted two squares shaded. Depending how the remaining three shades are distributed, the column totals of columns 2,3, and 4 from the left can be of the form . Form 1: The entire lower left rectangle is shaded, forcing the opposite rectangle to also be shaded; thus 1 arrangement Form 2: There is a column with nothing shaded in the bottom right , so it must be completely shaded in the upper right . Now consider the upper right half column that will have shade. There are ways of choosing this shade, and all else is determined from here; thus 3 arrangements Form 3: The upper right will have exactly shades per column and row. This is equivalent to the number of terms in a determinant, or arrangements
Of the ways of choosing to complete the bottom half of the , form 1 is achieved in exactly 1 way; form 2 is achieved in ways; and form in the remaining ways. Thus, the weighted total is . Complete:
See also
2007 AIME I (Problems • Answer Key • Resources) | ||
Preceded by Problem 9 |
Followed by Problem 11 | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
All AIME Problems and Solutions |