Question 1
A pile has $24$ coins. Two players take turns removing $1$ to $4$ coins, and the player forced to take the last coin LOSES. How many coins should the first player take on move $1$ to leave a winning remainder ($\equiv 1 \pmod{5}$)?
Xem đáp án và lời giải
Đáp án: $3$
Muốn đối thủ bốc viên cuối, cần đưa tổng về dạng $(5)m + 1$. Ta có $24 - 3 = 21 \equiv 1 \pmod{5}$, nên bốc $3$ đồng xu.