{"status": "success", "data": {"description_md": "There is a set of 1000 switches, each of which has four positions, called $A, B, C,$ and $D.$ When the position of any switch changes, it is only from $A$ to $B,$ from $B$ to $C,$ from $C$ to $D,$ or from $D$ to $A.$ Initially each switch is in position $A.$ The switches are labeled with the 1000 different integers $2^x3^y5^z,$ where $x, y,$ and $z$ take on the values $0, 1, \\ldots, 9.$ At step $i$ of a 1000-step process, the $i$th switch is advanced one step, and so are all the other switches whose labels divide the label on the $i$th switch. After step 1000 has been completed, how many switches will be in position $A$?\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>There is a set of 1000 switches, each of which has four positions, called <span class=\"katex--inline\">A, B, C,</span> and <span class=\"katex--inline\">D.</span> When the position of any switch changes, it is only from <span class=\"katex--inline\">A</span> to <span class=\"katex--inline\">B,</span> from <span class=\"katex--inline\">B</span> to <span class=\"katex--inline\">C,</span> from <span class=\"katex--inline\">C</span> to <span class=\"katex--inline\">D,</span> or from <span class=\"katex--inline\">D</span> to <span class=\"katex--inline\">A.</span> Initially each switch is in position <span class=\"katex--inline\">A.</span> The switches are labeled with the 1000 different integers <span class=\"katex--inline\">2^x3^y5^z,</span> where <span class=\"katex--inline\">x, y,</span> and <span class=\"katex--inline\">z</span> take on the values <span class=\"katex--inline\">0, 1, \\ldots, 9.</span> At step <span class=\"katex--inline\">i</span> of a 1000-step process, the <span class=\"katex--inline\">i</span>th switch is advanced one step, and so are all the other switches whose labels divide the label on the <span class=\"katex--inline\">i</span>th switch. After step 1000 has been completed, how many switches will be in position <span class=\"katex--inline\">A</span>?</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": 4, "problem_name": "1999 AIME Problem 7", "can_next": true, "can_prev": true, "nxt": "/problem/99_aime_p08", "prev": "/problem/99_aime_p06"}}