做测试 登录 English
← 练习 663 →
搜索
跳转
找到 {{searchResults.length}} 条与“{{searchWords}}”相关的结果 没有找到与“{{searchWords}}”相关的结果 × 返回目录
AIME 目录 · 按章节
数字 (23)
质数 (14)
因数、最大公约数与最小公倍数 (28)
整除 (22)
分数、小数与取整函数 (14)
进制 (19)
同余 (30)
整数方程 (29)

练习及解答

练习 663
Let $N$ be the number of positive integers that are less than or equal to 1500 and whose base-2 representation has more 1's than 0's. Find the remainder when $N$ is divided by 1000.
← 返回第 663 题
解答
  1. A $k$-digit binary number starts with $1$; the other $k-1$ digits need more than $\frac k2-1$ ones.
  2. For $k=1,\dots,10$ the counts are $1,1,3,4,11,16,42,64,163,256$ (total $561$).
  3. For $11$-digit numbers $1024\le n\le1500$, a direct count gives $222$.
  4. So $N=783$.
  5. The answer is $\boxed{783}$.
搜索 跳转 上一题      下一题

联系我们

谢谢!您的消息已发送。
按年份
1996 (1 题)
1991 (1 题)