{"year": "2013", "tier": "T2", "problem_label": "1", "problem_type": null, "exam": "Nordic_MO", "problem": "Let $\\left(a_{n}\\right)_{n \\geq 1}$ be a sequence with $a_{1}=1$ and\n\n$$\na_{n+1}=\\left\\lfloor a_{n}+\\sqrt{a_{n}}+\\frac{1}{2}\\right\\rfloor\n$$\n\nfor all $n \\geq 1$, where $\\lfloor x\\rfloor$ denotes the greatest integer less than or equal to $x$. Find all $n \\leq 2013$ such that $a_{n}$ is a perfect square.", "solution": "We will show by induction that $a_{n}=1+\\left\\lfloor\\frac{n}{2}\\right\\rfloor\\left\\lfloor\\frac{n+1}{2}\\right\\rfloor$, which is equivalent to $a_{2 m}=1+m^{2}$ and $a_{2 m+1}=1+m(m+1)$. Clearly this is true for $a_{1}$. If $a_{2 m+1}=1+m(m+1)$ then\n\n$$\na_{2 m+2}=\\left\\lfloor m^{2}+m+1+\\sqrt{m^{2}+m+1}+\\frac{1}{2}\\right\\rfloor\n$$\n\nand since $m+\\frac{1}{2}<\\sqrt{m^{2}+m+1}1$. Therefore $a_{1}=1$ is the only perfect square in the sequence.", "metadata": {"resource_path": "Nordic_MO/segmented/en-2013-sol.jsonl", "problem_match": "\n\nPRoblem 1.", "solution_match": "\n\nSolution."}} {"year": "2013", "tier": "T2", "problem_label": "2", "problem_type": null, "exam": "Nordic_MO", "problem": "In a football tournament there are $n$ teams, with $n \\geq 4$, and each pair of teams meets exactly once. Suppose that, at the end of the tournament, the final scores form an arithmetic sequence where each team scores 1 more point than the following team on the scoreboard. Determine the maximum possible score of the lowest scoring team, assuming usual scoring for football games (where the winner of a game gets 3 points, the loser 0 points, and if there is a tie both teams get 1 point).", "solution": "Note that the total number of games equals the number of different pairings, that is, $n(n-1) / 2$. Suppose the lowest scoring team ends with $k$ points. Then the total score for all teams is\n\n$$\nk+(k+1)+\\cdots+(k+n-1)=n k+\\frac{(n-1) n}{2}\n$$\n\nSome games must end in a tie, for otherwise, all team scores would be a multiple of 3 and cannot be 1 point apart. Since the total score of a tie is only 2 points compared to 3 points if one of the teams wins, we therefore know that\n\n$$\nn k+\\frac{(n-1) n}{2}<3 \\cdot \\frac{n(n-1)}{2}\n$$\n\nso $n k1$ when $k$ is even, and $q_{k}<1$ when $k \\geq 3$ is odd.\n\nWe will show the following by induction on $t=2,3,4, \\ldots$ :\n\nClaim: Every rational number $r / s$ where $r$, s are positive integers with $\\operatorname{gcd}(r, s)=$ 1 and $r+s \\leq t$ occurs precisely once among the numbers $q_{k}$.\n\nThe claim is clearly true for $t=2$, since then $r / s=1 / 1=1$ is the only possibility, and $q_{1}$ is the only occurrence of 1 in the sequence.\n\nNow, assume that $u \\geq 3$ and that the claim holds for $t=u-1$. Let $r$ and $s$ be positive integers with $\\operatorname{gcd}(r, s)=1$ and $r+s=u$.\n\nFirst, assume that $r>s$. We know that $r / s=q_{m}$ is only possible if $m$ is even. But\n\n$$\n\\frac{r}{s}=q_{2 k} \\Leftrightarrow \\frac{r-s}{s}=q_{k}\n$$\n\nby (1), and moreover, the latter equality holds for precisely one $k$ according to the induction hypothesis, since $\\operatorname{gcd}(r-s, s)=1$ and $(r-s)+s=r \\leq t$.\n\nNext, assume that $r