{"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,$$\nwhere $a_i\\in \\{-1,0,1\\}$ for $0\\le i \\le 7$?\n\n$\\textbf{(A) } 512 \\qquad \n\\textbf{(B) } 729 \\qquad \n\\textbf{(C) } 1094 \\qquad \n\\textbf{(D) } 3281 \\qquad \n\\textbf{(E) } 59,048$", "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/>\nwhere  <span class=\"katex--inline\">a_i\\in \\{-1,0,1\\}</span>  for  <span class=\"katex--inline\">0\\le i \\le 7</span> ?</p>\n<p> <span class=\"katex--inline\">\\textbf{(A) } 512 \\qquad \n\\textbf{(B) } 729 \\qquad \n\\textbf{(C) } 1094 \\qquad \n\\textbf{(D) } 3281 \\qquad \n\\textbf{(E) } 59,048</span> </p>\n<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 10A Problem 18", "can_next": true, "can_prev": true, "nxt": "/problem/18_amc10A_p19", "prev": "/problem/18_amc10A_p17"}}