The Wheat and chessboard problem