Randomly generated number N defines the initial quantity of matches (or marbles, tokens, cards etc) on the table.
Assume N< 333
Two players, A & B take turns taking some matches from the pile, provided the quantity taken is an integer power of 2, i.e. 1, 2, 4…
Winner is the player taking the last batch.
Would you prefer to be the 1st player?
What would be your winning strategy?