跳到主要内容
求证数学Reasoncraft Mathematics
/
搜索我的学习台
  1. BMO
  2. 2004
BMO2004
BMO/BMO

2004 British Mathematical Olympiad

9 道题目

British Mathematical OlympiadRound 1Round 2

选择题目

点击题号切换,正文区一次只显示一道题

7 / 9
2004/BMO/Round 2/Q2Binary representationsDivisibilityNumber theory竞赛
2. Show that there is an integer $n$ with the following properties:
(i) the binary expansion of $n$ has precisely $2004$ $0$s and $2004$ $1$s;
(ii) $2004$ divides $n$.
考场第一眼 / First look
先分解 $2004=4\cdot3\cdot167$。若把二进制位两两配成 $00$ 或 $11$,就等于在四进制中只使用数字 $0$、$3$:写成 $n=3M$ 后,因子 $3$ 自动出现,末尾安排 $00$ 又给出因子 $4$。剩下只需让 $M$ 被 $167$ 整除。费马小定理给出 $4^{83}\equiv1\pmod{167}$,所以连续 $83$ 个四进制位形成一个模 $167$ 的完整周期;构造的核心是拼入若干完整周期,再用六个幂补齐准确的 $0,1$ 数目。
练习