做测试 登录 English
← 练习 340 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
AIME 目录 · 按章节
基础计数 (90)
---- (44)
概率 (91)

练习及解答

练习 340
Alice and Bob play the following game. A stack of $n$ tokens lies before them. The players take turns with Alice going first. On each turn, the player removes $1$ token or $6$ tokens from the stack. The player who removes the last token wins. Find the number of positive integers $n$ less than or equal to $1500$ such that there is a strategy that guarantees that Bob wins, regardless of Alice's moves.
← 返回第 340 题
解答
  1. The losing positions for the player to move are $n\equiv0,2,4\pmod7$ (period $7$: from $n\equiv1,3,5$ take $1$; from $n\equiv6$ take $6$).
  2. Since $1500=7\cdot214+2$, among $1,\dots,1500$ there are $214+215+214=643$ such $n$.
  3. The answer is $\boxed{643}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份
1985 (1 题)
1984 (1 题)