AoPSWiki
Support local problem solving programs by contributing to the Art of Problem Solving Foundation.
Click here for more information about the Foundation.
Personal tools

1994 AIME Problems/Problem 4

From AoPSWiki

Problem

Find the positive integer for which \lfloor\log_2{1}\rfloor+\lfloor\log_2{2}\rfloor+\lfloor\log_2{3}\rfloor+\cdots+\lfloor\log_2{n}\rfloor=1994 (For real , is the greatest integer )

Solution

Note that if for some , then \lfloor\log_2{a}\rfloor=\log_2{2^{x}}=x.

Thus, there are integers such that . So the sum of for all such is .

Let be the integer such that . So for each integer , there are integers such that , and there are such integers such that .

Therefore, \lfloor\log_2{1}\rfloor+\lfloor\log_2{2}\rfloor+\lfloor\log_2{3}\rfloor+\cdots+\lfloor\log_2{n}\rfloor= \sum_{j=0}^{k-1}(j\cdot2^j) + k(n-2^k+1) = 1994.

Through computation: \sum_{j=0}^{7}(j\cdot2^j)=1538<1994 and \sum_{j=0}^{8}(j\cdot2^j)=3586>1994. Thus, .

So, \sum_{j=0}^{k-1}(j\cdot2^j) + k(n-2^k+1) = 1538+8(n-2^8+1)=1994 \Rightarrow n = \boxed{312}.

See also

1994 AIME (ProblemsResources)
Preceded by
Problem 3
Followed by
Problem 5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
The Art of Problem Solving Bookstore now offers two titles from the creator of Math Olympiads in the Elementary and Middle Schools. Click here and here to check them out.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us