做测试 登录 English
← 练习 953 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
数字 (38)
质数 (31)
分数、小数与取整函数 (18)
因数、最大公约数与最小公倍数 (36)
整除 (59)
进制 (15)
同余 (42)
整数方程 (27)

练习及解答

练习 953
Let $x_0,x_1,\ldots$ be digits $0$ or $1$ with $S_n=\sum_{k=0}^{n-1}x_k2^k$ satisfying $3S_n\equiv1\pmod{2^n}$ for all $n\ge1$. What is $x_{100}+2x_{101}+4x_{102}+8x_{103}$?
← 返回第 953 题
解答
  1. Take $n=2m$. With $T=\frac{4^m-1}3=1+4+\cdots+4^{m-1}$, $3T\equiv-1\pmod{4^m}$, so $3(4^m-T)\equiv1\pmod{4^m}$. Both $S_{2m}$ and $4^m-T$ lie in $[0,4^m)$ and the inverse of $3$ is unique, so $S_{2m}=4^m-T$ (take $m$ large, say $m=52$).
  2. $4^m-T$ in binary is $\ldots1010\,1011$ (e.g.\ $16-5=11=1011_2$): $x_0=x_1=1$, and for $k\ge2$, $x_k=1$ exactly when $k$ is odd.
  3. So $0+2\cdot1+4\cdot0+8\cdot1=\boxed{10}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份