How many non-attacking rooks (k) can be placed on an n-by-n chessboard?