White and black balls

You are playing a game with 2016 bins arranged in a circle. At the start, each bin has a white or black ball inside, with the two colors alternating between adjacent bins all throughout the circle.

The rules are as follows:

  • Each turn, you select one white ball and one black ball. The white ball moves clockwise to the next bin and the black ball you moves counterclockwise to the next bin.

  • You may repeat this process as many times as you like.

  • The two balls selected can come from the same bin at later stages when a single bin can have multiple balls.

  • You win the game if all 2016 balls are in the same bin after a turn.

Is it possible to win this game?

Inspired by this problem

Yes No

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

Antoine Labelle
Sep 15, 2018

Let's label the bins 0, 1, 2 ,3, ..., 2017 (0 and 2017 are adjacent since the bins are arranged in a circle). At any point of the game, the sum of all the labels of the bins of the 2016 balls stays the same modulo 2016, since at every turn one white ball get +1 and one black ball get -1. At the start of the game, this sum equal i = 1 2016 i = 2016 2017 2 1008 ( m o d 2016 ) \sum_{i=1}^{2016} i = \frac{2016*2017}{2} \equiv 1008 \pmod{2016} . In the position where all the balls are in in the bin labeled n n , the sum equal 2016 n 0 ( m o d 2016 ) 2016n \equiv 0 \pmod{2016}

Thus, it is impossible to go from the starting position to a position where all the balls are in the same bin.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...