Skip to main content

2010 AIME II Problem 11

Problem 11 of 15HarderCombinatoricsProblem-Solving Techniques

Define a T-grid to be a 3×33 \times 3 matrix which satisfies the following two properties: (1)(1) Exactly five of the entries are 11’s, and the remaining four entries are 00’s. (2)(2) Among the eight rows, columns, and long diagonals (the long diagonals are {a13,a22,a31}\{a_{13}, a_{22}, a_{31}\} and {a11,a22,a33}\{a_{11}, a_{22}, a_{33}\}), no more than one of the eight has all three entries equal. Find the number of distinct T-grids.

Your answer

Integer from 0 to 999
Show solution

Solution

There are (95)=126\binom{9}{5} = 126 matrices satisfying (1);(1); we subtract those with two or more constant lines. Two lines of 00’s are impossible (they would need at least 55 zeros), and a line of 11’s and a line of 00’s cannot cross, so they must be parallel rows or parallel columns; likewise two lines of 11’s cannot be parallel (66 ones), so they must cross, using exactly 3+3−1=53 + 3 - 1 = 5 ones. Case 1:1: a line of 11’s and a parallel line of 00’s. There are 66 choices for the all-11 row or column, 22 for the parallel all-00 line, and 33 ways to fill the remaining parallel line with two 11’s and one 0:0: 6⋅2⋅3=366 \cdot 2 \cdot 3 = 36 matrices. Every perpendicular line then contains both a 11 and a 0,0, so no third constant line appears and nothing is double-counted. Case 2:2: two crossing lines of 11’s and 00’s elsewhere. The pair can be a row and a column (3⋅3=93 \cdot 3 = 9), a row or column with a diagonal (6⋅2=126 \cdot 2 = 12), or the two diagonals (11), for 2222 matrices; one checks the four remaining 00’s never form a constant line. So 126−36−22=68.126 - 36 - 22 = 68.
AoPS wiki

Tagged: complementary counting · casework

More practice