Skip to main content

2011 AMC 12A Problem 19

Problem 19 of 25HarderAlgebraNumber TheoryProblem-Solving Techniques

At a competition with NN players, the number of players given elite status is equal to 21+⌊log⁡2(N−1)⌋−N. 2^{1 + \lfloor \log_2 (N - 1) \rfloor} - N. Suppose that 1919 players are given elite status. What is the sum of the two smallest possible values of N?N? Note: ⌊x⌋\lfloor x \rfloor is the greatest integer less than or equal to x.x.

Answer choices

Show solution

Solution

Let m=⌊log⁡2(N−1)⌋,m = \lfloor \log_2 (N - 1) \rfloor, so the elite count is 2m+1−N=19,2^{m+1} - N = 19, giving N=2m+1−19.N = 2^{m+1} - 19. Consistency requires 2m≤N−1=2m+1−20,2^m \le N - 1 = 2^{m+1} - 20, i.e. 2m≥20,2^m \ge 20, so m≥5.m \ge 5. The two smallest choices are m=5m = 5 giving N=64−19=45,N = 64 - 19 = 45, and m=6m = 6 giving N=128−19=109.N = 128 - 19 = 109. Their sum is 154.154. Thus, the correct answer is C.
AoPS wiki

Tagged: floor and ceiling functions · power of 2 · casework

More practice