{"year": "2015", "tier": "T3", "problem_label": "1", "problem_type": null, "exam": "USAJMO", "problem": "Given a sequence of real numbers, a move consists of choosing two terms and replacing each with their arithmetic mean. Show that there exists a sequence of 2015 distinct real numbers such that after one initial move is applied to the sequence - no matter what move - there is always a way to continue with a finite sequence of moves so as to obtain in the end a constant sequence.", "solution": " One valid example of a sequence is $0,1, \\ldots, 2014$. We will show how to achieve the all-1007 sequence based on the first move. Say two numbers are opposites if their average is 1007 . We consider 1007 as its own opposite. We consider two cases: - First, suppose the first initial move did not involve the number 1007. Suppose the two numbers changed were $a$ and $b$, replaced by $c=\\frac{1}{2}(a+b)$ twice. - If $a$ and $b$ are opposites, we simply operate on all the other pairs of opposites. - Otherwise let $a^{\\prime}$ and $b^{\\prime}$ be the opposites of $a$ and $b$, so all four of $a, b, a^{\\prime}, b^{\\prime}$ are distinct. Then operate on $a^{\\prime}$ and $b^{\\prime}$ to get $c^{\\prime}=2014-c$. We work with only these four numbers ande replace them as follows: $$ \\begin{array}{cccc} \\frac{1}{2}(a+b) & \\frac{1}{2}(a+b) & a^{\\prime} & b^{\\prime} \\\\ \\frac{1}{2}(a+b) & \\frac{1}{2}(a+b) & \\frac{1}{2}\\left(a^{\\prime}+b^{\\prime}\\right) & \\frac{1}{2}\\left(a^{\\prime}+b^{\\prime}\\right) \\\\ 1007 & \\frac{1}{2}(a+b) & 1007 & \\frac{1}{2}\\left(a^{\\prime}+b^{\\prime}\\right) \\\\ 1007 & 1007 & 1007 & 1007 \\end{array} $$ Finally, we operate on the remaining 1005 pairs of opposites. - Now suppose the first initial move involved the number 1007 and some $a$. Let $k$ be any number other than $a$ or its opposite, and let $a^{\\prime}, k^{\\prime}$ be the opposites of $a$ and $k$. We work with only these five numbers: and replace them in the following way: $$ \\begin{array}{ccccc} \\frac{1}{2}(a+1007) & \\frac{1}{2}(a+1007) & a^{\\prime} & k & k^{\\prime} \\\\ \\frac{1}{2}(a+1007) & \\frac{1}{2}(a+1007) & a^{\\prime} & 1007 & 1007 \\\\ \\frac{1}{2}(a+1007) & \\frac{1}{2}(a+1007) & \\frac{1}{2}\\left(a^{\\prime}+1007\\right) & \\frac{1}{2}\\left(a^{\\prime}+1007\\right) & 1007 \\\\ 1007 & \\frac{1}{2}(a+1007) & 1007 & \\frac{1}{2}\\left(a^{\\prime}+1007\\right) & 1007 \\\\ 1007 & 1007 & 1007 & 1007 & 1007 \\end{array} $$ Finally, we operate on the remaining 1005 pairs of opposites. However for \"most\" sequences one expects the result to not be possible. As a simple example, the goal is impossible for $(0,1, \\ldots, 2013,2015)$ since the average of the terms is $1007+\\frac{1}{2015}$, but in the process the only denominators ever generated are powers of 2 . This narrows the search somewhat.", "metadata": {"resource_path": "USAJMO/segmented/en-JMO-2015-notes.jsonl"}} {"year": "2015", "tier": "T3", "problem_label": "2", "problem_type": null, "exam": "USAJMO", "problem": "Solve in integers the equation $$ x^{2}+x y+y^{2}=\\left(\\frac{x+y}{3}+1\\right)^{3} . $$", "solution": " We do the trick of setting $a=x+y$ and $b=x-y$. This rewrites the equation as $$ \\frac{1}{4}\\left((a+b)^{2}+(a+b)(a-b)+(a-b)^{2}\\right)=\\left(\\frac{a}{3}+1\\right)^{3} $$ where $a, b \\in \\mathbb{Z}$ have the same parity. This becomes $$ 3 a^{2}+b^{2}=4\\left(\\frac{a}{3}+1\\right)^{3} $$ which is enough to imply $3 \\mid a$, so let $a=3 c$. Miraculously, this becomes $$ b^{2}=(c-2)^{2}(4 c+1) $$ $$ x=\\frac{1}{8}\\left(3\\left(m^{2}-1\\right) \\pm\\left(m^{3}-9 m\\right)\\right) \\quad \\text { and } \\quad y=\\frac{1}{8}\\left(3\\left(m^{2}-1\\right) \\mp\\left(m^{3}-9 m\\right)\\right) . $$ For mod 8 reasons, this always generates a valid integer solution, so this is the complete curve of solutions. Actually, putting $m=2 n+1$ gives the much nicer curve $$ x=n^{3}+3 n^{2}-1 \\quad \\text { and } \\quad y=-n^{3}+3 n+1 $$ and permutations.", "metadata": {"resource_path": "USAJMO/segmented/en-JMO-2015-notes.jsonl"}} {"year": "2015", "tier": "T3", "problem_label": "3", "problem_type": null, "exam": "USAJMO", "problem": "Quadrilateral $A P B Q$ is inscribed in circle $\\omega$ with $\\angle P=\\angle Q=90^{\\circ}$ and $A P=$ $A Q