MathDB
2023 Combinatorics #4

Source:

April 17, 2023

Problem Statement

The cells of a 5×55\times5 grid are each colored red, white, or blue. Sam starts at the bottom-left cell of the grid and walks to the top-right cell by taking steps one cell either up or to the right. Thus, he passes through 99 cells on his path, including the start and end cells. Compute the number of colorings for which Sam is guaranteed to pass through a total of exactly 33 red cells, exactly 33 white cells, and exactly 33 blue cells no matter which route he takes.