I need to calculate the number of ways to place k non-attacking rooks on an $m \times n$ chessboard where $n\neq m$. I know how to calculate the number of arrangements when the problem is to calculate the number of arrangements of an $n\times n$ chessboard, so $m=n$. Unfortunately I can't seem to find a solution when $m\neq n$.
So my two questions are
- In how many ways can I place $k$ non-attacking rooks on an $m\times n$ ($m\neq n$) chessboard when there are no forbidden positions.
- In how many ways can I place $k$ non-attacking rooks on an $m\times n$ ($m\neq n$) chessboard when there are forbidden positions and we have already calculated the rook polynomial. For example let's say we have a $3\times 4$ chessboard, with rook polynomial $1+4x+5x^2+2x^3$.
The rooks must be on different rows and different columns. We can pick m over k rows, n over k columns, and then have k! choices to combine rows and columns.