Solution to Problem 152



Congratulations to this week's winner

Eric Pueschel

A correct solution also came from Sean Koors. Further correct solutions were submitted by M. Lynch, Bryan Fluhrer, Paul Botham, Lou Cairoli.



The second player (almost) always has a winning strategy.  The only exceptions are when you start with only 1 or 2 jellybeans, in which case the first player obviously wins.

Once the first player moves, the second player is faced with (essentially) a row of jellybeans.  Regardless of how many were originally taken, the second player can now take the row of jellybeans and remove 1 or 2 jellybeans so as to leave two rows of jellybeans with an equal number of candies.  (Try it out!)  Now whatever the first player does to one row, the second player mimics on the second row and is guaranteed to take the last candies.
 

You are visitor number 2072 to this page.