做测试 登录 English
← 练习 550 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
目录 · 按章节
基础计数 (147)
球与盒子 (6)
概率 (142)

练习及解答

练习 550
The first $100$ positive integers are each written in base $2$. How many of these base-$2$ representations are palindromes?
← 返回第 550 题
解答
  1. $100=1100100_2$. Palindromes with $1,\dots,6$ binary digits: $1,1,2,2,4,4$, total $14$.
  2. Seven-digit palindromes have the form $1abcba1$. Those with $a=0$ are less than $1100100_2$: $4$ of them. With $a=1,b=0$: $110c011$, and only $c=0$ gives a number $\le1100100_2$. With $a=b=1$ the number is too big.
  3. Total: $14+4+1=\boxed{19}$.
搜索 跳转 上一题      下一题

联系我们

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