[346.—SETTING THE BOARD.—solution]
The White pawns may be arranged in 40,320 ways, the White rooks in 2 ways, the bishops in 2 ways, and the knights in 2 ways. Multiply these numbers together, and we find that the White pieces may be placed in 322,560 different ways. The Black pieces may, of course, be placed in the same number of ways. Therefore the men may be set up in 322,560 × 322,560 = 104,044,953,600 ways. But the point that nearly everybody overlooks is that the board may be placed in two different ways for every arrangement. Therefore the answer is doubled, and is 208,089,907,200 different ways.
[347.—COUNTING THE RECTANGLES.—solution]
There are 1,296 different rectangles in all, 204 of which are squares, counting the square board itself as one, and 1,092 rectangles that are not squares. The general formula is that a board of n2 squares contains ((n2 + n)2)/4 rectangles, of which (2n3 + 3n2 + n)/6 are squares and (3n4 + 2n3 - 3n2 - 2n)/12 are rectangles that are not squares. It is curious and interesting that the total number of rectangles is always the square of the triangular number whose side is n.
The answer involves the little point that in the final position the numbered rooks must be in numerical order in the direction contrary to that in which they appear in the original diagram, otherwise it cannot be solved. Play the rooks in the following order of their numbers. As there is never more than one square to which a rook can move (except on the final move), the notation is obvious—5, 6, 7, 5, 6, 4, 3, 6, 4, 7, 5, 4, 7, 3, 6, 7, 3, 5, 4, 3, 1, 8, 3, 4, 5, 6, 7, 1, 8, 2, 1, and rook takes bishop, checkmate. These are the fewest possible moves—thirty-two. The Black king's moves are all forced, and need not be given.