Pile of gold coins

Logic Level 3

You play a game with a pile of NN gold coins.

You and a friend take turns removing 1, 3, or 6 coins from the pile.
The winner is the one who takes the last coin.

For the person that goes first, how many winning strategies are there for N<1000?N < 1000?


Clarification: For 1N9991 \leq N \leq 999, for how many values of NN can the first player develop a winning strategy?

×

Problem Loading...

Note Loading...

Set Loading...