Skip to content / Đến nội dung
ThichHocToan.com

2018 AMC 12A Question 13

AMC12 · 2018 AMC 12A

Question 13

How many nonnegative integers can be written in the form

$$
\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 $a_i \in \{-1, 0, 1\}$ for $0 \le i \le 7?$
  1. $512$
  2. $729$
  3. $1094$
  4. $3281$
  5. $59{,}048$