{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Given that $2^{2004}$ is a $604$-digit number whose first digit is $1$, how many elements of the set $S = \{2^0,2^1,2^2,\ldots ,2^{2003}\}$ have a first digit of $4$? $\mathrm{(A)}\ 194 \qquad\mathrm{(B)}\ 195 \qquad\mathrm{(C)}\ 196 \qquad\mathrm{(D)}\ 197 \qquad\mathrm{(E)}\ 198$
Group the powers of $2$ by their number of digits. Each group starts with a power whose first digit is $1$, since doubling a number with first digit at least $5$ adds a digit, and doubling a number with first digit at most $4$ does not.
Within a group, start with first digit $1$ (the number is between $10^j$ and $2\cdot10^j$). The next is between $2\cdot10^j$ and $4\cdot 10^j$, the next between $4\cdot10^j$ and $8\cdot10^j$. So a group has $3$ members, or $4$ members exactly when its third member is below $5\cdot10^j$, i.e.\ has first digit $4$ (then the fourth starts with $8$ or $9$).
So the number of powers with first digit $4$ equals the number of groups with $4$ members.
$2^0,\dots,2^{2003}$ fill exactly the groups of $1,2,\dots,603$ digits, because $2^{2004}$ is the first power with $604$ digits. If $x$ groups have $4$ members, then $3\cdot603+x=2004$, so $x=195$.
Given that $2^{1000}$ is a $302$-digit number whose first digit is $1$, how many elements of the set $\{2^0,2^1,2^2,\ldots,2^{999}\}$ have a first digit of $5$, $6$, or $7$?