Skip to main content
OlympiadHQ

Browse · MathNet

Print

Ireland

Ireland counting and probability

Problem

people seated at a round table play a game as follows. Initially each player is dealt a green or orange card. Game play then takes place in a series of rounds. In each round, (i) Each player notes the colours of the cards held by the two players to his/her immediate right. If these are different, the player raises his/her hand. (ii) Each player with a raised hand replaces his/her card with one of the opposite colour. The game ends when each player holds the same colour as he/she did initially. A value of is called playable if game play must end after a finite number of rounds, regardless of the initial cards dealt to the players. (a) Prove that there are infinitely many values of which are playable. (b) Prove that there are infinitely many values of which are not playable.
Solution
(a) Denote the configuration of cards after round by a binary sequence , where the subscripts are interpreted modulo (here corresponds to the initial cards dealt to the players). The outcome of each round may then be computed recursively by for , where addition is modulo 2. Next, by induction on we show that for all and all , This is obviously true for , as it matches (1). Assuming this equation holds for a fixed , we have, for all and all , With it follows that for all and all , and the results follows by the principle of induction. Therefore, if for any , after rounds we have and for all ; we conclude that each such is playable.

(b) For any divisible by 3, we may set the initial configuration of cards to Then it is easily shown that the next round yields the all-ones sequence, and this configuration will not change thereafter, i.e. for all and for all . Therefore every divisible by 3 is not playable.

Techniques

Recursion, bijectionRecurrence relationsInduction / smoothingGames / greedy algorithms