2003 AIME I Problem 13

Below is the professionally curated solution for Problem 13 of the 2003 AIME I, from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2003 AIME I solutions, or check the answer key.

All of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:number basecombinationsPascal’s Trianglesymmetry

Difficulty rating: 2920

13.

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.

Solution:

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)=1+2+6+20+70+252=351,\sum_{i=0}^{5}\binom{2i}{i} = 1 + 2 + 6 + 20 + 70 + 252 = 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.

← Problem 12Full ExamProblem 14

Problem 13 in Other Years