practice problems pending

Q1. Ten 1's and ten 2's are written on a blackboard. In one turn, a player may erase any two figures. If the two figures erased are identical, they are replaced with a 2. If they are different, they are replaced with a 1. The first player wins if a 1 is left at the end, and the second player wins if a 2 is left.


S1.
Only P2 can win.

Why?

1. There are total 19 moves since in every move the count of total numbers goes down by 1. At the end we will have a single number.

2. Let's say P1 plays the first move, then he will also play the 19th move. Let C1, C2 denote count of 1s and 2s at any given time.

3. For P1 to win, after the 18th move we need C1 = 1, C2 = 1. For P2 to win C1 = 0, C2 = 2 or C1 = 2, C2 = 0.

4. Let's focus on P1's win. That means that in the initial 18 moves both C1 and C2 should decrease by 9 each.

5. What happens in every move?

Case 1: Two 1s replaced by 2 => C1 -= 2, C2 += 1

Case 2: Two 2s replaced by 2 => C1 += 0, C2 -= 1

Case 3: One 1 and One 2 replaced by 1 => C1 += 0, C2 -= 1

So C1 changes by 0 or 2 and C2 changes by +1 or -1.

For P1 to win C1 has to change by 9 which is not possible with changes of 0,2

Hence P1 cannot win.

For P2 to win there are two cases:

C1 -10, C2 -8 or C1 -8, C2 -10. Both are possible.

So only P2 can win.


Comments

Popular posts from this blog

IOQM 2024 Paper solutions (Done 1-21, 29)

Simon's factoring trick(complete the rectangle)

IOQM 2023 solutions