{"status": "success", "data": {"description_md": "Define a $good~word$ as a sequence of letters that consists only of the letters $A,$ $B,$ and $C$ $-$ some of these letters may not appear in the sequence $-$ and in which $A$ is never immediately followed by $B,$ $B$ is never immediately followed by $C,$ and $C$ is never immediately followed by $A.$ How many seven-letter good words are there?\n___\nLeading zeroes must be inputted, so if your answer is `34`, then input `034`. Full 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>Define a <span class=\"katex--inline\">good~word</span> as a sequence of letters that consists only of the letters <span class=\"katex--inline\">A,</span> <span class=\"katex--inline\">B,</span> and <span class=\"katex--inline\">C</span> <span class=\"katex--inline\">-</span> some of these letters may not appear in the sequence <span class=\"katex--inline\">-</span> and in which <span class=\"katex--inline\">A</span> is never immediately followed by <span class=\"katex--inline\">B,</span> <span class=\"katex--inline\">B</span> is never immediately followed by <span class=\"katex--inline\">C,</span> and <span class=\"katex--inline\">C</span> is never immediately followed by <span class=\"katex--inline\">A.</span> How many seven-letter good words are there?</p>&#10;<hr><p>Leading zeroes must be inputted, so if your answer is <code>34</code>, then input <code>034</code>. 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": "2003 AIME II Problem 3", "can_next": true, "can_prev": true, "nxt": "/problem/03_aime_II_p04", "prev": "/problem/03_aime_II_p02"}}