Question 1
A pile has $25$ 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: $4$
Muốn đối thủ bốc viên cuối, cần đưa tổng về dạng $(5)m + 1$. Ta có $25 - 4 = 21 \equiv 1 \pmod{5}$, nên bốc $4$ đồng xu.