Take a test Sign in 中文
← Exercise 655 →
Search
Go to
{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}” No results found for “{{searchWords}}” × back to contents
AIME Contents · by chapter
Digits (23)
Primes (14)
Divisors, GCD, and LCM (28)
Divisibility (22)
Fractions, Decimals, and the Floor Function (14)
Bases (19)
Modular Arithmetic (30)
Integer Equations (29)

Exercises and their solutions

Exercise 655
Find the number of positive integers less than or equal to $3000$ whose base-three representation contains no digit equal to $0$.
← Back to Problem 655
Solution
  1. With at most $7$ ternary digits there are $2+4+\cdots+128=254$ such numbers, and the largest of them, $2222222_3=2186$, is below $3000$; $8$-digit ones are at least $11111111_3=3280>3000$.
  2. So the answer is $254$.
  3. The answer is $\boxed{254}$.
Search Go to Prev      Next

Contact Us

Thanks! Your message has been sent.
By year
1996 (1 problems)
1991 (1 problems)