{"year": "2014", "tier": "T2", "problem_label": "1", "problem_type": null, "exam": "Nordic_MO", "problem": "Find all functions $f: \\mathbb{N} \\rightarrow \\mathbb{N}$ (where $\\mathbb{N}$ is the set of the natural numbers and is assumed to contain 0 ), such that\n\n$$\nf\\left(x^{2}\\right)-f\\left(y^{2}\\right)=f(x+y) f(x-y)\n$$\n\nfor all $x, y \\in \\mathbb{N}$ with $x \\geq y$.", "solution": "It is easily seen that both $f(x)=x$ and $f \\equiv 0$ solve the equation; we shall show that there are no other solutions.\n\nSetting $x=y=0$ gives $f(0)=0$; if only $y=0$ we get $f\\left(x^{2}\\right)=(f(x))^{2}$, for all admissible $x$. For $x=1$ we now get $f(1)=0$, or $f(1)=1$.\n\nCase 1. $f(1)=0$ : We have\n\n$$\nf\\left((x+1)^{2}\\right)-f\\left(x^{2}\\right)=f(2 x+1) \\cdot f(1)=0=(f(x+1))^{2}-(f(x))^{2}\n$$\n\nso that $f(x+1)=f(x)$ for all $x$, and it follows that $f \\equiv 0$.\n\nCase 2. $f(1)=1$ : Denote $f(2)=a$. We have\n\n$$\n(f(2))^{2}-1=f\\left(2^{2}\\right)-f\\left(1^{2}\\right)=f(3) \\cdot f(1)\n$$\n\nso that $f(3)=a^{2}-1$. Obviously $f(4)=a^{2}$, and $x=3, y=1$ now give\n\n$$\n\\left(a^{2}-1\\right)^{2}-1=a^{3}\n$$\n\nso that $a=0$ or $a=2$, since $a$ cannot be negative. If $f(2)=0$, then $f(3)=0-1$, which is impossible. Thus we have $a=2$. The fact that $f(n)=n$ for all $n \\in \\mathbb{N}$ is now easy to establish using induction.", "metadata": {"resource_path": "Nordic_MO/segmented/en-2014-sol.jsonl", "problem_match": "\n## Problem 1", "solution_match": "1"}} {"year": "2014", "tier": "T2", "problem_label": "2", "problem_type": null, "exam": "Nordic_MO", "problem": "Given an equilateral triangle, find all points inside the triangle such that the distance from the point to one of the sides is equal to the geometric mean of the distances from the point to the other two sides of the triangle.\n\n[The geometric mean of two numbers $x$ and $y$ equals $\\sqrt{x y}$.]", "solution": "Let $P$ be a point inside $\\triangle A B C$. Denote its orthogonal projections on $A B, B C, C A$ by $X, Y, Z$, respectively. We have $\\angle X P Z=\\angle Y P X=120^{\\circ}$.\n\nAssume that $P X^{2}=P Y \\cdot P Z$. Together with $\\angle X P Z=\\angle Y P X=120^{\\circ}$, this gives $\\triangle X P Z \\sim \\triangle Y P X$ (s-a-s). It means that $\\angle P Z X=\\angle P X Y$. The quadrilaterals $A X P Z$ and $B Y P X$ are circumscribed, and we get $\\angle P A X=\\angle P B Y$, so that $\\angle P A B+\\angle P B A=60^{\\circ}$. We now have $\\angle A P B=120^{\\circ}$, meaning that $P$ lies on an arc inside the triangle, which is part of the circle through $A, B$, and the centre of the triangle.\n\nThe above argument can be reversed to see that all points on this arc satisfy the condition.\n\nThe set of all points as described is thus the union of three arcs, each of them passing through two of the vertices and through the centre of the triangle.\n![](https://cdn.mathpix.com/cropped/2024_06_06_bd305b3b5f5211cc345ag-2.jpg?height=444&width=1096&top_left_y=2187&top_left_x=544)\n\nRemark: It is also possible to solve this by introducing a coordinate system and deriving equations for the locus of $P$.", "metadata": {"resource_path": "Nordic_MO/segmented/en-2014-sol.jsonl", "problem_match": "\n## Problem 2", "solution_match": "2"}} {"year": "2014", "tier": "T2", "problem_label": "3", "problem_type": null, "exam": "Nordic_MO", "problem": "Find all nonnegative integers $a, b, c$, such that\n\n$$\n\\sqrt{a}+\\sqrt{b}+\\sqrt{c}=\\sqrt{2014}\n$$", "solution": "We start with a lemma:\n\nLemma. If $p, q$ are nonnegative integers and $\\sqrt{p}+\\sqrt{q}=r \\in \\mathbb{Q}$, then $p$ and $q$ are squares of integers.\n\nProof of lemma: If $r=0$, then $p=q=0$. For $r \\neq 0$, take the square of both sides to get $p+q+2 \\sqrt{p q}=r^{2}$, which means that $\\sqrt{p q} \\in \\mathbb{Q}$, so that $p q$ must be the square of a rational number, and, being an integer, it must be the square of an integer. Denote $p q=s^{2}, s \\geq 0$. Then $p=\\frac{s^{2}}{q}$, and\n\n$$\nr=\\sqrt{p}+\\sqrt{q}=\\frac{s}{\\sqrt{q}}+\\sqrt{q}\n$$\n\nwhich implies that $\\sqrt{q}=\\frac{s+q}{r} \\in \\mathbb{Q}$, and it follows that $q$ is a square. Then $p$ must also be a square.\n\nBack to the problem: we can rewrite the equation as\n\n$$\na+b+2 \\sqrt{a b}=2014+c-2 \\sqrt{2014 c}\n$$\n\nso that\n\n$$\n\\sqrt{a b}+\\sqrt{2014 c} \\in \\mathbb{Q}\n$$\n\nThe lemma now tells us that $a b$ and $2014 c$ need to be squares of integers. Since $2014=2 \\cdot 19 \\cdot 53$, we must have $c=2014 m^{2}$ for some nonnegative integer $m$. Similarly, $a=2014 k^{2}, b=2014 l^{2}$. The equation now implies\n\n$$\nk+l+m=1\n$$\n\nso that the only possibilities are $(2014,0,0),(0,2014,0),(0,0,2014)$.", "metadata": {"resource_path": "Nordic_MO/segmented/en-2014-sol.jsonl", "problem_match": "\n## Problem 3", "solution_match": "3"}} {"year": "2014", "tier": "T2", "problem_label": "4", "problem_type": null, "exam": "Nordic_MO", "problem": "A game is played on an $n \\times n$ chessboard. At the beginning there are 99 stones on each square. Two players $A$ and $B$ take turns, where in each turn the player chooses either a row or a column and removes one stone from each square in the chosen row or column. They are only allowed to choose a row or a column, if it has least one stone on each square. The first player who cannot move, looses the game. Player $A$ takes the first turn. Determine all $n$ for which player $A$ has a winning strategy.", "solution": "Player $A$ has a winning strategy if and only if $n$ is odd.\n\nFirst we prove that no matter how they play, the play will not end before the board is empty. Let $(i, j)$ denote the square in row $i$ and column $j$, let $r_{i}$ denote the number of times row $i$ has been chosen when the game ends, and let $c_{j}$ denote the same for columns. Assume by contradiction that there is a none empty square $(a, b)$ when no more moves are possible. Hence there is an empty square in row $a$, let us say $(a, c)$, and an empty square in column $b$, let us say $(d, b)$. This shows that $r_{a}+c_{b}<99, r_{a}+c_{c}=99$ and $r_{d}+c_{b}=99$. But this leads to $r_{d}+c_{c}>99$ which is impossible since there are exactly 99 stones on square $(d, c)$ when the game begins.\n\nThis shows that the game will end after $\\frac{n \\times n \\times 99}{99}=n \\times n$ moves since each player removes 99 stones in each move. The number $n \\times n$ has the same parity as $n$, and hence $A$ wins if $n$ is odd and $B$ wins if $n$ is even no matter how they play.\n\nRemark: It can by shown that player $B$ has a winning strategy when $n$ is even in a very different way: If player $B$ copies the choice of $A$, i.e. when $A$ chooses row $m, B$ chooses row $n-m$, and the same for columns, then player $B$ wins when $n$ is even.", "metadata": {"resource_path": "Nordic_MO/segmented/en-2014-sol.jsonl", "problem_match": "\n## Problem 4", "solution_match": "4"}}