CAT Data Interpretation & Logical Reasoning: Games with rules · CD16

MCQ · Medium

Data set: Coin game
Coin game

Asha and Bilal play a game with a pile of coins. They take turns, Asha first. On each turn a player must remove 1, 2 or 4 coins (never more than the pile holds). Under the standard rule, the player who takes the last coin wins. Both players always play perfectly.

With 20 coins, how many coins must Asha remove on her first turn to be sure of winning?
A1
B2
C4
DShe cannot force a win
Show answer & solution

Correct answer: B. 2

Solution: Work backwards: a pile is 'losing' for the player to move if every move leads to a winning pile. 0 is losing. 1, 2 and 4 can reach 0, so they're winning. 3 → 2 or 1 only, so it's losing. In general, the losing piles are exactly the multiples of 3, because 1, 2 and 4 are never multiples of 3. 20 − 2 = 18 is a multiple of 3. Taking 1 (19) or 4 (16) leaves a winning pile for Bilal.
⚑ Report an error

Similar questions