2015 USAMO · Question 4
Problem outline
Distribute indistinguishable stones among the cells of an grid, with no limit per cell. A move chooses the four corners of a rectangle and transfers one stone from each end of one diagonal to the corresponding ends of the other diagonal. Two distributions are equivalent if moves connect them. Determine the number of equivalence classes.
Show answer and methods 1 methods
Answer
.
Method 1 Use row and column sums as a complete signature
Record the row sums and the column sums . A rectangle move removes and adds one stone in each of the same two rows and columns, so both ordered lists are invariant.
Regard the stones temporarily as labeled, and write their positions as pairs , where is a row and a column. The row sums specify the multiset of all , and the column sums specify the multiset of all . Thus two configurations with the same signature differ only in how the -coordinates are paired with the -coordinates.
Any desired re-pairing is a permutation of the , and every permutation is a product of transpositions. Swapping for two stones in distinct rows and distinct columns is exactly one allowed rectangle move. If their rows or columns agree, the swap does not change the unlabeled configuration. Therefore equal signatures imply equivalence, so the signature is complete.
Every pair of signatures is realizable: list row labels with row repeated times and column labels with column repeated times, then pair the two lists arbitrarily and place a stone at each resulting coordinate.
The row sums are weak compositions of into parts, of which there are ; the column sums have the same number of choices and are independent. Squaring gives the stated answer.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)