Stack of Coins 1A
You and a friend stumble on a pirate’s treasure: an old chest filled with coins: 19 copper coins and 1 gold coin. These old coins are no longer legal tender, so the copper ones are worthless. Only the gold coin is worth something due to its material.
To determine who gets the gold coin, your friend comes up with a game of wits. He stacks the 20 coins in a stack with the gold coin at the bottom. You and him will take turns taking 1 or 2 coins from the top of the stack, all the way until the final coin is taken. He lets you decide if you want to go first or second.
Should you go first or second? And what strategy do you use to ensure you’ll win the gold coin?
Hint
Try starting with a smaller number of coins. If there are 3 coins, will the first or second player win? How about 4? 5? 6? See if you can find a pattern.
Solution
Choose to go first and take 2 coins. After that, if he takes 1 coin, you take 2. If he takes 2 coins, you take 1 instead.
By taking the first 2 coins, you bring the stack down to 18 coins: a multiple of 3. Your strategy will make sure that after your turn, the number of coins would have decreased by 3 to another multiple of 3.
When we get to 3 coins, your friend can only take 1 or 2 coins, leaving you with 2 or 1 coins, which you can then take and win.
Next puzzle in this series
Try These Next
Stack of Coins 1C
You and your friend are really lucky treasure hunters, because you’ve stumbled on another pirate’s treasure: an old chest filled with coins: 149 copper coins...
Planting Trees 2
A few weeks after your first job, the mathematics professor calls you back. She was so pleased with your creative solution to the four-tree problem that she...
L-Shaped Room
We have a room made out of 3 squares arranged in an L shape. Two people are placed randomly within it. What’s the probability that they can see each other?