{"status": "success", "data": {"description_md": "A square is drawn in the Cartesian coordinate plane with vertices at $(2, 2)$, $(-2, 2)$, $(-2, -2)$, $(2, -2)$. A particle starts at $(0,0)$. Every second it moves with equal probability to one of the eight lattice points (points with integer coordinates) closest to its current position, independently of its previous moves. In other words, the probability is $1/8$ that the particle will move from $(x, y)$ to each of $(x, y + 1)$, $(x + 1, y + 1)$, $(x + 1, y)$, $(x + 1, y - 1)$, $(x, y - 1)$, $(x - 1, y - 1)$, $(x - 1, y)$, or $(x - 1, y + 1)$. The particle will eventually hit the square for the first time, either at one of the 4 corners of the square or at one of the 12 lattice points in the interior of one of the sides of the square. The probability that it will hit at a corner rather than at an interior point of a side is $m/n$, where $m$ and $n$ are relatively prime positive integers. What is $m + n$?\n\n$\\textbf{(A)}\\ 4 \\qquad \\textbf{(B)}\\ 5 \\qquad\\textbf{(C)}\\ 7 \\qquad\\textbf{(D)}\\ 15 \\qquad\\textbf{(E)}\\ 39$\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>A square is drawn in the Cartesian coordinate plane with vertices at  <span class=\"katex--inline\">(2, 2)</span> ,  <span class=\"katex--inline\">(-2, 2)</span> ,  <span class=\"katex--inline\">(-2, -2)</span> ,  <span class=\"katex--inline\">(2, -2)</span> . A particle starts at  <span class=\"katex--inline\">(0,0)</span> . Every second it moves with equal probability to one of the eight lattice points (points with integer coordinates) closest to its current position, independently of its previous moves. In other words, the probability is  <span class=\"katex--inline\">1/8</span>  that the particle will move from  <span class=\"katex--inline\">(x, y)</span>  to each of  <span class=\"katex--inline\">(x, y + 1)</span> ,  <span class=\"katex--inline\">(x + 1, y + 1)</span> ,  <span class=\"katex--inline\">(x + 1, y)</span> ,  <span class=\"katex--inline\">(x + 1, y - 1)</span> ,  <span class=\"katex--inline\">(x, y - 1)</span> ,  <span class=\"katex--inline\">(x - 1, y - 1)</span> ,  <span class=\"katex--inline\">(x - 1, y)</span> , or  <span class=\"katex--inline\">(x - 1, y + 1)</span> . The particle will eventually hit the square for the first time, either at one of the 4 corners of the square or at one of the 12 lattice points in the interior of one of the sides of the square. The probability that it will hit at a corner rather than at an interior point of a side is  <span class=\"katex--inline\">m/n</span> , where  <span class=\"katex--inline\">m</span>  and  <span class=\"katex--inline\">n</span>  are relatively prime positive integers. What is  <span class=\"katex--inline\">m + n</span> ?</p>&#10;<p> <span class=\"katex--inline\">\\textbf{(A)}\\ 4 \\qquad \\textbf{(B)}\\ 5 \\qquad\\textbf{(C)}\\ 7 \\qquad\\textbf{(D)}\\ 15 \\qquad\\textbf{(E)}\\ 39</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": 5, "problem_name": "2017 AMC 12A Problem 22", "can_next": true, "can_prev": true, "nxt": "/problem/17_amc12A_p23", "prev": "/problem/17_amc12A_p21"}}