2018 AMC 12A Problem 13

Below is the professionally curated solution for Problem 13 of the 2018 AMC 12A, 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 of the real AMC 8, AMC 10, AMC 12, and AIME problems in our complete solution collection are used with official legal permission of the Mathematical Association of America (MAA).

Concepts:number basebijectionsymmetry

Difficulty rating: 1660

13.

How many nonnegative integers can be written in the form

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

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

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 13 in Other Years