BMO/BMO
2013 British Mathematical Olympiad
10 道题目
British Mathematical OlympiadRound 1Round 2
选择题目
点击题号切换,正文区一次只显示一道题
3. Consider the set of positive integers which, when written in binary, have exactly $2013$ digits and more $0$s than $1$s. Let $n$ be the number of such integers and let $s$ be their sum. Prove that, when written in binary, $n+s$ has more $0$s than $1$s.
考场第一眼 / First look
考场第一眼:\(2013=1+2012\),而一个恰有 \(2013\) 位的正整数最高位必为 \(1\)。所以真正可选的是后面的 \(2012\) 位;若其中有 \(j\) 个 \(1\),题设条件等价于 \(j\leqslant1005\)。不要急着求巨大的 \(n\) 和 \(s\) 本身,而应固定一个低位,记它在所有入选数中等于 \(1\) 的次数为 \(t\)。由对称性,每个低位出现 \(1\) 的次数都是 \(t\),而补集配对给出关键等式 \[
n-t=2^{2010}.
\] 于是低位总贡献可一次求和,并且 \[
n+s=(n+t)2^{2012}+(n-t)=A2^{2012}+2^{2010},\qquad A=n+t.
\] 这把 \(n+s\) 的二进制表示切成互不进位的两块:高位块是 \(A\),低 \(2012\) 位只有一个 \(1\)。最后证明 \(A\) 为偶数且 \(A<3\cdot2^{2010}\):若 \(A\) 不满 \(2012\) 位,末位的 \(0\) 已足够;若恰有 \(2012\) 位,上界迫使它以 \(10\) 开头,再加上末位 \(0\),高位块至少有两个 \(0\)。两种情形都能严格比较总的 \(0\) 与 \(1\) 的个数。