Problem 373: (2024 AIME II, 9)
There is a collection of $25$ indistinguishable white chips and $25$ indistinguishable black chips. Find the number of ways to place some of these chips in a $5 \times 5$ grid such that $\bullet$ each cell contains at most one chip $\bullet$ all chips in the same row and all chips in the same column have the same color, and $\bullet$ any additional chip placed on the grid would violate one or more of the previous two conditions.
- Every row containing a chip has a color, and so does every column; a cell holds a chip exactly when its row and column have the same color. In a maximal placement every row and column has a color, since an empty row or column would leave room for a chip.
- Maximality also requires that the colors used by rows and by columns are the same: if, say, some column is black and no row is, a white chip could be added in that column.
- So both use only white, both only black, or both use both colors: $1+1+(2^5-2)^2=902$. The answer is $\boxed{902}$.
There is a collection of $24$ indistinguishable white chips and $24$ indistinguishable black chips. Find the number of ways to place some of these chips in a $4 \times 6$ grid (with $4$ rows and $6$ columns) such that $\bullet$ each cell contains at most one chip $\bullet$ all chips in the same row and all chips in the same column have the same color, and $\bullet$ any additional chip placed on the grid would violate one or more of the previous two conditions.