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

TITA · 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.

For how many starting pile sizes from 1 to 30 (inclusive) can Bilal force a win?

Type in the answer (TITA): no options.

Show answer & solution

Correct answer: 10

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. Bilal wins exactly when the start is a multiple of 3: 3, 6, …, 30, which is 10 sizes.
⚑ Report an error

Similar questions