{"status": "success", "data": {"description_md": "A sequence of positive integers with $a_1=1$ and $a_9+a_{10}=646$ is formed so that the first three terms are in geometric progression, the second, third, and fourth terms are in arithmetic progression, and, in general, for all $n\\ge1$, the terms $a_{2n-1}$, $a_{2n}$, $a_{2n+1}$ are in geometric progression, and the terms $a_{2n}$, $a_{2n+1}$, and $a_{2n+2}$ are in arithmetic progression. Let $a_n$ be the greatest term in this sequence that is less than 1000. Find $n+a_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>A sequence of positive integers with <span class=\"katex--inline\">a_1=1</span> and <span class=\"katex--inline\">a_9+a_{10}=646</span> is formed so that the first three terms are in geometric progression, the second, third, and fourth terms are in arithmetic progression, and, in general, for all <span class=\"katex--inline\">n\\ge1</span>, the terms <span class=\"katex--inline\">a_{2n-1}</span>, <span class=\"katex--inline\">a_{2n}</span>, <span class=\"katex--inline\">a_{2n+1}</span> are in geometric progression, and the terms <span class=\"katex--inline\">a_{2n}</span>, <span class=\"katex--inline\">a_{2n+1}</span>, and <span class=\"katex--inline\">a_{2n+2}</span> are in arithmetic progression. Let <span class=\"katex--inline\">a_n</span> be the greatest term in this sequence that is less than 1000. Find <span class=\"katex--inline\">n+a_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": 4, "problem_name": "2004 AIME II Problem 9", "can_next": true, "can_prev": true, "nxt": "/problem/04_aime_II_p10", "prev": "/problem/04_aime_II_p08"}}