On an infinite chessboard, a game is played as follows. At the start, n2n^2 pieces are arranged on the chessboard in an nn by nn block of adjoining squares, one piece in each square. A move in the game is a jump in a horizontal or vertical direction over an adjacent occupied square to an unoccupied square immediately beyond. The piece which has been jumped over is removed.

Find those values of nn for which the game can end with only one piece remaining on the board.