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