A Simple Coin Game II

James and Louise are playing a game with a pile of 20 coins, similar to the last game , but with a little difference. Each player alternates turn by removing 1, 2 or 3 coins from the pile. Win the game who remove all the coins. James will start. If both play optimally, who have the winning strategy?

Both have same chance Louise James

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
Aug 9, 2018

As before, the second player can always make sure the count decreases by 4 4 between the starts of the first player's turns.

That is, when James takes k { 1 , 2 , 3 } k \in \{1,2,3\} from the pile, Louise can respond by taking 4 k { 1 , 2 , 3 } 4-k \in \{1,2,3\} from the pile, leaving 16 16 coins at the start of James' second turn. Then continuing, she will leave 12 , 12, then 8 , 8, then 4 , 4, at the start of James' turns. At this point, James cannot take all four coins, but he has to take at least 1 1 , leaving at most 3 3 for Louise, who can then take however many are left to win.

It follows that Louise \boxed{\text{Louise}} has the winning strategy.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...