返回题库

AIME 2001 II · 第 9 题

AIME 2001 II — Problem 9

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Each unit square of a 3-by-3 unit-square grid is to be colored either blue or red. For each square, either color is equally likely to be used. The probability of obtaining a grid that does not have a 2-by-2 red square is mn\frac {m}{n}, where mm and nn are relatively prime positive integers. Find m+nm + n.

解析

Solution 1

We can use complementary counting, counting all of the colorings that have at least one red 2×22\times 2 square.

  • For at least one red 2×22 \times 2 square:

There are four 2×22 \times 2 squares to choose which one will be red. Then there are 252^5 ways to color the rest of the squares. 432=1284 \cdot 32=128

  • For at least two 2×22 \times 2 squares:

There are two cases: those with two 2×22 \times 2 red squares on one side and those without red squares on one side but at two corners.

The first case is easy: 4 ways to choose which the side the squares will be on, and 232^3 ways to color the rest of the squares, so 32 ways to do that. For the second case, there will be only two ways to pick two squares, and 222^2 ways to color the other squares. 32+8=4032+8=40

  • For at least three 2×22 \times 2 squares:

Choosing three such squares leaves only one square left, with four places to place it. This is 24=82 \cdot 4 = 8 ways.

  • For at least four 2×22 \times 2 squares, we clearly only have one way.

By the Principle of Inclusion-Exclusion, there are (alternatively subtracting and adding) 12840+81=95128-40+8-1=95 ways to have at least one red 2×22 \times 2 square.

There are 29=5122^9=512 ways to paint the 3×33 \times 3 square with no restrictions, so there are 51295=417512-95=417 ways to paint the square with the restriction. Therefore, the probability of obtaining a grid that does not have a 2×22 \times 2 red square is 417512\frac{417}{512}, and 417+512=929417+512=\boxed{929}.

Solution 2

We consider how many ways we can colour the 2×22 \times 2 grid:

(1)(1): All the grids are red--11 case

(2)(2): One unit square is blue--The blue lies on the center of the bigger square, makes no 2×22 \times 2 grid 91=89-1=8 cases

(3)(3): Two unit squares are blue--one of the squares lies in the center of the bigger square, makes no 2×22 \times 2 grid, 88 cases. Or, two squares lie on second column, first row, second column third row; second row first column, second row third column, 2 extra cases. (92)82=26\binom 9 2-8-2=26 cases

(4)(4) Three unit squares are blue. We find that if a 2×22 \times 2 square is formed, there are 5 extra unit squares can be painted. But cases that three squares in the same column or same row is overcomunted. So in this case, there are 4((53))4=364\cdot (\binom 5 3)-4=36

(5)(5) Four unit squares are blue, no overcounted case will be considered. there are 4(54)=204\cdot \binom 5 4=20

(6)(6) Five unit squares are blue, 44 cases in all

Sum up those cases, there are 1+8+26+36+20+4=951+8+26+36+20+4=95 cases that a 2×22 \times 2 grid can be formed.

In all, there are 29=5122^9=512 possible ways to paint the big square, so the answer is 195512=4175121-\frac{95}{512}=\frac{417}{512} leads to 929\boxed{929}

~bluesoul

Solution 3 (Case Work)

C11C12C13C21C22C23C31C32C33\begin{array}{|c|c|c|} \hline C_{11} & C_{12} & C_{13}\\ \hline C_{21} & C_{22} & C_{23}\\ \hline C_{31} & C_{32} & C_{33}\\ \hline \end{array} Case 1: The 3-by-3 unit-square grid has exactly 11 2-by-2 red square

