2003 AIME I 第 13 题

先试着解答 2003 AIME I 第 13 题,然后核对你的答案与精心整理的解答,解答来自 LIVE by Po-Shen Loh。你也可以参加完整限时模拟考试、查看全部 2003 AIME I 解答,或核对答案

所有题目均经美国数学协会(MAA)官方合法授权使用。

13.

NN 为不超过 20032003 的正整数中,其 22 进制表示里 11 的个数多于 00 的个数的整数个数。求 NN 除以 10001000 的余数。

Let NN be the number of positive integers that are less than or equal to 20032003 and whose base-22 representation has more 11's than 00's. Find the remainder when NN is divided by 1000.1000.

答案:155
知识点:进制组合杨辉三角对称性
难度评级:2920
解答:

因为 2003<211=20482003 \lt 2^{11} = 2048, 所考虑的每个整数最多有 1111 位二元数字。一个 (d+1)(d+1) 位数以 11 开头,在剩余 dd 位中再选 kk11 可得到 (dk)\binom{d}{k} 个含有 k+1k + 1 个一的数;当 kd2k \ge \frac{d}{2} 时,11 的个数多于 00 的个数。因此,所有不超过 20472047 的数的计数就是帕斯卡三角形第 00 到第 1010 行中,中间项及其右侧各项之和。

这些行的总和为 1+2++210=20471 + 2 + \cdots + 2^{10} = 2047,中间项之和为 i=05(2ii)\sum_{i=0}^{5}\binom{2i}{i} =1+2+6+20+70+252= 1 + 2 + 6 + 20 + 70 + 252 =351= 351,所以由对称性,计数为 2047+3512=1199\frac{2047 + 351}{2} = 1199

20042004204720474444 个整数都大于 1984=1111100000021984 = 11111000000_2, 因此每个都有前缀 1111111111 并且至少还多一个 11,所以在十一位中至少有六个 11,这 4444 个全都被计入。 因此 N=119944=1155N = 1199 - 44 = 1155, 除以 10001000 的余数为 155155

Since 2003<211=2048,2003 \lt 2^{11} = 2048, every integer in question has at most 1111 binary digits. A (d+1)(d+1)-digit binary number starts with 1,1, and choosing kk more 11's among the remaining dd digits gives (dk)\binom{d}{k} numbers with k+1k + 1 ones; the 11's outnumber the 00's exactly when kd2.k \ge \frac{d}{2}. So the count over all numbers up to 20472047 is the total of the entries on or to the right of the center of rows 00 through 1010 of Pascal's triangle.

Those rows sum to 1+2++210=2047,1 + 2 + \cdots + 2^{10} = 2047, and the central entries sum to i=05(2ii)\sum_{i=0}^{5}\binom{2i}{i} =1+2+6+20+70+252= 1 + 2 + 6 + 20 + 70 + 252 =351,= 351, so by symmetry the count is 2047+3512=1199.\frac{2047 + 351}{2} = 1199.

The 4444 integers from 20042004 to 20472047 all exceed 1984=111110000002,1984 = 11111000000_2, so each has the prefix 1111111111 plus at least one more 1,1, hence at least six 11's among eleven digits — all 4444 were counted. Therefore N=119944=1155,N = 1199 - 44 = 1155, whose remainder upon division by 10001000 is 155.155.

← 第 12 题#12
完整试卷

其他年份的第 13 题