'I have 12 poker chips, we (two people) take it in turns to pick up one or two chips, you win if you don't pick up the last chip. What is the optimal strategy? Do you want to go first or second? What about if there were 150 chips?'
I concluded that I would always want to play first and take two chips on the first go to guarantee a win, for both the 12 chip game and 150 chip game. I am unsure if this is correct but my reasoning was:
Let the expression $k:W(1)$ mean I can guarantee a win by taking the $k$th chip, $k:W(2)$ to mean that I can guarantee a win by taking the $k$th chip and $(k+1)$th chip and $k:L$ to mean I am guaranteed a loss if I have to pick up either only the $k$th chip or both the $k$th chip and $(k+1)$th chip. Then working backwards from the 12th chip I concluded:
$12: L$ $11: W(1)$
$10: W(2)$
$9:L$
$8:W(1)$
$7:W(2)$
$6:L$
$5:W(1)$
$4:W(2)$
$3:L$
$2:W(1)$
$1:W(2)$
And as 150 is also divisible by 3 we'd find the same pattern in that case.
Is this correct?
Go backwards.
One chip, you lose.
Two or three chips, you take one or two and leave one for me, I lose.
Four chips, you take one or two and leave me three or two, I win, you lose.
In general, 3k+1 chips you lose. 3k you take two chips so I have 3(k-1)+1 and lose, 3k+2 you take one chip so I have 3k+1 and lose.