Browse · MathNet
Print37th Iranian Mathematical Olympiad
Iran algebra
Problem
Polynomial is written on the board. Roozbeh and Keyvan play the following game in turns. Starting from Roozbeh, each player in their turn chooses an integer and adds up with the polynomial on the board. Each time after Keyvan's turn, if there exists a real number such that the polynomial on the board takes negative value,
Roozbeh wins and Keyvan loses. Otherwise, the game continues. Prove that no matter how Roozbeh plays, Keyvan can play in a way that he never loses.
Roozbeh wins and Keyvan loses. Otherwise, the game continues. Prove that no matter how Roozbeh plays, Keyvan can play in a way that he never loses.
Solution
Lemma. If be natural numbers, then Proof. If , it's trivial. So let's assume that . If , we write as Since and , we have If , then and . So, . Therefore, we can re-write as where . So, it is positive.
Back to the problem. When Roozbeh chooses , if is an even number, Keyvan should choose as well. But, if is an odd number, and if coefficient of is odd, Keyvan should choose and if coefficient of is even, Keyvan should play . Obviously after Keyvan's move, the polynomial will be in the following form: Where According to the lemma we proved, the polynomial should be always positive.
Back to the problem. When Roozbeh chooses , if is an even number, Keyvan should choose as well. But, if is an odd number, and if coefficient of is odd, Keyvan should choose and if coefficient of is even, Keyvan should play . Obviously after Keyvan's move, the polynomial will be in the following form: Where According to the lemma we proved, the polynomial should be always positive.
Techniques
PolynomialsGames / greedy algorithms