{"status": "success", "data": {"description_md": "How many nonnegative integers can be written in the form $$a_7\\cdot3^7+a_6\\cdot3^6+a_5\\cdot3^5+a_4\\cdot3^4+a_3\\cdot3^3+a_2\\cdot3^2+a_1\\cdot3^1+a_0\\cdot3^0,$$<br>where $a_i\\in \\{-1,0,1\\}$ for $0\\le i \\le 7$?\n\n$\\textbf{(A) } 512 \\qquad <br>\\textbf{(B) } 729 \\qquad <br>\\textbf{(C) } 1094 \\qquad <br>\\textbf{(D) } 3281 \\qquad <br>\\textbf{(E) } 59,048$\n___\nFull credit goes to [MAA](https://maa.org/) for authoring these problems. These problems were taken on the [AOPS](https://artofproblemsolving.com/) website.", "description_html": "<p>How many nonnegative integers can be written in the form  <span class=\"katex--display\">a_7\\cdot3^7+a_6\\cdot3^6+a_5\\cdot3^5+a_4\\cdot3^4+a_3\\cdot3^3+a_2\\cdot3^2+a_1\\cdot3^1+a_0\\cdot3^0,</span> <br/>where  <span class=\"katex--inline\">a_i\\in \\{-1,0,1\\}</span>  for  <span class=\"katex--inline\">0\\le i \\le 7</span> ?</p>&#10;<p> <span class=\"katex--inline\">\\textbf{(A) } 512 \\qquad \\textbf{(B) } 729 \\qquad \\textbf{(C) } 1094 \\qquad \\textbf{(D) } 3281 \\qquad \\textbf{(E) } 59,048</span> </p>&#10;<hr><p>Full credit goes to <a href=\"https://maa.org/\">MAA</a> for authoring these problems. These problems were taken on the <a href=\"https://artofproblemsolving.com/\">AOPS</a> website.</p>", "hints_md": "", "hints_html": "", "editorial_md": "", "editorial_html": "", "flag_hint": "", "point_value": 3, "problem_name": "2018 AMC 12A Problem 13", "can_next": true, "can_prev": true, "nxt": "/problem/18_amc12A_p14", "prev": "/problem/18_amc12A_p12"}}