Take a test Sign in 中文
← Exercise 660 →
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 660
The increasing sequence $1,4,5,16,17,20,21,\ldots$ consists of all those positive integers which are powers of 4 or sums of distinct powers of 4. Find the $30^{\mbox{th}}$ term of this sequence.
← Back to Problem 660
Solution
  1. Writing the terms in base $4$, they are exactly the numbers with digits $0$ and $1$, in increasing order.
  2. So the $k$th term is $k$ written in base $2$ and read in base $4$.
  3. $30=11110_2$, so the term is $4^4+4^3+4^2+4=256+64+16+4=340$.
  4. The answer is $\boxed{340}$.
Search Go to Prev      Next

Contact Us

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