Since $A$ and $B$ are orthogonal Latin squares, for each pair of distinct elements $(i, j)$ in $A$, there is a unique position $(r, c)$ such that $A_{r, c} = i$ and $B_{r, c} = j$. This means that for each color $i$, there is exactly one rook of color $i$ in each
Show more…