2018 AMC 12A Problem 13

Attempt Problem 13 of the 2018 AMC 12A below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2018 AMC 12A solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

13.

How many nonnegative integers can be written in the form

a737+a636+a535+a434+a333+a232+a131+a030, \begin{aligned} &a_7 \cdot 3^7 + a_6 \cdot 3^6 + a_5 \cdot 3^5 \\ &\quad {}+ a_4 \cdot 3^4 + a_3 \cdot 3^3 + a_2 \cdot 3^2 \\ &\quad {}+ a_1 \cdot 3^1 + a_0 \cdot 3^0, \end{aligned}

where ai{1,0,1}a_i \in \{-1, 0, 1\} for 0i7?0 \le i \le 7?

512512

729729

10941094

32813281

59,04859{,}048

Answer: D
Concepts:number basebijectionsymmetry
Difficulty rating: 1660
Solution:

Adding 11 to every aia_i gives a bijection between these expressions and the base-33 numerals for 00 through 381,3^8 - 1, so exactly 38=65613^8 = 6561 distinct integers occur. They are symmetric about 00 (negating all aia_i negates the value), so besides 00 itself, half are positive: 1+12(65611)=3281 1 + \tfrac12(6561 - 1) = 3281 nonnegative integers, namely 00 through 3280.3280.

Thus, the correct answer is D.

← Problem 12#12
Full Exam

Problem 13 in Other Years