Assume the 2-by-2 red square is at C11,C12,C21,C22C_{11}, C_{12}, C_{21}, C_{22}. To make sure there are no more 2-by-2 red squares, C31andC32C_{31} \text{and} C_{32} can't both be red and C13andC23C_{13} \text{and} C_{23} can't both be red. Meaning that there are 221=32^2-1=3 coloring methods for C31andC32C_{31} \text{and} C_{32} and C13andC23C_{13} \text{and} C_{23}. C33C_{33} can be colored with either colors. However, the coloring method where C23,C32,C33C_{23}, C_{32}, C_{33} are all red needs to be removed. For exactly one 2-by-2 red square at C11,C12,C21,C22C_{11}, C_{12}, C_{21}, C_{22}, there are 3321=173 \cdot 3 \cdot 2 -1=17 coloring methods. As there are 44 locations for the 2-by-2 red square on the 3-by-3 unit-square grid, there are 174=6817 \cdot 4 = 68 coloring methods.

Case 2: The 3-by-3 unit-square grid has exactly 22 2-by-2 red squares

Case 2.1: 22 2-by-2 red squares take up 66 unit grids

Assume the 22 2-by-2 red squares are at C11,C12,C21,C22,C31,C32C_{11}, C_{12}, C_{21}, C_{22}, C_{31}, C_{32}. To make sure there are no more 2-by-2 red squares, C13andC23C_{13} \text{and} C_{23} can't both be red. Meaning that there are 221=32^2-1=3 coloring methods for C13andC23C_{13} \text{and} C_{23}. C33C_{33} can be colored with either colors. However, the coloring method where C13,C23,C33C_{13}, C_{23}, C_{33} are all red needs to be removed. For exactly 22 2-by-2 red squares at C11,C12,C21,C22,C31,C32C_{11}, C_{12}, C_{21}, C_{22}, C_{31}, C_{32}, there are 321=53 \cdot 2 -1=5 coloring methods. As there are 44 locations for the 22 2-by-2 red squares on the 3-by-3 unit-square grid, there are 54=205 \cdot 4 = 20 coloring methods.

Case 2.2: 22 2-by-2 red squares take up 77 unit grids

Assume the 22 2-by-2 red squares are at C11,C12,C21,C22,C23,C32,C33C_{11}, C_{12}, C_{21}, C_{22}, C_{23}, C_{32}, C_{33}. To make sure there are no more 2-by-2 red squares, C13C_{13} and C31C_{31} can't be red. Meaning that there is 11 coloring method for C13C_{13} and C31C_{31}. For exactly 22 2-by-2 red squares at C11,C12,C21,C22,C23,C32,C33C_{11}, C_{12}, C_{21}, C_{22}, C_{23}, C_{32}, C_{33}, there is 11 coloring method. As there are 22 locations for the 22 2-by-2 red squares on the 3-by-3 unit-square grid, there are 12=21 \cdot 2 = 2 coloring methods.

Hence, if the 3-by-3 unit-square grid has exactly 22 2-by-2 red squares, there are 20+2=2220+2 = 22 coloring methods.

Case 3: The 3-by-3 unit-square grid has exactly 33 2-by-2 red squares

Assume the 33 2-by-2 red squares are at C11,C12,C13,C21,C22,C23,C32,C33C_{11}, C_{12}, C_{13}, C_{21}, C_{22}, C_{23}, C_{32}, C_{33}. To make sure there are no more 2-by-2 red squares, C33C_{33} can't be red. Meaning that there is 11 coloring method for C33C_{33}. For exactly 33 2-by-2 red squares at C11,C12,C13,C21,C22,C23,C32,C33C_{11}, C_{12}, C_{13}, C_{21}, C_{22}, C_{23}, C_{32}, C_{33}, there is 11 coloring method. As there are 44 locations for the 33 2-by-2 red squares on the 3-by-3 unit-square grid, there are 14=41 \cdot 4 = 4 coloring methods.

Case 4: The 3-by-3 unit-square grid has exactly 44 2-by-2 red squares

If the 3-by-3 unit-square grid has exactly 44 2-by-2 red squares, all 99 unit grids are red and there is 11 coloring method.

In total, there are 68+22+4+1=9568+22+4+1=95 coloring methods with 2-by-2 red squares.

mn=19529=417512\frac{m}{n}=1-\frac{95}{2^9}=\frac{417}{512} m+n=417+512=929m+n=417+512=\boxed{\textbf{929}} ~isabelchen