Take a test Sign in 中文
← Exercise 908 →
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 908
In base $12$, the digits are $0$ through $9$ together with two letters for $10$ and $11$. Among the first $1000$ positive integers, how many have a base-$12$ representation that uses only the digits $0$ through $9$?
← Back to Problem 908
Solution
  1. $1000=6\cdot144+11\cdot12+4$, so $1000$ is the three-digit base-$12$ number with digits $6,11,4$.
  2. Numbers $\underline{a}\,\underline{b}\,\underline{c}_{\,12}$ with $a,b,c\le9$: if $a\le5$, all $6\cdot10\cdot10=600$ choices are below $1000$, and one of them is $0$.
  3. If $a=6$, the number is at most $699_{12}$, which is less than $1000$ because the middle digit $9$ is less than $11$. This gives $100$ more.
  4. Total: $600-1+100=\boxed{699}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year