The following question is from a Math Olympiad competition.
You and Adam were playing a game. There are a pile of stones. On every turn, each player may take 1, 2, or 4 stones from the pile. The person who takes the last stone loses.
If Adam will be playing first, which of the following options for the number of stones in the pile will guarantee you a win?
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.
If Adam takes 1 stone on the first turn, you can take 2. If he takes 2 on the first turn, you can take 1. If he takes 4 on the first turn, you can take 2. You can repeat this pattern for every move. The amount of stones taken after every round (that is, after Adam goes and you go) will be a multiple of 3. Eventually, 12 stones will be taken and Adam has to take the thirteenth one.