1994 AIME Problem 4

Attempt Problem 4 of the 1994 AIME below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 1994 AIME solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

4.

Find the positive integer nn for which log21+log22+log23++log2n=1994.\begin{aligned}&\lfloor\log_2 1\rfloor+\lfloor\log_2 2\rfloor+\lfloor\log_2 3\rfloor\\&\quad+\cdots+\lfloor\log_2 n\rfloor=1994.\end{aligned} (For real x,x, x\lfloor x\rfloor is the greatest integer not exceeding x.x.)

Answer: 312
Concepts:floor and ceiling functionslogarithmpower of 2
Difficulty rating: 1980
Small Hint:

Group integers having the same value of log2k\lfloor\log_2 k\rfloor

Big Hint:

Compute the sum through 255255, after which every new term initially contributes 88

Solution:

For 2jk<2j+1,2^j\leq k<2^{j+1}, the summand is j.j. Thus the sum through 255=281255=2^8-1 is j=07j2j=(82)28+2=1538.\sum_{j=0}^7j2^j=(8-2)2^8+2=1538. The remaining 19941538=4561994-1538=456 is 578,57\cdot8, so we include 5757 more integers beginning with 256.256. Hence n=255+57=312.n=255+57=312.

← Problem 3#3
Full Exam

Problem 4 in Other Years