{"status": "success", "data": {"description_md": "Let $A_1 A_2 A_3 A_4 A_5 A_6 A_7 A_8$ be a regular octagon. Let $M_1$, $M_3$, $M_5$, and $M_7$ be the midpoints of sides $\\overline{A_1 A_2}$, $\\overline{A_3 A_4}$, $\\overline{A_5 A_6}$, and $\\overline{A_7 A_8}$, respectively. For $i = 1, 3, 5, 7$, ray $R_i$ is constructed from $M_i$ towards the interior of the octagon such that $R_1 \\perp R_3$, $R_3 \\perp R_5$, $R_5 \\perp R_7$, and $R_7 \\perp R_1$. Pairs of rays $R_1$ and $R_3$, $R_3$ and $R_5$, $R_5$ and $R_7$, and $R_7$ and $R_1$ meet at $B_1$, $B_3$, $B_5$, $B_7$ respectively. If $B_1 B_3 = A_1 A_2$, then $\\cos 2 \\angle A_3 M_3 B_1$ can be written in the form $m - \\sqrt{n}$, where $m$ and $n$ are positive integers. Find $m + n$.\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>Let <span class=\"katex--inline\">A_1 A_2 A_3 A_4 A_5 A_6 A_7 A_8</span> be a regular octagon. Let <span class=\"katex--inline\">M_1</span>, <span class=\"katex--inline\">M_3</span>, <span class=\"katex--inline\">M_5</span>, and <span class=\"katex--inline\">M_7</span> be the midpoints of sides <span class=\"katex--inline\">\\overline{A_1 A_2}</span>, <span class=\"katex--inline\">\\overline{A_3 A_4}</span>, <span class=\"katex--inline\">\\overline{A_5 A_6}</span>, and <span class=\"katex--inline\">\\overline{A_7 A_8}</span>, respectively. For <span class=\"katex--inline\">i = 1, 3, 5, 7</span>, ray <span class=\"katex--inline\">R_i</span> is constructed from <span class=\"katex--inline\">M_i</span> towards the interior of the octagon such that <span class=\"katex--inline\">R_1 \\perp R_3</span>, <span class=\"katex--inline\">R_3 \\perp R_5</span>, <span class=\"katex--inline\">R_5 \\perp R_7</span>, and <span class=\"katex--inline\">R_7 \\perp R_1</span>. Pairs of rays <span class=\"katex--inline\">R_1</span> and <span class=\"katex--inline\">R_3</span>, <span class=\"katex--inline\">R_3</span> and <span class=\"katex--inline\">R_5</span>, <span class=\"katex--inline\">R_5</span> and <span class=\"katex--inline\">R_7</span>, and <span class=\"katex--inline\">R_7</span> and <span class=\"katex--inline\">R_1</span> meet at <span class=\"katex--inline\">B_1</span>, <span class=\"katex--inline\">B_3</span>, <span class=\"katex--inline\">B_5</span>, <span class=\"katex--inline\">B_7</span> respectively. If <span class=\"katex--inline\">B_1 B_3 = A_1 A_2</span>, then <span class=\"katex--inline\">\\cos 2 \\angle A_3 M_3 B_1</span> can be written in the form <span class=\"katex--inline\">m - \\sqrt{n}</span>, where <span class=\"katex--inline\">m</span> and <span class=\"katex--inline\">n</span> are positive integers. Find <span class=\"katex--inline\">m + n</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": 6, "problem_name": "2011 AIME I Problem 14", "can_next": true, "can_prev": true, "nxt": "/problem/11_aime_I_p15", "prev": "/problem/11_aime_I_p13"}}