Take a test Sign in 中文
← Exercise 756 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
Contents · by chapter
Digits (38)
Primes (31)
Fractions, Decimals, and the Floor Function (18)
Divisors, GCD, and LCM (36)
Divisibility (59)
Bases (15)
Modular Arithmetic (42)
Integer Equations (27)

Exercises and their solutions

Exercise 756
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$?
← Back to Problem 756
Solution
  1. 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$).
  2. 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$.
  3. $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$.
  4. So $301-97=\boxed{204}$ groups have $3$ members, and that is the number of elements with first digit $5$, $6$, or $7$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year