第 913 题:(2012 AMC 12a, 20)
Consider the polynomial \[P(x)=\prod_{k=0}^{10}(x^{2^k}+2^k)=(x+1)(x^2+2)(x^4+4)\cdots (x^{1024}+1024)\] The coefficient of $x^{2012}$ is equal to $2^a$. What is $a$?
\[\textbf{(A)}\ 5\qquad\textbf{(B)}\ 6\qquad\textbf{(C)}\ 7\qquad\textbf{(D)}\ 10\qquad\textbf{(E)}\ 24\]
- Expanding the product, each term comes from choosing $x^{2^k}$ or $2^k$ from each factor. The power of $x$ is the sum of the chosen $2^k$.
- Since every positive integer has exactly one binary representation, $x^{2012}$ arises in exactly one way: choose $x^{2^k}$ for the $k$ with a $1$ in the binary representation of $2012$.
- $2012=1024+512+256+128+64+16+8+4=11111011100_2$. The bits $k=0,1,5$ are $0$, so from those factors we take $2^0,2^1,2^5$.
- The coefficient is $2^{0+1+5}=2^6$, so $a=6$.
- The answer is (B).
Let $Q(x)=\prod_{k=0}^{9}\left(x^{2^k}+3^k\right)=(x+1)(x^2+3)(x^4+9)\cdots(x^{512}+3^9)$. The coefficient of $x^{1000}$ in $Q(x)$ is $3^a$. What is $a$?