A kidnapper kidnaps 2015 people and takes them to his lair. He makes each of them sit on a round table and declares that he's going to leave everybody unharmed, but not before they play a game.
Each of the players is given a certain number of cards from 1 to 2015. No two players get the same number of cards. A move consists of a player giving a card to one of the two players adjacent to him. The game is over when each of the players has the same number of cards.
Find the last three digits of the minimum number of moves it will take for the game to be over.
Details and assumptions
Since the players don't want to stay in the bad guy's lair, they play optimally, so that they canave as soon as possible. The question asks for the minimum number of moves for which there exists a specific strategy which always ends the game.
Two moves cannot occur simultaneously.
The players can discuss a strategy before beginning.
Each player knows the number of cards any other players has.
The players are sitting beside a round table, so every player has exactly two players beside him.
This problem is not entirely original.
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.
The answer is 1 2 + 2 2 + ⋯ + 2 0 1 5 2 . I don't have a complete solution to this problem yet; here's a construction which shows this is the minimum. This problem is taken from China TST 2013. Also, it is getting pretty late here so here's just an outline.
Label the persons 1 , 2 , ⋯ , 2 0 1 5 . Let C i be the number of cards person i has. After n moves, consider △ n = i = 1 ∑ 2 0 1 5 C i ⋅ i . Suppose, person j gives a card to person j + 1 on the ( n + 1 ) th move, so △ n + 1 − △ n = ( C j − 1 ) ⋅ j + ( C j + 1 + 1 ) ⋅ ( j + 1 ) − C j ⋅ j − C j + 1 ⋅ ( j + 1 ) = 1 , so △ n increases by 1 . If person j gives a card to person j − 1 , similarly we can show that △ n decreases by 1 . Note that when all persons have the same number of cards, for all j , C j = 2 0 1 5 1 + 2 + ⋯ + 2 0 1 5 = 2 2 0 1 6 , so △ = ( 1 + 2 + ⋯ + 2 0 1 5 ) 2 2 0 1 6 = 4 2 0 1 5 × 2 0 1 6 2 . Set a i = 2 i and a i + 1 0 0 7 = 2 ( 1 0 0 7 − i ) 2 − 1 for all i ≤ 1 0 0 8 . With this configuration we can easily verify that △ 0 = 4 2 0 1 5 × 2 0 1 6 2 + ( 1 2 + 2 2 + ⋯ + 2 0 1 5 2 ) . Since △ n decreases by at most 1 each move, it will take at least 1 2 + 2 2 + ⋯ + 2 0 1 5 2 moves to reach there.
I'm still working on proving that this is indeed the minimum. Any help will be appreciated. Also, since I'm feeling pretty sleepy right now and my notebook isn't here with me, the construction for a i might not be correct. If that is the case, I'll fix it soon.