BMO/BMO
2021 British Mathematical Olympiad
11 道题目
British Mathematical OlympiadRound 1Round 2
选择题目
点击题号切换,正文区一次只显示一道题
Evie and Odette are playing a game. Three pebbles are placed on the number line; one at $-2020$, one at $2020$, and one at $n$, where $n$ is an integer between $-2020$ and $2020$. They take it in turns moving either the leftmost or the rightmost pebble to an integer between the other two pebbles. The game ends when the pebbles occupy three consecutive integers.
Odette wins if their sum is odd; Evie wins if their sum is even. For how many values of $n$ can Evie guarantee victory if:
(a) Odette goes first;
(b) Evie goes first?
Odette wins if their sum is odd; Evie wins if their sum is even. For how many values of $n$ can Evie guarantee victory if:
(a) Odette goes first;
(b) Evie goes first?
考场第一眼 / First look
考场第一眼:不要追踪三个绝对坐标,而要追踪两个相邻间距和中点的奇偶性。把当前三个位置写成 \[
x-a,\quad x,\quad x+b\qquad(a,b\ge 1),
\] 并记 \(\varepsilon\equiv x\pmod 2\)。题目中的 “between” 按竞赛题的通常含义理解为严格介于;于是每次移动后三个位置仍互不相同。
一次移动就是把 \(a\) 或 \(b\) 中某个至少为 \(2\) 的间距 \(g\) 拆成两个正整数 \(c,g-c\),同时中点奇偶改变 \(c\pmod2\)。终局是 \((a,b)=(1,1)\),此时三数和与中点同奇偶。
真正要找的是必败状态。若当前玩家想要的终局奇偶为 \(r\),令 \(h=\varepsilon\oplus r\)。对非终局状态定义 \[ \mathcal X=\{(a,b):a,b\text{ 都为偶数}\} \cup\{(1,2s),(2s,1):s\ge1\}. \] 强归纳会证明:当前玩家恰在 \(h=0\) 且 \((a,b)\in\mathcal X\) 时必败,其余情形都必胜。初始时 \(a=n+2020,\ b=2020-n,\ \varepsilon\equiv n\pmod2\),所以只须按 \(n\) 的奇偶代入这个分类。
一次移动就是把 \(a\) 或 \(b\) 中某个至少为 \(2\) 的间距 \(g\) 拆成两个正整数 \(c,g-c\),同时中点奇偶改变 \(c\pmod2\)。终局是 \((a,b)=(1,1)\),此时三数和与中点同奇偶。
真正要找的是必败状态。若当前玩家想要的终局奇偶为 \(r\),令 \(h=\varepsilon\oplus r\)。对非终局状态定义 \[ \mathcal X=\{(a,b):a,b\text{ 都为偶数}\} \cup\{(1,2s),(2s,1):s\ge1\}. \] 强归纳会证明:当前玩家恰在 \(h=0\) 且 \((a,b)\in\mathcal X\) 时必败,其余情形都必胜。初始时 \(a=n+2020,\ b=2020-n,\ \varepsilon\equiv n\pmod2\),所以只须按 \(n\) 的奇偶代入这个分类。