{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
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$?
The powers of $2$ with the same number of digits form a group whose first member is $a\cdot10^m$ with $1\le a<2$; the members are $a$, $2a$, $4a$, and also $8a$ if $8a<10$ (times $10^m$).
If $1\le a<1.25$, the group has $4$ members with first digits $1$, $2$, $4$, and $8$ or $9$: none is $5$, $6$, $7$. If $1.25\le a<2$, the group has $3$ members, and $4a\in[5,8)$: exactly one member has first digit $5$, $6$, or $7$.
$2^0,\dots,2^{999}$ fill the groups of $1,\dots,301$ digits, because $2^{1000}$ is the first power with $302$ digits. If $x$ groups have $4$ members, $3\cdot301+x=1000$, so $x=97$.
So $301-97=\boxed{204}$ groups have $3$ members, and that is the number of elements with first digit $5$, $6$, or $7$.