第 1167 题:(2011 AMC 12a, 19)
At a competition with $N$ players, the number of players given elite status is equal to $2^{1+\lfloor \log_{2} (N-1) \rfloor}-N$. Suppose that $19$ players are given elite status. What is the sum of the two smallest possible values of $N$?
$\textbf{(A)}\ 38$ $\textbf{(B)}\ 90$ $\textbf{(C)}\ 154$ $\textbf{(D)}\ 406$ $\textbf{(E)}\ 1024$
- If $2^k<N\le2^{k+1}$ (so $\lfloor\log_2(N-1)\rfloor=k$), the number of elite players is $2^{k+1}-N=19$.
- $N=2^{k+1}-19>2^k$ requires $2^k>19$, so $k\ge5$, giving $N=45$, $109$, \dots
- $45+109=154$. The answer is (C).
At a competition with $N$ players, $2^{1+\lfloor\log_2(N-1)\rfloor}-N$ players get elite status. For how many values of $N\le1000$ do exactly $10$ players get elite status?