Numbers game for 2017

The numbers 1 1 , 1 2 , 1 3 , , 1 2017 \frac{1}{1}, \frac{1}{2}, \frac{1}{3} , \ldots , \frac{1}{2017} are written on a blackboard. Andrew and Bob take turns, and Andrew goes first. On each turn, one of Andrew or Bob chooses two numbers x x and y y on the board, erases them and writes x + y + x y x+y+xy . They do this until only one number is left on the board. Andrew wins if the number is odd, Bob wins if the number is even, and it is a draw if the number is not an integer.

Assuming Andrew and Bob play optimally, which player will win, or will it be a draw?

Andrew Draw Bob

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Brian Moehring
Feb 15, 2017

Define x y = x + y + x y x\diamond y = x+y+xy . Then x ( y z ) = x ( y + z + y z ) = x + ( y + z + y z ) + x ( y + z + y z ) = x + y + z + x y + x z + y z + x y z ( x y ) z = ( x + y + x y ) z = ( x + y + x y ) + z + ( x + y + x y ) z = x + y + z + x y + x z + y z + x y z \begin{aligned} x\diamond (y\diamond z) &= x\diamond (y+z+yz) = x+(y+z+yz) + x(y+z+yz) = x+y+z + xy+xz+yz + xyz \\ (x\diamond y) \diamond z &= (x+y+xy)\diamond z = (x+y+xy) + z + (x+y+xy)z = x+y+z + xy+xz+yz + xyz \end{aligned} x y = x + y + x y = y + x + y x = y x x\diamond y = x+y+xy = y+x+yx = y\diamond x so that \diamond is both associative and commutative. Therefore, the final number is independent is any strategies the two players use .

Therefore, we may choose the order to play the game.

  • Step 1: choose 1 1 and 1 2 \frac{1}{2} . Then 1 1 2 = 1 + 1 2 + 1 1 2 = 2 1 \diamond \frac{1}{2} = 1 + \frac{1}{2} + 1\cdot \frac{1}{2} = 2 .
  • Step 2: choose 2 2 and 1 3 \frac{1}{3} . Then 2 1 3 = 2 + 1 3 + 2 1 3 = 3 2 \diamond \frac{1}{3} = 2 + \frac{1}{3} + 2\cdot \frac{1}{3} = 3 .

and so on, the pattern continuing as

  • Step n: choose n n and 1 n + 1 \frac{1}{n+1} . Then n 1 n + 1 = n + 1 n + 1 + n 1 n + 1 = n + 1 n \diamond \frac{1}{n+1} = n + \frac{1}{n+1} + n\cdot \frac{1}{n+1} = n+1 .

until

  • Step 2016: choose 2016 2016 and 1 2017 \frac{1}{2017} . Then 2016 1 2017 = 2017 2016 \diamond \frac{1}{2017} = 2017 .

In summary, the final number will always be 2017 2017 , which is odd, so Andrew wins \boxed{\text{Andrew wins}} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...