2019 Mock AMC 10B Problems/Problem 21
Solution 1: Author:(Shiva Kannan)
There are ways to place one of each and in the top row. For the second row, we must count all the possible arrangements other than the arrangements in which the value in the first row and a particular column and the value in the second row and that same column, never are the same. The total number of ways regardless of the condition is . We can use PIE. Number of arrangements in which there is a under the in the first row is , as the remaining three numbers of the row can be arranged in ways. By symmetry, this is the same for all numbers, so the total number of cases in which one value is below itself is . But we have to correct for overcounting. Number of arrangements in which both and are below themselves is , as there are ways to place the remaining two elements. Like this, we can take any pair of numbers from the four given numbers, so the total number of cases in which values are below themselves is . For numbers being under themselves, we can place the remaining number in way, and there are three possible sets of numbers from the four to pick, so the number of cases in which numbers are below themselves is . For all four numbers being under themselves, there is only case. , which yields ways to construct the second row. You will see at this point, that the first two elements of the third row determine the full arrangement. There are four possible ways to construct those two elements(Check different possibilities to arrive at the conclusion). Hence, the total number of ways is .
Solution 2 (Latin Squares)
I believe that the solution above is erroneous, as some cases are double counted. We simply realize this question asks for the number of latin squares of order 4. Therefore, we realize that the answer is simply 576 which is B.