Maths Olympiad Prep

Library / /64 of 740

, 2024

Combinatorics Difficulty 4.5 AIME Find the answer United States

Problem:

Compute the number of ways to shade exactly 4 distinct cells of a 4×44 \times 4 grid such that no two shaded cells share one or more vertices.

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

Solution:

Assign coordinates to the cells of the grid so that the bottom-left, bottom-right, and top-right corners are (0,0)(0,0), (3,0)(3,0), and (3,3)(3,3) respectively.

Observe that for each quadrant of the grid, all four cells of that quadrant share a vertex. Thus, any valid coloring must have exactly one shaded cell in each quadrant. Let A=(a1,a2)A = (a_1, a_2), B=(b1,b2)B = (b_1, b_2), C=(c1,c2)C = (c_1, c_2), and D=(d1,d2)D = (d_1, d_2) denote the shaded cells in the bottom-left, bottom-right, top-left, and top-right quadrants, respectively, so that 0a1,a2,b2,c110 \leq a_1, a_2, b_2, c_1 \leq 1 and 2b1,c2,d1,d232 \leq b_1, c_2, d_1, d_2 \leq 3.

Observe that AA and BB share a vertex if and only if b1a11|b_1 - a_1| \leq 1 and b2a21|b_2 - a_2| \leq 1. The latter is always true, and the former holds precisely when a1=1a_1 = 1 and b1=2b_1 = 2. We conclude that in a valid coloring, (a1,b1)(a_1, b_1) must be one of (0,2)(0,2), (0,3)(0,3), or (1,3)(1,3). We can similarly deduce the same holds for (c1,d1)(c_1, d_1), (a2,c2)(a_2, c_2), and (b2,d2)(b_2, d_2).

Suppose the coordinates are chosen according to those constraints. Then, we are guaranteed the pairs of cells (A,B)(A, B), (C,D)(C, D), (A,C)(A, C), and (B,D)(B, D) do not share any vertices. The only way we get an invalid coloring is if AA and DD share a vertex, or BB and CC share a vertex.

Figure 1

Suppose AA and DD share a vertex. Then we must have a1=a2=1a_1 = a_2 = 1 and d1=d2=2d_1 = d_2 = 2, which implies b1=c2=3b_1 = c_2 = 3 and b2=c1=0b_2 = c_1 = 0. Thus, there is exactly one way to choose coordinates in the manner above so that AA and DD share a vertex (as depicted in the figure on the right). Likewise, there is exactly one way for BB and CC to share a vertex.

There are 34=813^4 = 81 ways to choose the coordinates, so the answer is 812=7981 - 2 = 79.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.