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