Maths Olympiad Prep

Library / /1123 of 1394

, 2020

Combinatorics Difficulty 5.6 AIME, harder Prove it United States

Problem:

Each unit square of a 4×44 \times 4 square grid is colored either red, green, or blue. Over all possible colorings of the grid, what is the maximum possible number of L-trominos that contain exactly one square of each color? (L-trominos are made up of three unit squares sharing a corner, as shown below.)

\square \square \square \square \square \square \square

Solution

Solution:

Notice that in each 2×22 \times 2 square contained in the grid, we can form 4 L-trominoes. By the pigeonhole principle, some color appears twice among the four squares, and there are two trominoes which contain both. Therefore each 2×22 \times 2 square contains at most 2 L-trominoes with distinct colors. Equality is achieved by coloring a square (x,y)(x, y) red if x+yx+y is even, green if xx is odd and yy is even, and blue if xx is even and yy is odd. Since there are nine 2×22 \times 2 squares in our 4×44 \times 4 grid, the answer is 9×2=189 \times 2=18

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.