Lara and Sara will draw straight lines on a rectangular sheet of paper, one after the other, in turn, and one line each time. Every line will be parallel to one of the edges of the sheet and will go from edge to edge. No line will coincide with an edge or an already drawn line. At the end, the sheet of paper will be divided into several rectangles. If the number of these rectangles will be odd, the winner will be Laura, and if it will be even, the winner will be Sara. Determine the winner depending on and the person who starts drawing a line.
, 2012
Solution
If is odd, the winner is Sara, no matter who starts. If is even, the winner is the one who does not start. Suppose at the end there are vertical and horizontal lines on the sheet of paper, where . Then the sheet of paper is divided into rectangles. If is odd, one of the numbers and is odd, hence is even. In this case, Sara is the winner, no matter who starts and how they play the game.
Now suppose is even. Suppose after steps there are vertical and horizontal lines on the sheet of paper, where . Since is odd, numbers and must have different parities. After the last line is drawn, the sheet of paper is divided into or rectangles. Because and have different parities, the numbers and have different parities as well. The one who makes the last move may thus decide whether the final number of rectangles is odd or even. This player can win, no matter how the game has been played before. Since is even, the winner is the one who makes the last move, this is the one who does not start the game.