{"year": "2020", "tier": "T0", "problem_label": "A1", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Version 1. Let $n$ be a positive integer, and set $N=2^{n}$. Determine the smallest real number $a_{n}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant a_{n}(x-1)^{2}+x $$ Version 2. For every positive integer $N$, determine the smallest real number $b_{N}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant b_{N}(x-1)^{2}+x $$ (Ireland)", "solution": "1 (for Version 2). Like in First of all, $\\mathcal{I}(N, 0)$ is obvious. Further, if $x>0$, then the left hand sides of $\\mathcal{I}(N,-x)$ and $\\mathcal{I}(N, x)$ coincide, while the right hand side of $\\mathcal{I}(N,-x)$ is larger than that of $\\mathcal{I}(N,-x)$ (their difference equals $2(N-1) x \\geqslant 0)$. Therefore, $\\mathcal{I}(N,-x)$ follows from $\\mathcal{I}(N, x)$. So, hereafter we suppose that $x>0$. Divide $\\mathcal{I}(N, x)$ by $x$ and let $t=(x-1)^{2} / x=x-2+1 / x$; then $\\mathcal{I}(n, x)$ reads as $$ f_{N}:=\\frac{x^{N}+x^{-N}}{2} \\leqslant\\left(1+\\frac{N}{2} t\\right)^{N} $$ The key identity is the expansion of $f_{N}$ as a polynomial in $t$ :", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A1", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Version 1. Let $n$ be a positive integer, and set $N=2^{n}$. Determine the smallest real number $a_{n}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant a_{n}(x-1)^{2}+x $$ Version 2. For every positive integer $N$, determine the smallest real number $b_{N}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant b_{N}(x-1)^{2}+x $$ (Ireland)", "solution": "2 (for Version 2). Here we present another proof of the inequality (2) for $x>0$, or, equivalently, for $t=(x-1)^{2} / x \\geqslant 0$. Instead of finding the coefficients of the polynomial $f_{N}=f_{N}(t)$ we may find its roots, which is in a sense more straightforward. Note that the recurrence (4) and the initial conditions $f_{0}=1, f_{1}=1+t / 2$ imply that $f_{N}$ is a polynomial in $t$ of degree $N$. It also follows by induction that $f_{N}(0)=1, f_{N}^{\\prime}(0)=N^{2} / 2$ : the recurrence relations read as $f_{N+1}(0)+f_{N-1}(0)=2 f_{N}(0)$ and $f_{N+1}^{\\prime}(0)+f_{N-1}^{\\prime}(0)=2 f_{N}^{\\prime}(0)+f_{N}(0)$, respectively. Next, if $x_{k}=\\exp \\left(\\frac{i \\pi(2 k-1)}{2 N}\\right)$ for $k \\in\\{1,2, \\ldots, N\\}$, then $$ -t_{k}:=2-x_{k}-\\frac{1}{x_{k}}=2-2 \\cos \\frac{\\pi(2 k-1)}{2 N}=4 \\sin ^{2} \\frac{\\pi(2 k-1)}{4 N}>0 $$ and $$ f_{N}\\left(t_{k}\\right)=\\frac{x_{k}^{N}+x_{k}^{-N}}{2}=\\frac{\\exp \\left(\\frac{i \\pi(2 k-1)}{2}\\right)+\\exp \\left(-\\frac{i \\pi(2 k-1)}{2}\\right)}{2}=0 . $$ So the roots of $f_{N}$ are $t_{1}, \\ldots, t_{N}$ and by the AM-GM inequality we have $$ \\begin{aligned} f_{N}(t)=\\left(1-\\frac{t}{t_{1}}\\right)\\left(1-\\frac{t}{t_{2}}\\right) \\ldots\\left(1-\\frac{t}{t_{N}}\\right) & \\leqslant\\left(1-\\frac{t}{N}\\left(\\frac{1}{t_{1}}+\\ldots+\\frac{1}{t_{n}}\\right)\\right)^{N}= \\\\ \\left(1+\\frac{t f_{N}^{\\prime}(0)}{N}\\right)^{N} & =\\left(1+\\frac{N}{2} t\\right)^{N} \\end{aligned} $$ Comment. The polynomial $f_{N}(t)$ equals to $\\frac{1}{2} T_{N}(t+2)$, where $T_{n}$ is the $n^{\\text {th }}$ Chebyshev polynomial of the first kind: $T_{n}(2 \\cos s)=2 \\cos n s, T_{n}(x+1 / x)=x^{n}+1 / x^{n}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A1", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Version 1. Let $n$ be a positive integer, and set $N=2^{n}$. Determine the smallest real number $a_{n}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant a_{n}(x-1)^{2}+x $$ Version 2. For every positive integer $N$, determine the smallest real number $b_{N}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant b_{N}(x-1)^{2}+x $$ (Ireland)", "solution": "3 (for Version 2). Here we solve the problem when $N \\geqslant 1$ is an arbitrary real number. For a real number $a$ let $$ f(x)=\\left(\\frac{x^{2 N}+1}{2}\\right)^{\\frac{1}{N}}-a(x-1)^{2}-x $$ Then $f(1)=0$, $$ f^{\\prime}(x)=\\left(\\frac{x^{2 N}+1}{2}\\right)^{\\frac{1}{N}-1} x^{2 N-1}-2 a(x-1)-1 \\quad \\text { and } \\quad f^{\\prime}(1)=0 $$ $f^{\\prime \\prime}(x)=(1-N)\\left(\\frac{x^{2 N}+1}{2}\\right)^{\\frac{1}{N}-2} x^{4 N-2}+(2 N-1)\\left(\\frac{x^{2 N}+1}{2}\\right)^{\\frac{1}{N}-1} x^{2 N-2}-2 a \\quad$ and $\\quad f^{\\prime \\prime}(1)=N-2 a$. So if $a<\\frac{N}{2}$, the function $f$ has a strict local minimum at point 1 , and the inequality $f(x) \\leqslant$ $0=f(1)$ does not hold. This proves $b_{N} \\geqslant N / 2$. For $a=\\frac{N}{2}$ we have $f^{\\prime \\prime}(1)=0$ and $$ f^{\\prime \\prime \\prime}(x)=\\frac{1}{2}(1-N)(1-2 N)\\left(\\frac{x^{2 N}+1}{2}\\right)^{\\frac{1}{N}-3} x^{2 N-3}\\left(1-x^{2 N}\\right) \\quad \\begin{cases}>0 & \\text { if } 01\\end{cases} $$ Hence, $f^{\\prime \\prime}(x)<0$ for $x \\neq 1 ; f^{\\prime}(x)>0$ for $x<1$ and $f^{\\prime}(x)<0$ for $x>1$, finally $f(x)<0$ for $x \\neq 1$. Comment. Version 2 is much more difficult, of rather A5 or A6 difficulty. The induction in Version 1 is rather straightforward, while all three above solutions of Version 2 require some creativity. This page is intentionally left blank", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A2", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $\\mathcal{A}$ denote the set of all polynomials in three variables $x, y, z$ with integer coefficients. Let $\\mathcal{B}$ denote the subset of $\\mathcal{A}$ formed by all polynomials which can be expressed as $$ (x+y+z) P(x, y, z)+(x y+y z+z x) Q(x, y, z)+x y z R(x, y, z) $$ with $P, Q, R \\in \\mathcal{A}$. Find the smallest non-negative integer $n$ such that $x^{i} y^{j} z^{k} \\in \\mathcal{B}$ for all nonnegative integers $i, j, k$ satisfying $i+j+k \\geqslant n$. (Venezuela)", "solution": "We start by showing that $n \\leqslant 4$, i.e., any monomial $f=x^{i} y^{j} z^{k}$ with $i+j+k \\geqslant 4$ belongs to $\\mathcal{B}$. Assume that $i \\geqslant j \\geqslant k$, the other cases are analogous. Let $x+y+z=p, x y+y z+z x=q$ and $x y z=r$. Then $$ 0=(x-x)(x-y)(x-z)=x^{3}-p x^{2}+q x-r $$ therefore $x^{3} \\in \\mathcal{B}$. Next, $x^{2} y^{2}=x y q-(x+y) r \\in \\mathcal{B}$. If $k \\geqslant 1$, then $r$ divides $f$, thus $f \\in \\mathcal{B}$. If $k=0$ and $j \\geqslant 2$, then $x^{2} y^{2}$ divides $f$, thus we have $f \\in \\mathcal{B}$ again. Finally, if $k=0, j \\leqslant 1$, then $x^{3}$ divides $f$ and $f \\in \\mathcal{B}$ in this case also. In order to prove that $n \\geqslant 4$, we show that the monomial $x^{2} y$ does not belong to $\\mathcal{B}$. Assume the contrary: $$ x^{2} y=p P+q Q+r R $$ for some polynomials $P, Q, R$. If polynomial $P$ contains the monomial $x^{2}$ (with nonzero coefficient), then $p P+q Q+r R$ contains the monomial $x^{3}$ with the same nonzero coefficient. So $P$ does not contain $x^{2}, y^{2}, z^{2}$ and we may write $$ x^{2} y=(x+y+z)(a x y+b y z+c z x)+(x y+y z+z x)(d x+e y+f z)+g x y z $$ where $a, b, c ; d, e, f ; g$ are the coefficients of $x y, y z, z x ; x, y, z ; x y z$ in the polynomials $P$; $Q ; R$, respectively (the remaining coefficients do not affect the monomials of degree 3 in $p P+q Q+r R)$. By considering the coefficients of $x y^{2}$ we get $e=-a$, analogously $e=-b$, $f=-b, f=-c, d=-c$, thus $a=b=c$ and $f=e=d=-a$, but then the coefficient of $x^{2} y$ in the right hand side equals $a+d=0 \\neq 1$. Comment 1. The general question is the following. Call a polynomial $f\\left(x_{1}, \\ldots, x_{n}\\right)$ with integer coefficients nice, if $f(0,0, \\ldots, 0)=0$ and $f\\left(x_{\\pi_{1}}, \\ldots, x_{\\pi_{n}}\\right)=f\\left(x_{1}, \\ldots, x_{n}\\right)$ for any permutation $\\pi$ of $1, \\ldots, n$ (in other words, $f$ is symmetric and its constant term is zero.) Denote by $\\mathcal{I}$ the set of polynomials of the form $$ p_{1} q_{1}+p_{2} q_{2}+\\ldots+p_{m} q_{m} $$ where $m$ is an integer, $q_{1}, \\ldots, q_{m}$ are polynomials with integer coefficients, and $p_{1}, \\ldots, p_{m}$ are nice polynomials. Find the least $N$ for which any monomial of degree at least $N$ belongs to $\\mathcal{I}$. The answer is $n(n-1) / 2+1$. The lower bound follows from the following claim: the polynomial $$ F\\left(x_{1}, \\ldots, x_{n}\\right)=x_{2} x_{3}^{2} x_{4}^{3} \\cdot \\ldots \\cdot x_{n}^{n-1} $$ does not belong to $\\mathcal{I}$. Assume that $F=\\sum p_{i} q_{i}$, according to (2). By taking only the monomials of degree $n(n-1) / 2$, we can additionally assume that every $p_{i}$ and every $q_{i}$ is homogeneous, $\\operatorname{deg} p_{i}>0$, and $\\operatorname{deg} p_{i}+\\operatorname{deg} q_{i}=$ $\\operatorname{deg} F=n(n-1) / 2$ for all $i$. Consider the alternating sum $$ \\sum_{\\pi} \\operatorname{sign}(\\pi) F\\left(x_{\\pi_{1}}, \\ldots, x_{\\pi_{n}}\\right)=\\sum_{i=1}^{m} p_{i} \\sum_{\\pi} \\operatorname{sign}(\\pi) q_{i}\\left(x_{\\pi_{1}}, \\ldots, x_{\\pi_{n}}\\right):=S $$ where the summation is done over all permutations $\\pi$ of $1, \\ldots n$, and $\\operatorname{sign}(\\pi)$ denotes the sign of the permutation $\\pi$. Since $\\operatorname{deg} q_{i}=n(n-1) / 2-\\operatorname{deg} p_{i}1$ and that the proposition is proved for smaller values of $n$. We proceed by an internal induction on $S:=\\left|\\left\\{i: c_{i}=0\\right\\}\\right|$. In the base case $S=0$ the monomial $h$ is divisible by the nice polynomial $x_{1} \\cdot \\ldots x_{n}$, therefore $h \\in \\mathcal{I}$. Now assume that $S>0$ and that the claim holds for smaller values of $S$. Let $T=n-S$. We may assume that $c_{T+1}=\\ldots=c_{n}=0$ and $h=x_{1} \\cdot \\ldots \\cdot x_{T} g\\left(x_{1}, \\ldots, x_{n-1}\\right)$, where $\\operatorname{deg} g=n(n-1) / 2-T+1 \\geqslant(n-1)(n-2) / 2+1$. Using the outer induction hypothesis we represent $g$ as $p_{1} q_{1}+\\ldots+p_{m} q_{m}$, where $p_{i}\\left(x_{1}, \\ldots, x_{n-1}\\right)$ are nice polynomials in $n-1$ variables. There exist nice homogeneous polynomials $P_{i}\\left(x_{1}, \\ldots, x_{n}\\right)$ such that $P_{i}\\left(x_{1}, \\ldots, x_{n-1}, 0\\right)=p_{i}\\left(x_{1}, \\ldots, x_{n-1}\\right)$. In other words, $\\Delta_{i}:=p_{i}\\left(x_{1}, \\ldots, x_{n-1}\\right)-P_{i}\\left(x_{1}, \\ldots, x_{n-1}, x_{n}\\right)$ is divisible by $x_{n}$, let $\\Delta_{i}=x_{n} g_{i}$. We get $$ h=x_{1} \\cdot \\ldots \\cdot x_{T} \\sum p_{i} q_{i}=x_{1} \\cdot \\ldots \\cdot x_{T} \\sum\\left(P_{i}+x_{n} g_{i}\\right) q_{i}=\\left(x_{1} \\cdot \\ldots \\cdot x_{T} x_{n}\\right) \\sum g_{i} q_{i}+\\sum P_{i} q_{i} \\in \\mathcal{I} $$ The first term belongs to $\\mathcal{I}$ by the inner induction hypothesis. This completes both inductions. Comment 2. The solutions above work smoothly for the versions of the original problem and its extensions to the case of $n$ variables, where all polynomials are assumed to have real coefficients. In the version with integer coefficients, the argument showing that $x^{2} y \\notin \\mathcal{B}$ can be simplified: it is not hard to show that in every polynomial $f \\in \\mathcal{B}$, the sum of the coefficients of $x^{2} y, x^{2} z, y^{2} x, y^{2} z, z^{2} x$ and $z^{2} y$ is even. A similar fact holds for any number of variables and also implies that $N \\geqslant n(n-1) / 2+1$ in terms of the previous comment.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A3", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Suppose that $a, b, c, d$ are positive real numbers satisfying $(a+c)(b+d)=a c+b d$. Find the smallest possible value of $$ \\frac{a}{b}+\\frac{b}{c}+\\frac{c}{d}+\\frac{d}{a} $$", "solution": "To show that $S \\geqslant 8$, apply the AM-GM inequality twice as follows: $$ \\left(\\frac{a}{b}+\\frac{c}{d}\\right)+\\left(\\frac{b}{c}+\\frac{d}{a}\\right) \\geqslant 2 \\sqrt{\\frac{a c}{b d}}+2 \\sqrt{\\frac{b d}{a c}}=\\frac{2(a c+b d)}{\\sqrt{a b c d}}=\\frac{2(a+c)(b+d)}{\\sqrt{a b c d}} \\geqslant 2 \\cdot \\frac{2 \\sqrt{a c} \\cdot 2 \\sqrt{b d}}{\\sqrt{a b c d}}=8 . $$ The above inequalities turn into equalities when $a=c$ and $b=d$. Then the condition $(a+c)(b+d)=a c+b d$ can be rewritten as $4 a b=a^{2}+b^{2}$. So it is satisfied when $a / b=2 \\pm \\sqrt{3}$. Hence, $S$ attains value 8 , e.g., when $a=c=1$ and $b=d=2+\\sqrt{3}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A3", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Suppose that $a, b, c, d$ are positive real numbers satisfying $(a+c)(b+d)=a c+b d$. Find the smallest possible value of $$ \\frac{a}{b}+\\frac{b}{c}+\\frac{c}{d}+\\frac{d}{a} $$", "solution": "By homogeneity we may suppose that $a b c d=1$. Let $a b=C, b c=A$ and $c a=B$. Then $a, b, c$ can be reconstructed from $A, B$ and $C$ as $a=\\sqrt{B C / A}, b=\\sqrt{A C / B}$ and $c=\\sqrt{A B / C}$. Moreover, the condition $(a+c)(b+d)=a c+b d$ can be written in terms of $A, B, C$ as $$ A+\\frac{1}{A}+C+\\frac{1}{C}=b c+a d+a b+c d=(a+c)(b+d)=a c+b d=B+\\frac{1}{B} . $$ We then need to minimize the expression $$ \\begin{aligned} S & :=\\frac{a d+b c}{b d}+\\frac{a b+c d}{a c}=\\left(A+\\frac{1}{A}\\right) B+\\left(C+\\frac{1}{C}\\right) \\frac{1}{B} \\\\ & =\\left(A+\\frac{1}{A}\\right)\\left(B-\\frac{1}{B}\\right)+\\left(A+\\frac{1}{A}+C+\\frac{1}{C}\\right) \\frac{1}{B} \\\\ & =\\left(A+\\frac{1}{A}\\right)\\left(B-\\frac{1}{B}\\right)+\\left(B+\\frac{1}{B}\\right) \\frac{1}{B} . \\end{aligned} $$ Without loss of generality assume that $B \\geqslant 1$ (otherwise, we may replace $B$ by $1 / B$ and swap $A$ and $C$, this changes neither the relation nor the function to be maximized). Therefore, we can write $$ S \\geqslant 2\\left(B-\\frac{1}{B}\\right)+\\left(B+\\frac{1}{B}\\right) \\frac{1}{B}=2 B+\\left(1-\\frac{1}{B}\\right)^{2}=: f(B) $$ Clearly, $f$ increases on $[1, \\infty)$. Since $$ B+\\frac{1}{B}=A+\\frac{1}{A}+C+\\frac{1}{C} \\geqslant 4, $$ we have $B \\geqslant B^{\\prime}$, where $B^{\\prime}=2+\\sqrt{3}$ is the unique root greater than 1 of the equation $B^{\\prime}+1 / B^{\\prime}=4$. Hence, $$ S \\geqslant f(B) \\geqslant f\\left(B^{\\prime}\\right)=2\\left(B^{\\prime}-\\frac{1}{B^{\\prime}}\\right)+\\left(B^{\\prime}+\\frac{1}{B^{\\prime}}\\right) \\frac{1}{B^{\\prime}}=2 B^{\\prime}-\\frac{2}{B^{\\prime}}+\\frac{4}{B^{\\prime}}=8 $$ It remains to note that when $A=C=1$ and $B=B^{\\prime}$ we have the equality $S=8$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A3", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Suppose that $a, b, c, d$ are positive real numbers satisfying $(a+c)(b+d)=a c+b d$. Find the smallest possible value of $$ \\frac{a}{b}+\\frac{b}{c}+\\frac{c}{d}+\\frac{d}{a} $$", "solution": "We present another proof of the inequality $S \\geqslant 8$. We start with the estimate $$ \\left(\\frac{a}{b}+\\frac{c}{d}\\right)+\\left(\\frac{b}{c}+\\frac{d}{a}\\right) \\geqslant 2 \\sqrt{\\frac{a c}{b d}}+2 \\sqrt{\\frac{b d}{a c}} $$ Let $y=\\sqrt{a c}$ and $z=\\sqrt{b d}$, and assume, without loss of generality, that $a c \\geqslant b d$. By the AM-GM inequality, we have $$ y^{2}+z^{2}=a c+b d=(a+c)(b+d) \\geqslant 2 \\sqrt{a c} \\cdot 2 \\sqrt{b d}=4 y z . $$ Substituting $x=y / z$, we get $4 x \\leqslant x^{2}+1$. For $x \\geqslant 1$, this holds if and only if $x \\geqslant 2+\\sqrt{3}$. Now we have $$ 2 \\sqrt{\\frac{a c}{b d}}+2 \\sqrt{\\frac{b d}{a c}}=2\\left(x+\\frac{1}{x}\\right) . $$ Clearly, this is minimized by setting $x(\\geqslant 1)$ as close to 1 as possible, i.e., by taking $x=2+\\sqrt{3}$. Then $2(x+1 / x)=2((2+\\sqrt{3})+(2-\\sqrt{3}))=8$, as required.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A4", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $a, b, c, d$ be four real numbers such that $a \\geqslant b \\geqslant c \\geqslant d>0$ and $a+b+c+d=1$. Prove that $$ (a+2 b+3 c+4 d) a^{a} b^{b} c^{c} d^{d}<1 $$ (Belgium)", "solution": "The weighted AM-GM inequality with weights $a, b, c, d$ gives $$ a^{a} b^{b} c^{c} d^{d} \\leqslant a \\cdot a+b \\cdot b+c \\cdot c+d \\cdot d=a^{2}+b^{2}+c^{2}+d^{2} $$ so it suffices to prove that $(a+2 b+3 c+4 d)\\left(a^{2}+b^{2}+c^{2}+d^{2}\\right)<1=(a+b+c+d)^{3}$. This can be done in various ways, for example: $$ \\begin{aligned} (a+b+c+d)^{3}> & a^{2}(a+3 b+3 c+3 d)+b^{2}(3 a+b+3 c+3 d) \\\\ & \\quad+c^{2}(3 a+3 b+c+3 d)+d^{2}(3 a+3 b+3 c+d) \\\\ \\geqslant & \\left(a^{2}+b^{2}+c^{2}+d^{2}\\right) \\cdot(a+2 b+3 c+4 d) \\end{aligned} $$", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A4", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $a, b, c, d$ be four real numbers such that $a \\geqslant b \\geqslant c \\geqslant d>0$ and $a+b+c+d=1$. Prove that $$ (a+2 b+3 c+4 d) a^{a} b^{b} c^{c} d^{d}<1 $$ (Belgium)", "solution": "From $b \\geqslant d$ we get $$ a+2 b+3 c+4 d \\leqslant a+3 b+3 c+3 d=3-2 a $$ If $a<\\frac{1}{2}$, then the statement can be proved by $$ (a+2 b+3 c+4 d) a^{a} b^{b} c^{c} d^{d} \\leqslant(3-2 a) a^{a} a^{b} a^{c} a^{d}=(3-2 a) a=1-(1-a)(1-2 a)<1 $$ From now on we assume $\\frac{1}{2} \\leqslant a<1$. By $b, c, d<1-a$ we have $$ b^{b} c^{c} d^{d}<(1-a)^{b} \\cdot(1-a)^{c} \\cdot(1-a)^{d}=(1-a)^{1-a} . $$ Therefore, $$ (a+2 b+3 c+4 d) a^{a} b^{b} c^{c} d^{d}<(3-2 a) a^{a}(1-a)^{1-a} $$ For $00 $$ so $g$ is strictly convex on $(0,1)$. By $g\\left(\\frac{1}{2}\\right)=\\log 2+2 \\cdot \\frac{1}{2} \\log \\frac{1}{2}=0$ and $\\lim _{x \\rightarrow 1-} g(x)=0$, we have $g(x) \\leqslant 0$ (and hence $f(x) \\leqslant 1$ ) for all $x \\in\\left[\\frac{1}{2}, 1\\right)$, and therefore $$ (a+2 b+3 c+4 d) a^{a} b^{b} c^{c} d^{d}0$ with $\\sum_{i} a_{i}=1$, the inequality $$ \\left(\\sum_{i} i a_{i}\\right) \\prod_{i} a_{i}^{a_{i}} \\leqslant 1 $$ does not necessarily hold. Indeed, let $a_{2}=a_{3}=\\ldots=a_{n}=\\varepsilon$ and $a_{1}=1-(n-1) \\varepsilon$, where $n$ and $\\varepsilon \\in(0,1 / n)$ will be chosen later. Then $$ \\left(\\sum_{i} i a_{i}\\right) \\prod_{i} a_{i}^{a_{i}}=\\left(1+\\frac{n(n-1)}{2} \\varepsilon\\right) \\varepsilon^{(n-1) \\varepsilon}(1-(n-1) \\varepsilon)^{1-(n-1) \\varepsilon} $$ If $\\varepsilon=C / n^{2}$ with an arbitrary fixed $C>0$ and $n \\rightarrow \\infty$, then the factors $\\varepsilon^{(n-1) \\varepsilon}=\\exp ((n-1) \\varepsilon \\log \\varepsilon)$ and $(1-(n-1) \\varepsilon)^{1-(n-1) \\varepsilon}$ tend to 1 , so the limit of (1) in this set-up equals $1+C / 2$. This is not simply greater than 1 , but it can be arbitrarily large.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A5", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "A magician intends to perform the following trick. She announces a positive integer $n$, along with $2 n$ real numbers $x_{1}<\\ldots\\max _{z \\in \\mathcal{O}(0)}|z|$, this yields $f(a)=f(-a)$ and $f^{2 a^{2}}(0)=0$. Therefore, the sequence $\\left(f^{k}(0): k=0,1, \\ldots\\right)$ is purely periodic with a minimal period $T$ which divides $2 a^{2}$. Analogously, $T$ divides $2(a+1)^{2}$, therefore, $T \\mid \\operatorname{gcd}\\left(2 a^{2}, 2(a+1)^{2}\\right)=2$, i.e., $f(f(0))=0$ and $a(f(a)-f(-a))=f^{2 a^{2}}(0)=0$ for all $a$. Thus, $$ \\begin{array}{ll} f(a)=f(-a) \\quad \\text { for all } a \\neq 0 \\\\ \\text { in particular, } & f(1)=f(-1)=0 \\end{array} $$ Next, for each $n \\in \\mathbb{Z}$, by $E(n, 1-n)$ we get $$ n f(n)+(1-n) f(1-n)=f^{n^{2}+(1-n)^{2}}(1)=f^{2 n^{2}-2 n}(0)=0 $$ Assume that there exists some $m \\neq 0$ such that $f(m) \\neq 0$. Choose such an $m$ for which $|m|$ is minimal possible. Then $|m|>1$ due to $(\\boldsymbol{\\phi}) ; f(|m|) \\neq 0$ due to ( $\\boldsymbol{\\phi})$; and $f(1-|m|) \\neq 0$ due to $(\\Omega)$ for $n=|m|$. This contradicts to the minimality assumption. So, $f(n)=0$ for $n \\neq 0$. Finally, $f(0)=f^{3}(0)=f^{4}(2)=2 f(2)=0$. Clearly, the function $f(x) \\equiv 0$ satisfies the problem condition, which provides the first of the two answers. Case 2: All orbits are infinite. Since the orbits $\\mathcal{O}(a)$ and $\\mathcal{O}(a-1)$ differ by finitely many terms for all $a \\in \\mathbb{Z}$, each two orbits $\\mathcal{O}(a)$ and $\\mathcal{O}(b)$ have infinitely many common terms for arbitrary $a, b \\in \\mathbb{Z}$. For a minute, fix any $a, b \\in \\mathbb{Z}$. We claim that all pairs $(n, m)$ of nonnegative integers such that $f^{n}(a)=f^{m}(b)$ have the same difference $n-m$. Arguing indirectly, we have $f^{n}(a)=f^{m}(b)$ and $f^{p}(a)=f^{q}(b)$ with, say, $n-m>p-q$, then $f^{p+m+k}(b)=f^{p+n+k}(a)=f^{q+n+k}(b)$, for all nonnegative integers $k$. This means that $f^{\\ell+(n-m)-(p-q)}(b)=f^{\\ell}(b)$ for all sufficiently large $\\ell$, i.e., that the sequence $\\left(f^{n}(b)\\right)$ is eventually periodic, so $\\mathcal{O}(b)$ is finite, which is impossible. Now, for every $a, b \\in \\mathbb{Z}$, denote the common difference $n-m$ defined above by $X(a, b)$. We have $X(a-1, a)=1$ by (1). Trivially, $X(a, b)+X(b, c)=X(a, c)$, as if $f^{n}(a)=f^{m}(b)$ and $f^{p}(b)=f^{q}(c)$, then $f^{p+n}(a)=f^{p+m}(b)=f^{q+m}(c)$. These two properties imply that $X(a, b)=b-a$ for all $a, b \\in \\mathbb{Z}$. But (1) yields $f^{a^{2}+1}(f(a-1))=f^{a^{2}}(f(a))$, so $$ 1=X(f(a-1), f(a))=f(a)-f(a-1) \\quad \\text { for all } a \\in \\mathbb{Z} $$ Recalling that $f(-1)=0$, we conclude by (two-sided) induction on $x$ that $f(x)=x+1$ for all $x \\in \\mathbb{Z}$. Finally, the obtained function also satisfies the assumption. Indeed, $f^{n}(x)=x+n$ for all $n \\geqslant 0$, so $$ f^{a^{2}+b^{2}}(a+b)=a+b+a^{2}+b^{2}=a f(a)+b f(b) $$ Comment. There are many possible variations of the solution above, but it seems that finiteness of orbits seems to be a crucial distinction in all solutions. However, the case distinction could be made in different ways; in particular, there exist some versions of Case 1 which work whenever there is at least one finite orbit. We believe that Case 2 is conceptually harder than Case 1.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A7", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $n$ and $k$ be positive integers. Prove that for $a_{1}, \\ldots, a_{n} \\in\\left[1,2^{k}\\right]$ one has $$ \\sum_{i=1}^{n} \\frac{a_{i}}{\\sqrt{a_{1}^{2}+\\ldots+a_{i}^{2}}} \\leqslant 4 \\sqrt{k n} $$", "solution": "Partition the set of indices $\\{1,2, \\ldots, n\\}$ into disjoint subsets $M_{1}, M_{2}, \\ldots, M_{k}$ so that $a_{\\ell} \\in\\left[2^{j-1}, 2^{j}\\right]$ for $\\ell \\in M_{j}$. Then, if $\\left|M_{j}\\right|=: p_{j}$, we have $$ \\sum_{\\ell \\in M_{j}} \\frac{a_{\\ell}}{\\sqrt{a_{1}^{2}+\\ldots+a_{\\ell}^{2}}} \\leqslant \\sum_{i=1}^{p_{j}} \\frac{2^{j}}{2^{j-1} \\sqrt{i}}=2 \\sum_{i=1}^{p_{j}} \\frac{1}{\\sqrt{i}} $$ where we used that $a_{\\ell} \\leqslant 2^{j}$ and in the denominator every index from $M_{j}$ contributes at least $\\left(2^{j-1}\\right)^{2}$. Now, using $\\sqrt{i}-\\sqrt{i-1}=\\frac{1}{\\sqrt{i}+\\sqrt{i-1}} \\geqslant \\frac{1}{2 \\sqrt{i}}$, we deduce that $$ \\sum_{\\ell \\in M_{j}} \\frac{a_{\\ell}}{\\sqrt{a_{1}^{2}+\\ldots+a_{\\ell}^{2}}} \\leqslant 2 \\sum_{i=1}^{p_{j}} \\frac{1}{\\sqrt{i}} \\leqslant 2 \\sum_{i=1}^{p_{j}} 2(\\sqrt{i}-\\sqrt{i-1})=4 \\sqrt{p_{j}} $$ Therefore, summing over $j=1, \\ldots, k$ and using the QM-AM inequality, we obtain $$ \\sum_{\\ell=1}^{n} \\frac{a_{\\ell}}{\\sqrt{a_{1}^{2}+\\ldots+a_{\\ell}^{2}}} \\leqslant 4 \\sum_{j=1}^{k} \\sqrt{\\left|M_{j}\\right|} \\leqslant 4 \\sqrt{k \\sum_{j=1}^{k}\\left|M_{j}\\right|}=4 \\sqrt{k n} $$ Comment. Consider the function $f\\left(a_{1}, \\ldots, a_{n}\\right)=\\sum_{i=1}^{n} \\frac{a_{i}}{\\sqrt{a_{1}^{2}+\\ldots+a_{i}^{2}}}$. One can see that rearranging the variables in increasing order can only increase the value of $f\\left(a_{1}, \\ldots, a_{n}\\right)$. Indeed, if $a_{j}>a_{j+1}$ for some index $j$ then we have $$ f\\left(a_{1}, \\ldots, a_{j-1}, a_{j+1}, a_{j}, a_{j+2}, \\ldots, a_{n}\\right)-f\\left(a_{1}, \\ldots, a_{n}\\right)=\\frac{a}{S}+\\frac{b}{\\sqrt{S^{2}-a^{2}}}-\\frac{b}{S}-\\frac{a}{\\sqrt{S^{2}-b^{2}}} $$ where $a=a_{j}, b=a_{j+1}$, and $S=\\sqrt{a_{1}^{2}+\\ldots+a_{j+1}^{2}}$. The positivity of the last expression above follows from $$ \\frac{b}{\\sqrt{S^{2}-a^{2}}}-\\frac{b}{S}=\\frac{a^{2} b}{S \\sqrt{S^{2}-a^{2}} \\cdot\\left(S+\\sqrt{S^{2}-a^{2}}\\right)}>\\frac{a b^{2}}{S \\sqrt{S^{2}-b^{2}} \\cdot\\left(S+\\sqrt{S^{2}-b^{2}}\\right)}=\\frac{a}{\\sqrt{S^{2}-b^{2}}}-\\frac{a}{S} . $$ Comment. If $ky-1$, hence $$ f(x)>\\frac{y-1}{f(y)} \\quad \\text { for all } x \\in \\mathbb{R}^{+} $$ If $y>1$, this provides a desired positive lower bound for $f(x)$. Now, let $M=\\inf _{x \\in \\mathbb{R}^{+}} f(x)>0$. Then, for all $y \\in \\mathbb{R}^{+}$, $$ M \\geqslant \\frac{y-1}{f(y)}, \\quad \\text { or } \\quad f(y) \\geqslant \\frac{y-1}{M} $$ Lemma 1. The function $f(x)$ (and hence $\\phi(x)$ ) is bounded on any segment $[p, q]$, where $0\\max \\left\\{C, \\frac{C}{y}\\right\\}$. Then all three numbers $x, x y$, and $x+f(x y)$ are greater than $C$, so (*) reads as $$ (x+x y+1)+1+y=(x+1) f(y)+1, \\text { hence } f(y)=y+1 $$ Comment 1. It may be useful to rewrite (*) in the form $$ \\phi(x+f(x y))+\\phi(x y)=\\phi(x) \\phi(y)+x \\phi(y)+y \\phi(x)+\\phi(x)+\\phi(y) $$ This general identity easily implies both (1) and (5). Comment 2. There are other ways to prove that $f(x) \\geqslant x+1$. Once one has proved this, they can use this stronger estimate instead of (3) in the proof of Lemma 1. Nevertheless, this does not make this proof simpler. So proving that $f(x) \\geqslant x+1$ does not seem to be a serious progress towards the solution of the problem. In what follows, we outline one possible proof of this inequality. First of all, we improve inequality (3) by noticing that, in fact, $f(x) f(y) \\geqslant y-1+M$, and hence $$ f(y) \\geqslant \\frac{y-1}{M}+1 $$ Now we divide the argument into two steps. Step 1: We show that $M \\leqslant 1$. Suppose that $M>1$; recall the notation $a=f(1)$. Substituting $y=1 / x$ in (*), we get $$ f(x+a)=f(x) f\\left(\\frac{1}{x}\\right)+1-\\frac{1}{x} \\geqslant M f(x), $$ provided that $x \\geqslant 1$. By a straightforward induction on $\\lceil(x-1) / a\\rceil$, this yields $$ f(x) \\geqslant M^{(x-1) / a} $$ Now choose an arbitrary $x_{0} \\in \\mathbb{R}^{+}$and define a sequence $x_{0}, x_{1}, \\ldots$ by $x_{n+1}=x_{n}+f\\left(x_{n}\\right) \\geqslant x_{n}+M$ for all $n \\geqslant 0$; notice that the sequence is unbounded. On the other hand, by (4) we get $$ a x_{n+1}>a f\\left(x_{n}\\right)=f\\left(x_{n+1}\\right) \\geqslant M^{\\left(x_{n+1}-1\\right) / a}, $$ which cannot hold when $x_{n+1}$ is large enough. Step 2: We prove that $f(y) \\geqslant y+1$ for all $y \\in \\mathbb{R}^{+}$. Arguing indirectly, choose $y \\in \\mathbb{R}^{+}$such that $f(y)n k$, so $a_{n} \\geqslant k+1$. Now the $n-k+1$ numbers $a_{k}, a_{k+1}, \\ldots, a_{n}$ are all greater than $k$; but there are only $n-k$ such values; this is not possible. If $a_{n}=n$ then $a_{1}, a_{2}, \\ldots, a_{n-1}$ must be a permutation of the numbers $1, \\ldots, n-1$ satisfying $a_{1} \\leqslant 2 a_{2} \\leqslant \\ldots \\leqslant(n-1) a_{n-1}$; there are $P_{n-1}$ such permutations. The last inequality in (*), $(n-1) a_{n-1} \\leqslant n a_{n}=n^{2}$, holds true automatically. If $\\left(a_{n-1}, a_{n}\\right)=(n, n-1)$, then $a_{1}, \\ldots, a_{n-2}$ must be a permutation of $1, \\ldots, n-2$ satisfying $a_{1} \\leqslant \\ldots \\leqslant(n-2) a_{n-2}$; there are $P_{n-2}$ such permutations. The last two inequalities in (*) hold true automatically by $(n-2) a_{n-2} \\leqslant(n-2)^{2}k$. If $t=k$ then we are done, so assume $t>k$. Notice that one of the numbers among the $t-k$ numbers $a_{k}, a_{k+1}, \\ldots, a_{t-1}$ is at least $t$, because there are only $t-k-1$ values between $k$ and $t$. Let $i$ be an index with $k \\leqslant ik+1$. Then the chain of inequalities $k t=k a_{k} \\leqslant \\ldots \\leqslant t a_{t}=k t$ should also turn into a chain of equalities. From this point we can find contradictions in several ways; for example by pointing to $a_{t-1}=\\frac{k t}{t-1}=k+\\frac{k}{t-1}$ which cannot be an integer, or considering the product of the numbers $(k+1) a_{k+1}, \\ldots,(t-1) a_{t-1}$; the numbers $a_{k+1}, \\ldots, a_{t-1}$ are distinct and greater than $k$, so $$ (k t)^{t-k-1}=(k+1) a_{k+1} \\cdot(k+2) a_{k+2} \\cdot \\ldots \\cdot(t-1) a_{t-1} \\geqslant((k+1)(k+2) \\cdot \\ldots \\cdot(t-1))^{2} $$ Notice that $(k+i)(t-i)=k t+i(t-k-i)>k t$ for $1 \\leqslant i(k t)^{t-k-1} $$ Therefore, the case $t>k+1$ is not possible.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "C2", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "In a regular 100-gon, 41 vertices are colored black and the remaining 59 vertices are colored white. Prove that there exist 24 convex quadrilaterals $Q_{1}, \\ldots, Q_{24}$ whose corners are vertices of the 100 -gon, so that - the quadrilaterals $Q_{1}, \\ldots, Q_{24}$ are pairwise disjoint, and - every quadrilateral $Q_{i}$ has three corners of one color and one corner of the other color. (Austria)", "solution": "Call a quadrilateral skew-colored, if it has three corners of one color and one corner of the other color. We will prove the following Claim. If the vertices of a convex $(4 k+1)$-gon $P$ are colored black and white such that each color is used at least $k$ times, then there exist $k$ pairwise disjoint skew-colored quadrilaterals whose vertices are vertices of $P$. (One vertex of $P$ remains unused.) The problem statement follows by removing 3 arbitrary vertices of the 100-gon and applying the Claim to the remaining 97 vertices with $k=24$. Proof of the Claim. We prove by induction. For $k=1$ we have a pentagon with at least one black and at least one white vertex. If the number of black vertices is even then remove a black vertex; otherwise remove a white vertex. In the remaining quadrilateral, there are an odd number of black and an odd number of white vertices, so the quadrilateral is skew-colored. For the induction step, assume $k \\geqslant 2$. Let $b$ and $w$ be the numbers of black and white vertices, respectively; then $b, w \\geqslant k$ and $b+w=4 k+1$. Without loss of generality we may assume $w \\geqslant b$, so $k \\leqslant b \\leqslant 2 k$ and $2 k+1 \\leqslant w \\leqslant 3 k+1$. We want to find four consecutive vertices such that three of them are white, the fourth one is black. Denote the vertices by $V_{1}, V_{2}, \\ldots, V_{4 k+1}$ in counterclockwise order, such that $V_{4 k+1}$ is black, and consider the following $k$ groups of vertices: $$ \\left(V_{1}, V_{2}, V_{3}, V_{4}\\right),\\left(V_{5}, V_{6}, V_{7}, V_{8}\\right), \\ldots,\\left(V_{4 k-3}, V_{4 k-2}, V_{4 k-1}, V_{4 k}\\right) $$ In these groups there are $w$ white and $b-1$ black vertices. Since $w>b-1$, there is a group, $\\left(V_{i}, V_{i+1}, V_{i+2}, V_{i+3}\\right)$ that contains more white than black vertices. If three are white and one is black in that group, we are done. Otherwise, if $V_{i}, V_{i+1}, V_{i+2}, V_{i+3}$ are all white then let $V_{j}$ be the first black vertex among $V_{i+4}, \\ldots, V_{4 k+1}$ (recall that $V_{4 k+1}$ is black); then $V_{j-3}, V_{j-2}$ and $V_{j-1}$ are white and $V_{j}$ is black. Now we have four consecutive vertices $V_{i}, V_{i+1}, V_{i+2}, V_{i+3}$ that form a skew-colored quadrilateral. The remaining vertices form a convex ( $4 k-3$ )-gon; $w-3$ of them are white and $b-1$ are black. Since $b-1 \\geqslant k-1$ and $w-3 \\geqslant(2 k+1)-3>k-1$, we can apply the Claim with $k-1$. Comment. It is not true that the vertices of the 100 -gon can be split into 25 skew-colored quadrilaterals. A possible counter-example is when the vertices $V_{1}, V_{3}, V_{5}, \\ldots, V_{81}$ are black and the other vertices, $V_{2}, V_{4}, \\ldots, V_{80}$ and $V_{82}, V_{83}, \\ldots, V_{100}$ are white. For having 25 skew-colored quadrilaterals, there should be 8 containing three black vertices. But such a quadrilateral splits the other 96 vertices into four sets in such a way that at least two sets contain odd numbers of vertices and therefore they cannot be grouped into disjoint quadrilaterals. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-34.jpg?height=318&width=552&top_left_y=2462&top_left_x=752)", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "C3", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $n$ be an integer with $n \\geqslant 2$. On a slope of a mountain, $n^{2}$ checkpoints are marked, numbered from 1 to $n^{2}$ from the bottom to the top. Each of two cable car companies, $A$ and $B$, operates $k$ cable cars numbered from 1 to $k$; each cable car provides a transfer from some checkpoint to a higher one. For each company, and for any $i$ and $j$ with $1 \\leqslant im_{p-1}$. Choose $k$ to be the smallest index satisfying $m_{k}>m_{p-1}$; by our assumptions, we have $1\\left|R_{2}\\right|$. We will find a saddle subpair ( $R^{\\prime}, C^{\\prime}$ ) of ( $R_{1}, C_{1}$ ) with $\\left|R^{\\prime}\\right| \\leqslant\\left|R_{2}\\right|$; clearly, this implies the desired statement. Step 1: We construct maps $\\rho: R_{1} \\rightarrow R_{1}$ and $\\sigma: C_{1} \\rightarrow C_{1}$ such that $\\left|\\rho\\left(R_{1}\\right)\\right| \\leqslant\\left|R_{2}\\right|$, and $a\\left(\\rho\\left(r_{1}\\right), c_{1}\\right) \\geqslant a\\left(r_{1}, \\sigma\\left(c_{1}\\right)\\right)$ for all $r_{1} \\in R_{1}$ and $c_{1} \\in C_{1}$. Since $\\left(R_{1}, C_{1}\\right)$ is a saddle pair, for each $r_{2} \\in R_{2}$ there is $r_{1} \\in R_{1}$ such that $a\\left(r_{1}, c_{1}\\right) \\geqslant a\\left(r_{2}, c_{1}\\right)$ for all $c_{1} \\in C_{1}$; denote one such an $r_{1}$ by $\\rho_{1}\\left(r_{2}\\right)$. Similarly, we define four functions $$ \\begin{array}{llllll} \\rho_{1}: R_{2} \\rightarrow R_{1} & \\text { such that } & a\\left(\\rho_{1}\\left(r_{2}\\right), c_{1}\\right) \\geqslant a\\left(r_{2}, c_{1}\\right) & \\text { for all } & r_{2} \\in R_{2}, & c_{1} \\in C_{1} ; \\\\ \\rho_{2}: R_{1} \\rightarrow R_{2} & \\text { such that } & a\\left(\\rho_{2}\\left(r_{1}\\right), c_{2}\\right) \\geqslant a\\left(r_{1}, c_{2}\\right) & \\text { for all } & r_{1} \\in R_{1}, & c_{2} \\in C_{2} ; \\\\ \\sigma_{1}: C_{2} \\rightarrow C_{1} & \\text { such that } & a\\left(r_{1}, \\sigma_{1}\\left(c_{2}\\right)\\right) \\leqslant a\\left(r_{1}, c_{2}\\right) & \\text { for all } & r_{1} \\in R_{1}, & c_{2} \\in C_{2} ; \\\\ \\sigma_{2}: C_{1} \\rightarrow C_{2} & \\text { such that } & a\\left(r_{2}, \\sigma_{2}\\left(c_{1}\\right)\\right) \\leqslant a\\left(r_{2}, c_{1}\\right) & \\text { for all } & r_{2} \\in R_{2}, & c_{1} \\in C_{1} . \\end{array} $$ Set now $\\rho=\\rho_{1} \\circ \\rho_{2}: R_{1} \\rightarrow R_{1}$ and $\\sigma=\\sigma_{1} \\circ \\sigma_{2}: C_{1} \\rightarrow C_{1}$. We have $$ \\left|\\rho\\left(R_{1}\\right)\\right|=\\left|\\rho_{1}\\left(\\rho_{2}\\left(R_{1}\\right)\\right)\\right| \\leqslant\\left|\\rho_{1}\\left(R_{2}\\right)\\right| \\leqslant\\left|R_{2}\\right| . $$ Moreover, for all $r_{1} \\in R_{1}$ and $c_{1} \\in C_{1}$, we get $$ \\begin{aligned} a\\left(\\rho\\left(r_{1}\\right), c_{1}\\right)=a\\left(\\rho_{1}\\left(\\rho_{2}\\left(r_{1}\\right)\\right), c_{1}\\right) \\geqslant a\\left(\\rho_{2}\\left(r_{1}\\right), c_{1}\\right) & \\geqslant a\\left(\\rho_{2}\\left(r_{1}\\right), \\sigma_{2}\\left(c_{1}\\right)\\right) \\\\ & \\geqslant a\\left(r_{1}, \\sigma_{2}\\left(c_{1}\\right)\\right) \\geqslant a\\left(r_{1}, \\sigma_{1}\\left(\\sigma_{2}\\left(c_{1}\\right)\\right)\\right)=a\\left(r_{1}, \\sigma\\left(c_{1}\\right)\\right) \\end{aligned} $$ as desired. Step 2: Given maps $\\rho$ and $\\sigma$, we construct a proper saddle subpair $\\left(R^{\\prime}, C^{\\prime}\\right)$ of $\\left(R_{1}, C_{1}\\right)$. The properties of $\\rho$ and $\\sigma$ yield that $$ a\\left(\\rho^{i}\\left(r_{1}\\right), c_{1}\\right) \\geqslant a\\left(\\rho^{i-1}\\left(r_{1}\\right), \\sigma\\left(c_{1}\\right)\\right) \\geqslant \\ldots \\geqslant a\\left(r_{1}, \\sigma^{i}\\left(c_{1}\\right)\\right) $$ for each positive integer $i$ and all $r_{1} \\in R_{1}, c_{1} \\in C_{1}$. Consider the images $R^{i}=\\rho^{i}\\left(R_{1}\\right)$ and $C^{i}=\\sigma^{i}\\left(C_{1}\\right)$. Clearly, $R_{1}=R^{0} \\supseteq R^{1} \\supseteq R^{2} \\supseteq \\ldots$ and $C_{1}=C^{0} \\supseteq C^{1} \\supseteq C^{2} \\supseteq \\ldots$. Since both chains consist of finite sets, there is an index $n$ such that $R^{n}=R^{n+1}=\\ldots$ and $C^{n}=C^{n+1}=\\ldots$. Then $\\rho^{n}\\left(R^{n}\\right)=R^{2 n}=R^{n}$, so $\\rho^{n}$ restricted to $R^{n}$ is a bijection. Similarly, $\\sigma^{n}$ restricted to $C^{n}$ is a bijection from $C^{n}$ to itself. Therefore, there exists a positive integer $k$ such that $\\rho^{n k}$ acts identically on $R^{n}$, and $\\sigma^{n k}$ acts identically on $C^{n}$. We claim now that $\\left(R^{n}, C^{n}\\right)$ is a saddle subpair of $\\left(R_{1}, C_{1}\\right)$, with $\\left|R^{n}\\right| \\leqslant\\left|R^{1}\\right|=\\left|\\rho\\left(R_{1}\\right)\\right| \\leqslant$ $\\left|R_{2}\\right|$, which is what we needed. To check that this is a saddle pair, take any row $r^{\\prime}$; since $\\left(R_{1}, C_{1}\\right)$ is a saddle pair, there exists $r_{1} \\in R_{1}$ such that $a\\left(r_{1}, c_{1}\\right) \\geqslant a\\left(r^{\\prime}, c_{1}\\right)$ for all $c_{1} \\in C_{1}$. Set now $r_{*}=\\rho^{n k}\\left(r_{1}\\right) \\in R^{n}$. Then, for each $c \\in C^{n}$ we have $c=\\sigma^{n k}(c)$ and hence $$ a\\left(r_{*}, c\\right)=a\\left(\\rho^{n k}\\left(r_{1}\\right), c\\right) \\geqslant a\\left(r_{1}, \\sigma^{n k}(c)\\right)=a\\left(r_{1}, c\\right) \\geqslant a\\left(r^{\\prime}, c\\right) $$ which establishes condition $(i)$. Condition (ii) is checked similarly.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "C7", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Consider any rectangular table having finitely many rows and columns, with a real number $a(r, c)$ in the cell in row $r$ and column $c$. A pair $(R, C)$, where $R$ is a set of rows and $C$ a set of columns, is called a saddle pair if the following two conditions are satisfied: (i) For each row $r^{\\prime}$, there is $r \\in R$ such that $a(r, c) \\geqslant a\\left(r^{\\prime}, c\\right)$ for all $c \\in C$; (ii) For each column $c^{\\prime}$, there is $c \\in C$ such that $a(r, c) \\leqslant a\\left(r, c^{\\prime}\\right)$ for all $r \\in R$. A saddle pair $(R, C)$ is called a minimal pair if for each saddle pair ( $R^{\\prime}, C^{\\prime}$ ) with $R^{\\prime} \\subseteq R$ and $C^{\\prime} \\subseteq C$, we have $R^{\\prime}=R$ and $C^{\\prime}=C$. Prove that any two minimal pairs contain the same number of rows. (Thailand)", "solution": "Denote by $\\mathcal{R}$ and $\\mathcal{C}$ the set of all rows and the set of all columns of the table, respectively. Let $\\mathcal{T}$ denote the given table; for a set $R$ of rows and a set $C$ of columns, let $\\mathcal{T}[R, C]$ denote the subtable obtained by intersecting rows from $R$ and columns from $C$. We say that row $r_{1}$ exceeds row $r_{2}$ in range of columns $C$ (where $C \\subseteq \\mathcal{C}$ ) and write $r_{1} \\succeq_{C} r_{2}$ or $r_{2} \\leq_{C} r_{1}$, if $a\\left(r_{1}, c\\right) \\geqslant a\\left(r_{2}, c\\right)$ for all $c \\in C$. We say that a row $r_{1}$ is equal to a row $r_{2}$ in range of columns $C$ and write $r_{1} \\equiv_{C} r_{2}$, if $a\\left(r_{1}, c\\right)=a\\left(r_{2}, c\\right)$ for all $c \\in C$. We introduce similar notions, and use the same notation, for columns. Then conditions ( $i$ ) and (ii) in the definition of a saddle pair can be written as $(i)$ for each $r^{\\prime} \\in \\mathcal{R}$ there exists $r \\in R$ such that $r \\geq_{C} r^{\\prime}$; and (ii) for each $c^{\\prime} \\in \\mathcal{C}$ there exists $c \\in C$ such that $c \\leq_{R} c^{\\prime}$. Lemma. Suppose that $(R, C)$ is a minimal pair. Remove from the table several rows outside of $R$ and/or several columns outside of $C$. Then $(R, C)$ remains a minimal pair in the new table. Proof. Obviously, $(R, C)$ remains a saddle pair. Suppose $\\left(R^{\\prime}, C^{\\prime}\\right)$ is a proper subpair of $(R, C)$. Since $(R, C)$ is a saddle pair, for each row $r^{*}$ of the initial table, there is a row $r \\in R$ such that $r \\geq_{C} r^{*}$. If ( $R^{\\prime}, C^{\\prime}$ ) became saddle after deleting rows not in $R$ and/or columns not in $C$, there would be a row $r^{\\prime} \\in R^{\\prime}$ satisfying $r^{\\prime} \\geq_{C^{\\prime}} r$. Therefore, we would obtain that $r^{\\prime} \\geq_{C^{\\prime \\prime}} r^{*}$, which is exactly condition $(i)$ for the pair ( $R^{\\prime}, C^{\\prime}$ ) in the initial table; condition (ii) is checked similarly. Thus, ( $\\left.R^{\\prime}, C^{\\prime}\\right)$ was saddle in the initial table, which contradicts the hypothesis that $(R, C)$ was minimal. Hence, $(R, C)$ remains minimal after deleting rows and/or columns. By the Lemma, it suffices to prove the statement of the problem in the case $\\mathcal{R}=R_{1} \\cup R_{2}$ and $\\mathcal{C}=C_{1} \\cup C_{2}$. Further, suppose that there exist rows that belong both to $R_{1}$ and $R_{2}$. Duplicate every such row, and refer one copy of it to the set $R_{1}$, and the other copy to the set $R_{2}$. Then $\\left(R_{1}, C_{1}\\right)$ and $\\left(R_{2}, C_{2}\\right)$ will remain minimal pairs in the new table, with the same numbers of rows and columns, but the sets $R_{1}$ and $R_{2}$ will become disjoint. Similarly duplicating columns in $C_{1} \\cap C_{2}$, we make $C_{1}$ and $C_{2}$ disjoint. Thus it is sufficient to prove the required statement in the case $R_{1} \\cap R_{2}=\\varnothing$ and $C_{1} \\cap C_{2}=\\varnothing$. The rest of the solution is devoted to the proof of the following claim including the statement of the problem. Claim. Suppose that $\\left(R_{1}, C_{1}\\right)$ and $\\left(R_{2}, C_{2}\\right)$ are minimal pairs in table $\\mathcal{T}$ such that $R_{2}=\\mathcal{R} \\backslash R_{1}$ and $C_{2}=\\mathcal{C} \\backslash C_{1}$. Then $\\left|R_{1}\\right|=\\left|R_{2}\\right|,\\left|C_{1}\\right|=\\left|C_{2}\\right| ;$ moreover, there are four bijections $$ \\begin{array}{llllll} \\rho_{1}: R_{2} \\rightarrow R_{1} & \\text { such that } & \\rho_{1}\\left(r_{2}\\right) \\equiv_{C_{1}} r_{2} & \\text { for all } & r_{2} \\in R_{2} ; \\\\ \\rho_{2}: R_{1} \\rightarrow R_{2} & \\text { such that } & \\rho_{2}\\left(r_{1}\\right) \\equiv_{C_{2}} r_{1} & \\text { for all } & r_{1} \\in R_{1} ; \\\\ \\sigma_{1}: C_{2} \\rightarrow C_{1} & \\text { such that } & \\sigma_{1}\\left(c_{2}\\right) \\equiv_{R_{1}} c_{2} & \\text { for all } & c_{2} \\in C_{2} ; \\\\ \\sigma_{2}: C_{1} \\rightarrow C_{2} & \\text { such that } & \\sigma_{2}\\left(c_{1}\\right) \\equiv_{R_{2}} c_{1} & \\text { for all } & c_{1} \\in C_{1} . \\end{array} $$ We prove the Claim by induction on $|\\mathcal{R}|+|\\mathcal{C}|$. In the base case we have $\\left|R_{1}\\right|=\\left|R_{2}\\right|=$ $\\left|C_{1}\\right|=\\left|C_{2}\\right|=1$; let $R_{i}=\\left\\{r_{i}\\right\\}$ and $C_{i}=\\left\\{c_{i}\\right\\}$. Since $\\left(R_{1}, C_{1}\\right)$ and $\\left(R_{2}, C_{2}\\right)$ are saddle pairs, we have $a\\left(r_{1}, c_{1}\\right) \\geqslant a\\left(r_{2}, c_{1}\\right) \\geqslant a\\left(r_{2}, c_{2}\\right) \\geqslant a\\left(r_{1}, c_{2}\\right) \\geqslant a\\left(r_{1}, c_{1}\\right)$, hence, the table consists of four equal numbers, and the statement follows. To prove the inductive step, introduce the maps $\\rho_{1}, \\rho_{2}, \\sigma_{1}$, and $\\sigma_{2}$ as in Solution 1 , see (1). Suppose first that all four maps are surjective. Then, in fact, we have $\\left|R_{1}\\right|=\\left|R_{2}\\right|,\\left|C_{1}\\right|=\\left|C_{2}\\right|$, and all maps are bijective. Moreover, for all $r_{2} \\in R_{2}$ and $c_{2} \\in C_{2}$ we have $$ \\begin{aligned} a\\left(r_{2}, c_{2}\\right) \\leqslant a\\left(r_{2}, \\sigma_{2}^{-1}\\left(c_{2}\\right)\\right) \\leqslant a\\left(\\rho_{1}\\left(r_{2}\\right), \\sigma_{2}^{-1}\\left(c_{2}\\right)\\right) \\leqslant a\\left(\\rho_{1}\\left(r_{2}\\right)\\right. & \\left., \\sigma_{1}^{-1} \\circ \\sigma_{2}^{-1}\\left(c_{2}\\right)\\right) \\\\ & \\leqslant a\\left(\\rho_{2} \\circ \\rho_{1}\\left(r_{2}\\right), \\sigma_{1}^{-1} \\circ \\sigma_{2}^{-1}\\left(c_{2}\\right)\\right) \\end{aligned} $$ Summing up, we get $$ \\sum_{\\substack{r_{2} \\in R_{2} \\\\ c_{2} \\in C_{2}}} a\\left(r_{2}, c_{2}\\right) \\leqslant \\sum_{\\substack{r_{2} \\in R_{2} \\\\ c_{2} \\in C_{2}}} a\\left(\\rho_{2} \\circ \\rho_{1}\\left(r_{2}\\right), \\sigma_{1}^{-1} \\circ \\sigma_{2}^{-1}\\left(c_{2}\\right)\\right) . $$ Since $\\rho_{1} \\circ \\rho_{2}$ and $\\sigma_{1}^{-1} \\circ \\sigma_{2}^{-1}$ are permutations of $R_{2}$ and $C_{2}$, respectively, this inequality is in fact equality. Therefore, all inequalities in (4) turn into equalities, which establishes the inductive step in this case. It remains to show that all four maps are surjective. For the sake of contradiction, we assume that $\\rho_{1}$ is not surjective. Now let $R_{1}^{\\prime}=\\rho_{1}\\left(R_{2}\\right)$ and $C_{1}^{\\prime}=\\sigma_{1}\\left(C_{2}\\right)$, and set $R^{*}=R_{1} \\backslash R_{1}^{\\prime}$ and $C^{*}=C_{1} \\backslash C_{1}^{\\prime}$. By our assumption, $R^{*} \\neq \\varnothing$. Let $\\mathcal{Q}$ be the table obtained from $\\mathcal{T}$ by removing the rows in $R^{*}$ and the columns in $C^{*}$; in other words, $\\mathcal{Q}=\\mathcal{T}\\left[R_{1}^{\\prime} \\cup R_{2}, C_{1}^{\\prime} \\cup C_{2}\\right]$. By the definition of $\\rho_{1}$, for each $r_{2} \\in R_{2}$ we have $\\rho_{1}\\left(r_{2}\\right) \\geq_{C_{1}} r_{2}$, so a fortiori $\\rho_{1}\\left(r_{2}\\right) \\geq_{C_{1}^{\\prime}} r_{2}$; moreover, $\\rho_{1}\\left(r_{2}\\right) \\in R_{1}^{\\prime}$. Similarly, $C_{1}^{\\prime} \\ni \\sigma_{1}\\left(c_{2}\\right) \\leq_{R_{1}^{\\prime}} c_{2}$ for each $c_{2} \\in C_{2}$. This means that $\\left(R_{1}^{\\prime}, C_{1}^{\\prime}\\right)$ is a saddle pair in $\\mathcal{Q}$. Recall that $\\left(R_{2}, C_{2}\\right)$ remains a minimal pair in $\\mathcal{Q}$, due to the Lemma. Therefore, $\\mathcal{Q}$ admits a minimal pair $\\left(\\bar{R}_{1}, \\bar{C}_{1}\\right)$ such that $\\bar{R}_{1} \\subseteq R_{1}^{\\prime}$ and $\\bar{C}_{1} \\subseteq C_{1}^{\\prime}$. For a minute, confine ourselves to the subtable $\\overline{\\mathcal{Q}}=\\mathcal{Q}\\left[\\bar{R}_{1} \\cup R_{2}, \\bar{C}_{1} \\cup C_{2}\\right]$. By the Lemma, the pairs $\\left(\\bar{R}_{1}, \\bar{C}_{1}\\right)$ and $\\left(R_{2}, C_{2}\\right)$ are also minimal in $\\overline{\\mathcal{Q}}$. By the inductive hypothesis, we have $\\left|R_{2}\\right|=\\left|\\bar{R}_{1}\\right| \\leqslant\\left|R_{1}^{\\prime}\\right|=\\left|\\rho_{1}\\left(R_{2}\\right)\\right| \\leqslant\\left|R_{2}\\right|$, so all these inequalities are in fact equalities. This implies that $\\bar{R}_{2}=R_{2}^{\\prime}$ and that $\\rho_{1}$ is a bijection $R_{2} \\rightarrow R_{1}^{\\prime}$. Similarly, $\\bar{C}_{1}=C_{1}^{\\prime}$, and $\\sigma_{1}$ is a bijection $C_{2} \\rightarrow C_{1}^{\\prime}$. In particular, $\\left(R_{1}^{\\prime}, C_{1}^{\\prime}\\right)$ is a minimal pair in $\\mathcal{Q}$. Now, by inductive hypothesis again, we have $\\left|R_{1}^{\\prime}\\right|=\\left|R_{2}\\right|,\\left|C_{1}^{\\prime}\\right|=\\left|C_{2}\\right|$, and there exist four bijections $$ \\begin{array}{ccccc} \\rho_{1}^{\\prime}: R_{2} \\rightarrow R_{1}^{\\prime} & \\text { such that } & \\rho_{1}^{\\prime}\\left(r_{2}\\right) \\equiv_{C_{1}^{\\prime}} r_{2} & \\text { for all } & r_{2} \\in R_{2} ; \\\\ \\rho_{2}^{\\prime}: R_{1}^{\\prime} \\rightarrow R_{2} & \\text { such that } & \\rho_{2}^{\\prime}\\left(r_{1}\\right) \\equiv_{C_{2}} r_{1} & \\text { for all } & r_{1} \\in R_{1}^{\\prime} ; \\\\ \\sigma_{1}^{\\prime}: C_{2} \\rightarrow C_{1}^{\\prime} & \\text { such that } & \\sigma_{1}^{\\prime}\\left(c_{2}\\right) \\equiv_{R_{1}^{\\prime}} c_{2} & \\text { for all } & c_{2} \\in C_{2} ; \\\\ \\sigma_{2}^{\\prime}: C_{1}^{\\prime} \\rightarrow C_{2} & \\text { such that } & \\sigma_{2}^{\\prime}\\left(c_{1}\\right) \\equiv_{R_{2}} c_{1} & \\text { for all } & c_{1} \\in C_{1}^{\\prime} . \\end{array} $$ Notice here that $\\sigma_{1}$ and $\\sigma_{1}^{\\prime}$ are two bijections $C_{2} \\rightarrow C_{1}^{\\prime}$ satisfying $\\sigma_{1}^{\\prime}\\left(c_{2}\\right) \\equiv_{R_{1}^{\\prime}} c_{2} \\geq_{R_{1}} \\sigma_{1}\\left(c_{2}\\right)$ for all $c_{2} \\in C_{2}$. Now, if $\\sigma_{1}^{\\prime}\\left(c_{2}\\right) \\neq \\sigma_{1}\\left(c_{2}\\right)$ for some $c_{2} \\in C_{2}$, then we could remove column $\\sigma_{1}^{\\prime}\\left(c_{2}\\right)$ from $C_{1}^{\\prime}$ obtaining another saddle pair $\\left(R_{1}^{\\prime}, C_{1}^{\\prime} \\backslash\\left\\{\\sigma_{1}^{\\prime}\\left(c_{2}\\right)\\right\\}\\right)$ in $\\mathcal{Q}$. This is impossible for a minimal pair $\\left(R_{1}^{\\prime}, C_{1}^{\\prime}\\right)$; hence the maps $\\sigma_{1}$ and $\\sigma_{1}^{\\prime}$ coincide. Now we are prepared to show that $\\left(R_{1}^{\\prime}, C_{1}^{\\prime}\\right)$ is a saddle pair in $\\mathcal{T}$, which yields a desired contradiction (since ( $R_{1}, C_{1}$ ) is not minimal). By symmetry, it suffices to find, for each $r^{\\prime} \\in \\mathcal{R}$, a row $r_{1} \\in R_{1}^{\\prime}$ such that $r_{1} \\geq_{C_{1}^{\\prime}} r^{\\prime}$. If $r^{\\prime} \\in R_{2}$, then we may put $r_{1}=\\rho_{1}\\left(r^{\\prime}\\right)$; so, in the sequel we assume $r^{\\prime} \\in R_{1}$. There exists $r_{2} \\in R_{2}$ such that $r^{\\prime} \\leq_{C_{2}} r_{2}$; set $r_{1}=\\left(\\rho_{2}^{\\prime}\\right)^{-1}\\left(r_{2}\\right) \\in R_{1}^{\\prime}$ and recall that $r_{1} \\equiv_{C_{2}}$ $r_{2} \\geq_{C_{2}} r^{\\prime}$. Therefore, implementing the bijection $\\sigma_{1}=\\sigma_{1}^{\\prime}$, for each $c_{1} \\in C_{1}^{\\prime}$ we get $$ a\\left(r^{\\prime}, c_{1}\\right) \\leqslant a\\left(r^{\\prime}, \\sigma_{1}^{-1}\\left(c_{1}\\right)\\right) \\leqslant a\\left(r_{1}, \\sigma_{1}^{-1}\\left(c_{1}\\right)\\right)=a\\left(r_{1}, \\sigma_{1}^{\\prime} \\circ \\sigma_{1}^{-1}\\left(c_{1}\\right)\\right)=a\\left(r_{1}, c_{1}\\right) $$ which shows $r^{\\prime} \\leq_{C_{1}^{\\prime}} r_{1}$, as desired. The inductive step is completed. Comment 1. For two minimal pairs $\\left(R_{1}, C_{1}\\right)$ and $\\left(R_{2}, C_{2}\\right)$, Solution 2 not only proves the required equalities $\\left|R_{1}\\right|=\\left|R_{2}\\right|$ and $\\left|C_{1}\\right|=\\left|C_{2}\\right|$, but also shows the existence of bijections (3). In simple words, this means that the four subtables $\\mathcal{T}\\left[R_{1}, C_{1}\\right], \\mathcal{T}\\left[R_{1}, C_{2}\\right], \\mathcal{T}\\left[R_{2}, C_{1}\\right]$, and $\\mathcal{T}\\left[R_{2}, C_{2}\\right]$ differ only by permuting rows/columns. Notice that the existence of such bijections immediately implies that $\\left(R_{1}, C_{2}\\right)$ and $\\left(R_{2}, C_{1}\\right)$ are also minimal pairs. This stronger claim may also be derived directly from the arguments in Solution 1, even without the assumptions $R_{1} \\cap R_{2}=\\varnothing$ and $C_{1} \\cap C_{2}=\\varnothing$. Indeed, if $\\left|R_{1}\\right|=\\left|R_{2}\\right|$ and $\\left|C_{1}\\right|=\\left|C_{2}\\right|$, then similar arguments show that $R^{n}=R_{1}, C^{n}=C_{1}$, and for any $r \\in R^{n}$ and $c \\in C^{n}$ we have $$ a(r, c)=a\\left(\\rho^{n k}(r), c\\right) \\geqslant a\\left(\\rho^{n k-1}(r), \\sigma(c)\\right) \\geqslant \\ldots \\geqslant a\\left(r, \\sigma^{n k}(c)\\right)=a(r, c) . $$ This yields that all above inequalities turn into equalities. Moreover, this yields that all inequalities in (2) turn into equalities. Hence $\\rho_{1}, \\rho_{2}, \\sigma_{1}$, and $\\sigma_{2}$ satisfy (3). It is perhaps worth mentioning that one cannot necessarily find the maps in (3) so as to satisfy $\\rho_{1}=\\rho_{2}^{-1}$ and $\\sigma_{1}=\\sigma_{2}^{-1}$, as shown by the table below. | 1 | 0 | 0 | 1 | | :--- | :--- | :--- | :--- | | 0 | 1 | 1 | 0 | | 1 | 0 | 1 | 0 | | 0 | 1 | 0 | 1 | Comment 2. One may use the following, a bit more entertaining formulation of the same problem. On a specialized market, a finite number of products are being sold, and there are finitely many retailers each selling all the products by some prices. Say that retailer $r_{1}$ dominates retailer $r_{2}$ with respect to a set of products $P$ if $r_{1}$ 's price of each $p \\in P$ does not exceed $r_{2}$ 's price of $p$. Similarly, product $p_{1}$ exceeds product $p_{2}$ with respect to a set of retailers $R$, if $r$ 's price of $p_{1}$ is not less than $r$ 's price of $p_{2}$, for each $r \\in R$. Say that a set $R$ of retailers and a set $P$ of products form a saddle pair if for each retailer $r^{\\prime}$ there is $r \\in R$ dominating $r^{\\prime}$ with respect to $P$, and for each product $p^{\\prime}$ there is $p \\in P$ exceeding $p^{\\prime}$ with respect to $R$. A saddle pair $(R, P)$ is called a minimal pair if for each saddle pair $\\left(R^{\\prime}, P^{\\prime}\\right)$ with $R^{\\prime} \\subseteq R$ and $P^{\\prime} \\subseteq P$, we have $R^{\\prime}=R$ and $P^{\\prime}=P$. Prove that any two minimal pairs contain the same number of retailers.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "C8", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Players $A$ and $B$ play a game on a blackboard that initially contains 2020 copies of the number 1. In every round, player $A$ erases two numbers $x$ and $y$ from the blackboard, and then player $B$ writes one of the numbers $x+y$ and $|x-y|$ on the blackboard. The game terminates as soon as, at the end of some round, one of the following holds: (1) one of the numbers on the blackboard is larger than the sum of all other numbers; (2) there are only zeros on the blackboard. Player $B$ must then give as many cookies to player $A$ as there are numbers on the blackboard. Player $A$ wants to get as many cookies as possible, whereas player $B$ wants to give as few as possible. Determine the number of cookies that $A$ receives if both players play optimally.", "solution": "For a positive integer $n$, we denote by $S_{2}(n)$ the sum of digits in its binary representation. We prove that, in fact, if a board initially contains an even number $n>1$ of ones, then A can guarantee to obtain $S_{2}(n)$, but not more, cookies. The binary representation of 2020 is $2020=\\overline{11111100100}_{2}$, so $S_{2}(2020)=7$, and the answer follows. A strategy for $A$. At any round, while possible, A chooses two equal nonzero numbers on the board. Clearly, while $A$ can make such choice, the game does not terminate. On the other hand, $A$ can follow this strategy unless the game has already terminated. Indeed, if $A$ always chooses two equal numbers, then each number appearing on the board is either 0 or a power of 2 with non-negative integer exponent, this can be easily proved using induction on the number of rounds. At the moment when $A$ is unable to follow the strategy all nonzero numbers on the board are distinct powers of 2 . If the board contains at least one such power, then the largest of those powers is greater than the sum of the others. Otherwise there are only zeros on the blackboard, in both cases the game terminates. For every number on the board, define its range to be the number of ones it is obtained from. We can prove by induction on the number of rounds that for any nonzero number $k$ written by $B$ its range is $k$, and for any zero written by $B$ its range is a power of 2 . Thus at the end of each round all the ranges are powers of two, and their sum is $n$. Since $S_{2}(a+b) \\leqslant S_{2}(a)+S_{2}(b)$ for any positive integers $a$ and $b$, the number $n$ cannot be represented as a sum of less than $S_{2}(n)$ powers of 2 . Thus at the end of each round the board contains at least $S_{2}(n)$ numbers, while $A$ follows the above strategy. So $A$ can guarantee at least $S_{2}(n)$ cookies for himself. Comment. There are different proofs of the fact that the presented strategy guarantees at least $S_{2}(n)$ cookies for $A$. For instance, one may denote by $\\Sigma$ the sum of numbers on the board, and by $z$ the number of zeros. Then the board contains at least $S_{2}(\\Sigma)+z$ numbers; on the other hand, during the game, the number $S_{2}(\\Sigma)+z$ does not decrease, and its initial value is $S_{2}(n)$. The claim follows. A strategy for $B$. Denote $s=S_{2}(n)$. Let $x_{1}, \\ldots, x_{k}$ be the numbers on the board at some moment of the game after $B$ 's turn or at the beginning of the game. Say that a collection of $k$ signs $\\varepsilon_{1}, \\ldots, \\varepsilon_{k} \\in\\{+1,-1\\}$ is balanced if $$ \\sum_{i=1}^{k} \\varepsilon_{i} x_{i}=0 $$ We say that a situation on the board is good if $2^{s+1}$ does not divide the number of balanced collections. An appropriate strategy for $B$ can be explained as follows: Perform a move so that the situation remains good, while it is possible. We intend to show that in this case $B$ will not lose more than $S_{2}(n)$ cookies. For this purpose, we prove several lemmas. For a positive integer $k$, denote by $\\nu_{2}(k)$ the exponent of the largest power of 2 that divides $k$. Recall that, by Legendre's formula, $\\nu_{2}(n!)=n-S_{2}(n)$ for every positive integer $n$. Lemma 1. The initial situation is good. Proof. In the initial configuration, the number of balanced collections is equal to $\\binom{n}{n / 2}$. We have $$ \\nu_{2}\\left(\\binom{n}{n / 2}\\right)=\\nu_{2}(n!)-2 \\nu_{2}((n / 2)!)=\\left(n-S_{2}(n)\\right)-2\\left(\\frac{n}{2}-S_{2}(n / 2)\\right)=S_{2}(n)=s $$ Hence $2^{\\text {s+1 }}$ does not divide the number of balanced collections, as desired. Lemma 2. B may play so that after each round the situation remains good. Proof. Assume that the situation $\\left(x_{1}, \\ldots, x_{k}\\right)$ before a round is good, and that $A$ erases two numbers, $x_{p}$ and $x_{q}$. Let $N$ be the number of all balanced collections, $N_{+}$be the number of those having $\\varepsilon_{p}=\\varepsilon_{q}$, and $N_{-}$be the number of other balanced collections. Then $N=N_{+}+N_{-}$. Now, if $B$ replaces $x_{p}$ and $x_{q}$ by $x_{p}+x_{q}$, then the number of balanced collections will become $N_{+}$. If $B$ replaces $x_{p}$ and $x_{q}$ by $\\left|x_{p}-x_{q}\\right|$, then this number will become $N_{-}$. Since $2^{s+1}$ does not divide $N$, it does not divide one of the summands $N_{+}$and $N_{-}$, hence $B$ can reach a good situation after the round. Lemma 3. Assume that the game terminates at a good situation. Then the board contains at most $s$ numbers. Proof. Suppose, one of the numbers is greater than the sum of the other numbers. Then the number of balanced collections is 0 and hence divisible by $2^{s+1}$. Therefore, the situation is not good. Then we have only zeros on the blackboard at the moment when the game terminates. If there are $k$ of them, then the number of balanced collections is $2^{k}$. Since the situation is good, we have $k \\leqslant s$. By Lemmas 1 and 2, $B$ may act in such way that they keep the situation good. By Lemma 3, when the game terminates, the board contains at most $s$ numbers. This is what we aimed to prove. Comment 1. If the initial situation had some odd number $n>1$ of ones on the blackboard, player $A$ would still get $S_{2}(n)$ cookies, provided that both players act optimally. The proof of this fact is similar to the solution above, after one makes some changes in the definitions. Such changes are listed below. Say that a collection of $k$ signs $\\varepsilon_{1}, \\ldots, \\varepsilon_{k} \\in\\{+1,-1\\}$ is positive if $$ \\sum_{i=1}^{k} \\varepsilon_{i} x_{i}>0 $$ For every index $i=1,2, \\ldots, k$, we denote by $N_{i}$ the number of positive collections such that $\\varepsilon_{i}=1$. Finally, say that a situation on the board is good if $2^{s-1}$ does not divide at least one of the numbers $N_{i}$. Now, a strategy for $B$ again consists in preserving the situation good, after each round. Comment 2. There is an easier strategy for $B$, allowing, in the game starting with an even number $n$ of ones, to lose no more than $d=\\left\\lfloor\\log _{2}(n+2)\\right\\rfloor-1$ cookies. If the binary representation of $n$ contains at most two zeros, then $d=S_{2}(n)$, and hence the strategy is optimal in that case. We outline this approach below. First of all, we can assume that $A$ never erases zeros from the blackboard. Indeed, $A$ may skip such moves harmlessly, ignoring the zeros in the further process; this way, $A$ 's win will just increase. We say that a situation on the blackboard is pretty if the numbers on the board can be partitioned into two groups with equal sums. Clearly, if the situation before some round is pretty, then $B$ may play so as to preserve this property after the round. The strategy for $B$ is as follows: - $B$ always chooses a move that leads to a pretty situation. - If both possible moves of $B$ lead to pretty situations, then $B$ writes the sum of the two numbers erased by $A$. Since the situation always remains pretty, the game terminates when all numbers on the board are zeros. Suppose that, at the end of the game, there are $m \\geqslant d+1=\\left\\lfloor\\log _{2}(n+2)\\right\\rfloor$ zeros on the board; then $2^{m}-1>n / 2$. Now we analyze the whole process of the play. Let us number the zeros on the board in order of appearance. During the play, each zero had appeared after subtracting two equal numbers. Let $n_{1}, \\ldots, n_{m}$ be positive integers such that the first zero appeared after subtracting $n_{1}$ from $n_{1}$, the second zero appeared after subtracting $n_{2}$ from $n_{2}$, and so on. Since the sum of the numbers on the blackboard never increases, we have $2 n_{1}+\\ldots+2 n_{m} \\leqslant n$, hence $$ n_{1}+\\ldots+n_{m} \\leqslant n / 2<2^{m}-1 $$ There are $2^{m}$ subsets of the set $\\{1,2, \\ldots, m\\}$. For $I \\subseteq\\{1,2, \\ldots, m\\}$, denote by $f(I)$ the sum $\\sum_{i \\in I} n_{i}$. There are less than $2^{m}$ possible values for $f(I)$, so there are two distinct subsets $I$ and $J$ with $f(I)=f(J)$. Replacing $I$ and $J$ with $I \\backslash J$ and $J \\backslash I$, we assume that $I$ and $J$ are disjoint. Let $i_{0}$ be the smallest number in $I \\cup J$; without loss of generality, $i_{0} \\in I$. Consider the round when $A$ had erased two numbers equal to $n_{i_{0}}$, and $B$ had put the $i_{0}{ }^{\\text {th }}$ zero instead, and the situation before that round. For each nonzero number $z$ which is on the blackboard at this moment, we can keep track of it during the further play until it enters one of the numbers $n_{i}, i \\geqslant i_{0}$, which then turn into zeros. For every $i=i_{0}, i_{0}+1, \\ldots, m$, we denote by $X_{i}$ the collection of all numbers on the blackboard that finally enter the first copy of $n_{i}$, and by $Y_{i}$ the collection of those finally entering the second copy of $n_{i}$. Thus, each of $X_{i_{0}}$ and $Y_{i_{0}}$ consists of a single number. Since $A$ never erases zeros, the 2(m-iol $i_{0}$ ) defined sets are pairwise disjoint. Clearly, for either of the collections $X_{i}$ and $Y_{i}$, a signed sum of its elements equals $n_{i}$, for a proper choice of the signs. Therefore, for every $i=i_{0}, i_{0}+1, \\ldots, m$ one can endow numbers in $X_{i} \\cup Y_{i}$ with signs so that their sum becomes any of the numbers $-2 n_{i}, 0$, or $2 n_{i}$. Perform such endowment so as to get $2 n_{i}$ from each collection $X_{i} \\cup Y_{i}$ with $i \\in I,-2 n_{j}$ from each collection $X_{j} \\cup Y_{j}$ with $j \\in J$, and 0 from each remaining collection. The obtained signed sum of all numbers on the blackboard equals $$ \\sum_{i \\in I} 2 n_{i}-\\sum_{i \\in J} 2 n_{i}=0 $$ and the numbers in $X_{i_{0}}$ and $Y_{i_{0}}$ have the same (positive) sign. This means that, at this round, $B$ could add up the two numbers $n_{i_{0}}$ to get a pretty situation. According to the strategy, $B$ should have performed that, instead of subtracting the numbers. This contradiction shows that $m \\leqslant d$, as desired. This page is intentionally left blank", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G1", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be an isosceles triangle with $B C=C A$, and let $D$ be a point inside side $A B$ such that $A D90^{\\circ}, \\angle C D A>90^{\\circ}$, and $\\angle D A B=\\angle B C D$. Denote by $E$ and $F$ the reflections of $A$ in lines $B C$ and $C D$, respectively. Suppose that the segments $A E$ and $A F$ meet the line $B D$ at $K$ and $L$, respectively. Prove that the circumcircles of triangles $B E K$ and $D F L$ are tangent to each other. (Slovakia)", "solution": "Denote by $A^{\\prime}$ the reflection of $A$ in $B D$. We will show that that the quadrilaterals $A^{\\prime} B K E$ and $A^{\\prime} D L F$ are cyclic, and their circumcircles are tangent to each other at point $A^{\\prime}$. From the symmetry about line $B C$ we have $\\angle B E K=\\angle B A K$, while from the symmetry in $B D$ we have $\\angle B A K=\\angle B A^{\\prime} K$. Hence $\\angle B E K=\\angle B A^{\\prime} K$, which implies that the quadrilateral $A^{\\prime} B K E$ is cyclic. Similarly, the quadrilateral $A^{\\prime} D L F$ is also cyclic. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-54.jpg?height=632&width=1229&top_left_y=818&top_left_x=419) For showing that circles $A^{\\prime} B K E$ and $A^{\\prime} D L F$ are tangent it suffices to prove that $$ \\angle A^{\\prime} K B+\\angle A^{\\prime} L D=\\angle B A^{\\prime} D . $$ Indeed, by $A K \\perp B C$, $A L \\perp C D$, and again the symmetry in $B D$ we have $$ \\angle A^{\\prime} K B+\\angle A^{\\prime} L D=180^{\\circ}-\\angle K A^{\\prime} L=180^{\\circ}-\\angle K A L=\\angle B C D=\\angle B A D=\\angle B A^{\\prime} D, $$ as required. Comment 1. The key to the solution above is introducing the point $A^{\\prime}$; then the angle calculations can be done in many different ways.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G3", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a convex quadrilateral with $\\angle A B C>90^{\\circ}, \\angle C D A>90^{\\circ}$, and $\\angle D A B=\\angle B C D$. Denote by $E$ and $F$ the reflections of $A$ in lines $B C$ and $C D$, respectively. Suppose that the segments $A E$ and $A F$ meet the line $B D$ at $K$ and $L$, respectively. Prove that the circumcircles of triangles $B E K$ and $D F L$ are tangent to each other. (Slovakia)", "solution": "Note that $\\angle K A L=180^{\\circ}-\\angle B C D$, since $A K$ and $A L$ are perpendicular to $B C$ and $C D$, respectively. Reflect both circles $(B E K)$ and $(D F L)$ in $B D$. Since $\\angle K E B=\\angle K A B$ and $\\angle D F L=\\angle D A L$, the images are the circles $(K A B)$ and $(L A D)$, respectively; so they meet at $A$. We need to prove that those two reflections are tangent at $A$. For this purpose, we observe that $$ \\angle A K B+\\angle A L D=180^{\\circ}-\\angle K A L=\\angle B C D=\\angle B A D . $$ Thus, there exists a ray $A P$ inside angle $\\angle B A D$ such that $\\angle B A P=\\angle A K B$ and $\\angle D A P=$ $\\angle D L A$. Hence the line $A P$ is a common tangent to the circles $(K A B)$ and $(L A D)$, as desired. Comment 2. The statement of the problem remains true for a more general configuration, e.g., if line $B D$ intersect the extension of segment $A E$ instead of the segment itself, etc. The corresponding restrictions in the statement are given to reduce case sensitivity.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G4", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "In the plane, there are $n \\geqslant 6$ pairwise disjoint disks $D_{1}, D_{2}, \\ldots, D_{n}$ with radii $R_{1} \\geqslant R_{2} \\geqslant \\ldots \\geqslant R_{n}$. For every $i=1,2, \\ldots, n$, a point $P_{i}$ is chosen in disk $D_{i}$. Let $O$ be an arbitrary point in the plane. Prove that $$ O P_{1}+O P_{2}+\\ldots+O P_{n} \\geqslant R_{6}+R_{7}+\\ldots+R_{n} $$ (A disk is assumed to contain its boundary.) (Iran)", "solution": "We will make use of the following lemma. Lemma. Let $D_{1}, \\ldots, D_{6}$ be disjoint disks in the plane with radii $R_{1}, \\ldots, R_{6}$. Let $P_{i}$ be a point in $D_{i}$, and let $O$ be an arbitrary point. Then there exist indices $i$ and $j$ such that $O P_{i} \\geqslant R_{j}$. Proof. Let $O_{i}$ be the center of $D_{i}$. Consider six rays $O O_{1}, \\ldots, O O_{6}$ (if $O=O_{i}$, then the ray $O O_{i}$ may be assumed to have an arbitrary direction). These rays partition the plane into six angles (one of which may be non-convex) whose measures sum up to $360^{\\circ}$; hence one of the angles, say $\\angle O_{i} O O_{j}$, has measure at most $60^{\\circ}$. Then $O_{i} O_{j}$ cannot be the unique largest side in (possibly degenerate) triangle $O O_{i} O_{j}$, so, without loss of generality, $O O_{i} \\geqslant O_{i} O_{j} \\geqslant R_{i}+R_{j}$. Therefore, $O P_{i} \\geqslant O O_{i}-R_{i} \\geqslant\\left(R_{i}+R_{j}\\right)-R_{i}=R_{j}$, as desired. Now we prove the required inequality by induction on $n \\geqslant 5$. The base case $n=5$ is trivial. For the inductive step, apply the Lemma to the six largest disks, in order to find indices $i$ and $j$ such that $1 \\leqslant i, j \\leqslant 6$ and $O P_{i} \\geqslant R_{j} \\geqslant R_{6}$. Removing $D_{i}$ from the configuration and applying the inductive hypothesis, we get $$ \\sum_{k \\neq i} O P_{k} \\geqslant \\sum_{\\ell \\geqslant 7} R_{\\ell} . $$ Adding up this inequality with $O P_{i} \\geqslant R_{6}$ we establish the inductive step. Comment 1. It is irrelevant to the problem whether the disks contain their boundaries or not. This condition is included for clarity reasons only. The problem statement remains true, and the solution works verbatim, if the disks are assumed to have disjoint interiors. Comment 2. There are several variations of the above solution. In particular, while performing the inductive step, one may remove the disk with the largest value of $O P_{i}$ and apply the inductive hypothesis to the remaining disks (the Lemma should still be applied to the six largest disks). Comment 3. While proving the Lemma, one may reduce it to a particular case when the disks are congruent, as follows: Choose the smallest radius $r$ of the disks in the Lemma statement, and then replace, for each $i$, the $i^{\\text {th }}$ disk with its homothetic copy, using the homothety centered at $P_{i}$ with ratio $r / R_{i}$. This argument shows that the Lemma is tightly connected to a circle packing problem, see, e.g., https://en.wikipedia.org/wiki/Circle_packing_in_a_circle. The known results on that problem provide versions of the Lemma for different numbers of disks, which lead to different inequalities of the same kind. E.g., for 4 disks the best possible estimate in the Lemma is $O P_{i} \\geqslant(\\sqrt{2}-1) R_{j}$, while for 13 disks it has the form $O P_{i} \\geqslant \\sqrt{5} R_{j}$. Arguing as in the above solution, one obtains the inequalities $$ \\sum_{i=1}^{n} O P_{i} \\geqslant(\\sqrt{2}-1) \\sum_{j=4}^{n} R_{j} \\quad \\text { and } \\quad \\sum_{i=1}^{n} O P_{i} \\geqslant \\sqrt{5} \\sum_{j=13}^{n} R_{j} . $$ However, there are some harder arguments which allow to improve these inequalities, meaning that the $R_{j}$ with large indices may be taken with much greater factors.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G5", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a cyclic quadrilateral with no two sides parallel. Let $K, L, M$, and $N$ be points lying on sides $A B, B C, C D$, and $D A$, respectively, such that $K L M N$ is a rhombus with $K L \\| A C$ and $L M \\| B D$. Let $\\omega_{1}, \\omega_{2}, \\omega_{3}$, and $\\omega_{4}$ be the incircles of triangles $A N K$, $B K L, C L M$, and $D M N$, respectively. Prove that the internal common tangents to $\\omega_{1}$ and $\\omega_{3}$ and the internal common tangents to $\\omega_{2}$ and $\\omega_{4}$ are concurrent. (Poland)", "solution": "Let $I_{i}$ be the center of $\\omega_{i}$, and let $r_{i}$ be its radius for $i=1,2,3,4$. Denote by $T_{1}$ and $T_{3}$ the points of tangency of $\\omega_{1}$ and $\\omega_{3}$ with $N K$ and $L M$, respectively. Suppose that the internal common tangents to $\\omega_{1}$ and $\\omega_{3}$ meet at point $S$, which is the center of homothety $h$ with negative ratio (namely, with ratio $-\\frac{r_{3}}{r_{1}}$ ) mapping $\\omega_{1}$ to $\\omega_{3}$. This homothety takes $T_{1}$ to $T_{3}$ (since the tangents to $\\omega_{1}$ and $\\omega_{3}$ at $T_{1}$ to $T_{3}$ are parallel), hence $S$ is a point on the segment $T_{1} T_{3}$ with $T_{1} S: S T_{3}=r_{1}: r_{3}$. Construct segments $S_{1} S_{3} \\| K L$ and $S_{2} S_{4} \\| L M$ through $S$ with $S_{1} \\in N K, S_{2} \\in K L$, $S_{3} \\in L M$, and $S_{4} \\in M N$. Note that $h$ takes $S_{1}$ to $S_{3}$, hence $I_{1} S_{1} \\| I_{3} S_{3}$, and $S_{1} S: S S_{3}=r_{1}: r_{3}$. We will prove that $S_{2} S: S S_{4}=r_{2}: r_{4}$ or, equivalently, $K S_{1}: S_{1} N=r_{2}: r_{4}$. This will yield the problem statement; indeed, applying similar arguments to the intersection point $S^{\\prime}$ of the internal common tangents to $\\omega_{2}$ and $\\omega_{4}$, we see that $S^{\\prime}$ satisfies similar relations, and there is a unique point inside $K L M N$ satisfying them. Therefore, $S^{\\prime}=S$. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-56.jpg?height=670&width=1409&top_left_y=1207&top_left_x=326) Further, denote by $I_{A}, I_{B}, I_{C}, I_{D}$ and $r_{A}, r_{B}, r_{C}, r_{D}$ the incenters and inradii of triangles $D A B, A B C, B C D$, and $C D A$, respectively. One can shift triangle $C L M$ by $\\overrightarrow{L K}$ to glue it with triangle $A K N$ into a quadrilateral $A K C^{\\prime} N$ similar to $A B C D$. In particular, this shows that $r_{1}: r_{3}=r_{A}: r_{C}$; similarly, $r_{2}: r_{4}=r_{B}: r_{D}$. Moreover, the same shift takes $S_{3}$ to $S_{1}$, and it also takes $I_{3}$ to the incenter $I_{3}^{\\prime}$ of triangle $K C^{\\prime} N$. Since $I_{1} S_{1} \\| I_{3} S_{3}$, the points $I_{1}, S_{1}, I_{3}^{\\prime}$ are collinear. Thus, in order to complete the solution, it suffices to apply the following Lemma to quadrilateral $A K C^{\\prime} N$. Lemma 1. Let $A B C D$ be a cyclic quadrilateral, and define $I_{A}, I_{C}, r_{B}$, and $r_{D}$ as above. Let $I_{A} I_{C}$ meet $B D$ at $X$; then $B X: X D=r_{B}: r_{D}$. Proof. Consider an inversion centered at $X$; the images under that inversion will be denoted by primes, e.g., $A^{\\prime}$ is the image of $A$. By properties of inversion, we have $$ \\angle I_{C}^{\\prime} I_{A}^{\\prime} D^{\\prime}=\\angle X I_{A}^{\\prime} D^{\\prime}=\\angle X D I_{A}=\\angle B D A / 2=\\angle B C A / 2=\\angle A C I_{B} $$ We obtain $\\angle I_{A}^{\\prime} I_{C}^{\\prime} D^{\\prime}=\\angle C A I_{B}$ likewise; therefore, $\\triangle I_{C}^{\\prime} I_{A}^{\\prime} D^{\\prime} \\sim \\triangle A C I_{B}$. In the same manner, we get $\\triangle I_{C}^{\\prime} I_{A}^{\\prime} B^{\\prime} \\sim \\triangle A C I_{D}$, hence the quadrilaterals $I_{C}^{\\prime} B^{\\prime} I_{A}^{\\prime} D^{\\prime}$ and $A I_{D} C I_{B}$ are also similar. But the diagonals $A C$ and $I_{B} I_{D}$ of quadrilateral $A I_{D} C I_{B}$ meet at a point $Y$ such that $I_{B} Y$ : $Y I_{D}=r_{B}: r_{D}$. By similarity, we get $D^{\\prime} X: B^{\\prime} X=r_{B}: r_{D}$ and hence $B X: X D=D^{\\prime} X:$ $B^{\\prime} X=r_{B}: r_{D}$. Comment 1. The solution above shows that the problem statement holds also for any parallelogram $K L M N$ whose sides are parallel to the diagonals of $A B C D$, as no property specific for a rhombus has been used. This solution works equally well when two sides of quadrilateral $A B C D$ are parallel. Comment 2. The problem may be reduced to Lemma 1 by using different tools, e.g., by using mass point geometry, linear motion of $K, L, M$, and $N$, etc. Lemma 1 itself also can be proved in different ways. We present below one alternative proof. Proof. In the circumcircle of $A B C D$, let $K^{\\prime}, L^{\\prime} . M^{\\prime}$, and $N^{\\prime}$ be the midpoints of arcs $A B, B C$, $C D$, and $D A$ containing no other vertices of $A B C D$, respectively. Thus, $K^{\\prime}=C I_{B} \\cap D I_{A}$, etc. In the computations below, we denote by $[P]$ the area of a polygon $P$. We use similarities $\\triangle I_{A} B K^{\\prime} \\sim$ $\\triangle I_{A} D N^{\\prime}, \\triangle I_{B} K^{\\prime} L^{\\prime} \\sim \\triangle I_{B} A C$, etc., as well as congruences $\\triangle I_{B} K^{\\prime} L^{\\prime}=\\triangle B K^{\\prime} L^{\\prime}$ and $\\triangle I_{D} M^{\\prime} N^{\\prime}=$ $\\triangle D M^{\\prime} N^{\\prime}$ (e.g., the first congruence holds because $K^{\\prime} L^{\\prime}$ is a common internal bisector of angles $B K^{\\prime} I_{B}$ and $B L^{\\prime} I_{B}$ ). We have $$ \\begin{aligned} & \\frac{B X}{D X}=\\frac{\\left[I_{A} B I_{C}\\right]}{\\left[I_{A} D I_{C}\\right]}=\\frac{B I_{A} \\cdot B I_{C} \\cdot \\sin I_{A} B I_{C}}{D I_{A} \\cdot D I_{C} \\cdot \\sin I_{A} D I_{C}}=\\frac{B I_{A}}{D I_{A}} \\cdot \\frac{B I_{C}}{D I_{C}} \\cdot \\frac{\\sin N^{\\prime} B M^{\\prime}}{\\sin K^{\\prime} D L^{\\prime}} \\\\ & =\\frac{B K^{\\prime}}{D N^{\\prime}} \\cdot \\frac{B L^{\\prime}}{D M^{\\prime}} \\cdot \\frac{\\sin N^{\\prime} D M^{\\prime}}{\\sin K^{\\prime} B L^{\\prime}}=\\frac{B K^{\\prime} \\cdot B L^{\\prime} \\cdot \\sin K^{\\prime} B L^{\\prime}}{D N^{\\prime} \\cdot D M^{\\prime} \\cdot \\sin N^{\\prime} D M^{\\prime}} \\cdot \\frac{\\sin ^{2} N^{\\prime} D M^{\\prime}}{\\sin ^{2} K^{\\prime} B L^{\\prime}} \\\\ & \\quad=\\frac{\\left[K^{\\prime} B L^{\\prime}\\right]}{\\left[M^{\\prime} D N^{\\prime}\\right]} \\cdot \\frac{N^{\\prime} M^{\\prime 2}}{K^{\\prime} L^{\\prime 2}}=\\frac{\\left[K^{\\prime} I_{B} L^{\\prime}\\right] \\cdot \\frac{A^{\\prime} C^{\\prime 2}}{K^{\\prime} L^{\\prime 2}}}{\\left[M^{\\prime} I_{D} N^{\\prime}\\right] \\cdot \\frac{A^{\\prime} C^{\\prime 2}}{N^{\\prime} M^{\\prime 2}}}=\\frac{\\left[A I_{B} C\\right]}{\\left[A I_{D} C\\right]}=\\frac{r_{B}}{r_{D}}, \\end{aligned} $$ as required.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G5", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a cyclic quadrilateral with no two sides parallel. Let $K, L, M$, and $N$ be points lying on sides $A B, B C, C D$, and $D A$, respectively, such that $K L M N$ is a rhombus with $K L \\| A C$ and $L M \\| B D$. Let $\\omega_{1}, \\omega_{2}, \\omega_{3}$, and $\\omega_{4}$ be the incircles of triangles $A N K$, $B K L, C L M$, and $D M N$, respectively. Prove that the internal common tangents to $\\omega_{1}$ and $\\omega_{3}$ and the internal common tangents to $\\omega_{2}$ and $\\omega_{4}$ are concurrent. (Poland)", "solution": "This solution is based on the following general Lemma. Lemma 2. Let $E$ and $F$ be distinct points, and let $\\omega_{i}, i=1,2,3,4$, be circles lying in the same halfplane with respect to $E F$. For distinct indices $i, j \\in\\{1,2,3,4\\}$, denote by $O_{i j}^{+}$ (respectively, $O_{i j}^{-}$) the center of homothety with positive (respectively, negative) ratio taking $\\omega_{i}$ to $\\omega_{j}$. Suppose that $E=O_{12}^{+}=O_{34}^{+}$and $F=O_{23}^{+}=O_{41}^{+}$. Then $O_{13}^{-}=O_{24}^{-}$. Proof. Applying Monge's theorem to triples of circles $\\omega_{1}, \\omega_{2}, \\omega_{4}$ and $\\omega_{1}, \\omega_{3}, \\omega_{4}$, we get that both points $O_{24}^{-}$and $O_{13}^{-}$lie on line $E O_{14}^{-}$. Notice that this line is distinct from $E F$. Similarly we obtain that both points $O_{24}^{-}$and $O_{13}^{-}$lie on $F O_{34}^{-}$. Since the lines $E O_{14}^{-}$and $F O_{34}^{-}$are distinct, both points coincide with the meeting point of those lines. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-57.jpg?height=716&width=1837&top_left_y=2073&top_left_x=108) Turning back to the problem, let $A B$ intersect $C D$ at $E$ and let $B C$ intersect $D A$ at $F$. Assume, without loss of generality, that $B$ lies on segments $A E$ and $C F$. We will show that the points $E$ and $F$, and the circles $\\omega_{i}$ satisfy the conditions of Lemma 2 , so the problem statement follows. In the sequel, we use the notation of $O_{i j}^{ \\pm}$from the statement of Lemma 2, applied to circles $\\omega_{1}, \\omega_{2}, \\omega_{3}$, and $\\omega_{4}$. Using the relations $\\triangle E C A \\sim \\triangle E B D, K N \\| B D$, and $M N \\| A C$. we get $$ \\frac{A N}{N D}=\\frac{A N}{A D} \\cdot \\frac{A D}{N D}=\\frac{K N}{B D} \\cdot \\frac{A C}{N M}=\\frac{A C}{B D}=\\frac{A E}{E D} $$ Therefore, by the angle bisector theorem, point $N$ lies on the internal angle bisector of $\\angle A E D$. We prove similarly that $L$ also lies on that bisector, and that the points $K$ and $M$ lie on the internal angle bisector of $\\angle A F B$. Since $K L M N$ is a rhombus, points $K$ and $M$ are symmetric in line $E L N$. Hence, the convex quadrilateral determined by the lines $E K, E M, K L$, and $M L$ is a kite, and therefore it has an incircle $\\omega_{0}$. Applying Monge's theorem to $\\omega_{0}, \\omega_{2}$, and $\\omega_{3}$, we get that $O_{23}^{+}$lies on $K M$. On the other hand, $O_{23}^{+}$lies on $B C$, as $B C$ is an external common tangent to $\\omega_{2}$ and $\\omega_{3}$. It follows that $F=O_{23}^{+}$. Similarly, $E=O_{12}^{+}=O_{34}^{+}$, and $F=O_{41}^{+}$. Comment 3. The reduction to Lemma 2 and the proof of Lemma 2 can be performed with the use of different tools, e.g., by means of Menelaus theorem, by projecting harmonic quadruples, by applying Monge's theorem in some other ways, etc. This page is intentionally left blank", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G6", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $I$ and $I_{A}$ be the incenter and the $A$-excenter of an acute-angled triangle $A B C$ with $A B(t-1) \\frac{\\sqrt{3}}{2}$, or $$ t<1+\\frac{4 \\sqrt{M}}{\\sqrt{3}}<4 \\sqrt{M} $$ as $M \\geqslant 1$. Combining the estimates (1), (2), and (3), we finally obtain $$ \\frac{1}{4 \\delta} \\leqslant t<4 \\sqrt{M}<4 \\sqrt{2 n \\delta}, \\quad \\text { or } \\quad 512 n \\delta^{3}>1 $$ which does not hold for the chosen value of $\\delta$. Comment 1. As the proposer mentions, the exponent $-1 / 3$ in the problem statement is optimal. In fact, for any $n \\geqslant 2$, there is a configuration $\\mathcal{S}$ of $n$ points in the plane such that any two points in $\\mathcal{S}$ are at least 1 apart, but every line $\\ell$ separating $\\mathcal{S}$ is at most $c^{\\prime} n^{-1 / 3} \\log n$ apart from some point in $\\mathcal{S}$; here $c^{\\prime}$ is some absolute constant. The original proposal suggested to prove the estimate of the form $\\mathrm{cn}^{-1 / 2}$. That version admits much easier solutions. E.g., setting $\\delta=\\frac{1}{16} n^{-1 / 2}$ and applying (1), we see that $\\mathcal{S}$ is contained in a disk $D$ of radius $\\frac{1}{8} n^{1 / 2}$. On the other hand, for each point $X$ of $\\mathcal{S}$, let $D_{X}$ be the disk of radius $\\frac{1}{2}$ centered at $X$; all these disks have disjoint interiors and lie within the disk concentric to $D$, of radius $\\frac{1}{16} n^{1 / 2}+\\frac{1}{2}<\\frac{1}{2} n^{1 / 2}$. Comparing the areas, we get $$ n \\cdot \\frac{\\pi}{4} \\leqslant \\pi\\left(\\frac{n^{1 / 2}}{16}+\\frac{1}{2}\\right)^{2}<\\frac{\\pi n}{4} $$ which is a contradiction. The Problem Selection Committee decided to choose a harder version for the Shortlist. Comment 2. In this comment, we discuss some versions of the solution above, which avoid concentrating on the diameter of $\\mathcal{S}$. We start with introducing some terminology suitable for those versions. Put $\\delta=c n^{-1 / 3}$ for a certain sufficiently small positive constant $c$. For the sake of contradiction, suppose that, for some set $\\mathcal{S}$ satisfying the conditions in the problem statement, there is no separating line which is at least $\\delta$ apart from each point of $\\mathcal{S}$. Let $C$ be the convex hull of $\\mathcal{S}$. A line is separating if and only if it meets $C$ (we assume that a line passing through a point of $\\mathcal{S}$ is always separating). Consider a strip between two parallel separating lines $a$ and $a^{\\prime}$ which are, say, $\\frac{1}{4}$ apart from each other. Define a slice determined by the strip as the intersection of $\\mathcal{S}$ with the strip. The length of the slice is the diameter of the projection of the slice to $a$. In this terminology, the arguments used in the proofs of (2) and (3) show that for any slice $\\mathcal{T}$ of length $L$, we have $$ \\frac{1}{8 \\delta} \\leqslant|\\mathcal{T}| \\leqslant 1+\\frac{4}{\\sqrt{15}} L $$ The key idea of the solution is to apply these estimates to a peel slice, where line $a$ does not cross the interior of $C$. In the above solution, this idea was applied to one carefully chosen peel slice. Here, we outline some different approach involving many of them. We always assume that $n$ is sufficiently large. Consider a peel slice determined by lines $a$ and $a^{\\prime}$, where $a$ contains no interior points of $C$. We orient $a$ so that $C$ lies to the left of $a$. Line $a$ is called a supporting line of the slice, and the obtained direction is the direction of the slice; notice that the direction determines uniquely the supporting line and hence the slice. Fix some direction $\\mathbf{v}_{0}$, and for each $\\alpha \\in[0,2 \\pi)$ denote by $\\mathcal{T}_{\\alpha}$ the peel slice whose direction is $\\mathbf{v}_{0}$ rotated by $\\alpha$ counterclockwise. When speaking about the slice, we always assume that the figure is rotated so that its direction is vertical from the bottom to the top; then the points in $\\mathcal{T}$ get a natural order from the bottom to the top. In particular, we may speak about the top half $\\mathrm{T}(\\mathcal{T})$ consisting of $\\lfloor|\\mathcal{T}| / 2\\rfloor$ topmost points in $\\mathcal{T}$, and similarly about its bottom half $\\mathrm{B}(\\mathcal{T})$. By (4), each half contains at least 10 points when $n$ is large. Claim. Consider two angles $\\alpha, \\beta \\in[0, \\pi / 2]$ with $\\beta-\\alpha \\geqslant 40 \\delta=: \\phi$. Then all common points of $\\mathcal{T}_{\\alpha}$ and $\\mathcal{T}_{\\beta}$ lie in $\\mathrm{T}\\left(\\mathcal{T}_{\\alpha}\\right) \\cap \\mathrm{B}\\left(\\mathcal{T}_{\\beta}\\right)$. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-71.jpg?height=738&width=1338&top_left_y=201&top_left_x=366) Proof. By symmetry, it suffices to show that all those points lie in $\\mathrm{T}\\left(\\mathcal{T}_{\\alpha}\\right)$. Let $a$ be the supporting line of $\\mathcal{T}_{\\alpha}$, and let $\\ell$ be a line perpendicular to the direction of $\\mathcal{T}_{\\beta}$. Let $P_{1}, \\ldots, P_{k}$ list all points in $\\mathcal{T}_{\\alpha}$, numbered from the bottom to the top; by (4), we have $k \\geqslant \\frac{1}{8} \\delta^{-1}$. Introduce the Cartesian coordinates so that the (oriented) line $a$ is the $y$-axis. Let $P_{i}$ be any point in $\\mathrm{B}\\left(\\mathcal{T}_{\\alpha}\\right)$. The difference of ordinates of $P_{k}$ and $P_{i}$ is at least $\\frac{\\sqrt{15}}{4}(k-i)>\\frac{1}{3} k$, while their abscissas differ by at most $\\frac{1}{4}$. This easily yields that the projections of those points to $\\ell$ are at least $$ \\frac{k}{3} \\sin \\phi-\\frac{1}{4} \\geqslant \\frac{1}{24 \\delta} \\cdot 20 \\delta-\\frac{1}{4}>\\frac{1}{4} $$ apart from each other, and $P_{k}$ is closer to the supporting line of $\\mathcal{T}_{\\beta}$ than $P_{i}$, so that $P_{i}$ does not belong to $\\mathcal{T}_{\\beta}$. Now, put $\\alpha_{i}=40 \\delta i$, for $i=0,1, \\ldots,\\left\\lfloor\\frac{1}{40} \\delta^{-1} \\cdot \\frac{\\pi}{2}\\right\\rfloor$, and consider the slices $\\mathcal{T}_{\\alpha_{i}}$. The Claim yields that each point in $\\mathcal{S}$ is contained in at most two such slices. Hence, the union $\\mathcal{U}$ of those slices contains at least $$ \\frac{1}{2} \\cdot \\frac{1}{8 \\delta} \\cdot \\frac{1}{40 \\delta} \\cdot \\frac{\\pi}{2}=\\frac{\\lambda}{\\delta^{2}} $$ points (for some constant $\\lambda$ ), and each point in $\\mathcal{U}$ is at most $\\frac{1}{4}$ apart from the boundary of $C$. It is not hard now to reach a contradiction with (1). E.g., for each point $X \\in \\mathcal{U}$, consider a closest point $f(X)$ on the boundary of $C$. Obviously, $f(X) f(Y) \\geqslant X Y-\\frac{1}{2} \\geqslant \\frac{1}{2} X Y$ for all $X, Y \\in \\mathcal{U}$. This yields that the perimeter of $C$ is at least $\\mu \\delta^{-2}$, for some constant $\\mu$, and hence the diameter of $\\mathcal{S}$ is of the same order. Alternatively, one may show that the projection of $\\mathcal{U}$ to the line at the angle of $\\pi / 4$ with $\\mathbf{v}_{0}$ has diameter at least $\\mu \\delta^{-2}$ for some constant $\\mu$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Given a positive integer $k$, show that there exists a prime $p$ such that one can choose distinct integers $a_{1}, a_{2}, \\ldots, a_{k+3} \\in\\{1,2, \\ldots, p-1\\}$ such that $p$ divides $a_{i} a_{i+1} a_{i+2} a_{i+3}-i$ for all $i=1,2, \\ldots, k$. (South Africa)", "solution": "First we choose distinct positive rational numbers $r_{1}, \\ldots, r_{k+3}$ such that $$ r_{i} r_{i+1} r_{i+2} r_{i+3}=i \\quad \\text { for } 1 \\leqslant i \\leqslant k $$ Let $r_{1}=x, r_{2}=y, r_{3}=z$ be some distinct primes greater than $k$; the remaining terms satisfy $r_{4}=\\frac{1}{r_{1} r_{2} r_{3}}$ and $r_{i+4}=\\frac{i+1}{i} r_{i}$. It follows that if $r_{i}$ are represented as irreducible fractions, the numerators are divisible by $x$ for $i \\equiv 1(\\bmod 4)$, by $y$ for $i \\equiv 2(\\bmod 4)$, by $z$ for $i \\equiv 3(\\bmod 4)$ and by none for $i \\equiv 0(\\bmod 4)$. Notice that $r_{i}3$ dividing a number of the form $x^{2}-x+1$ with integer $x$ there are two unconnected islands in $p$-Landia. For brevity's sake, when a bridge connects the islands numbered $m$ and $n$, we shall speak simply that it connects $m$ and $n$. A bridge connects $m$ and $n$ if $n \\equiv m^{2}+1(\\bmod p)$ or $m \\equiv n^{2}+1(\\bmod p)$. If $m^{2}+1 \\equiv n$ $(\\bmod p)$, we draw an arrow starting at $m$ on the bridge connecting $m$ and $n$. Clearly only one arrow starts at $m$ if $m^{2}+1 \\not \\equiv m(\\bmod p)$, and no arrows otherwise. The total number of bridges does not exceed the total number of arrows. Suppose $x^{2}-x+1 \\equiv 0(\\bmod p)$. We may assume that $1 \\leqslant x \\leqslant p$; then there is no arrow starting at $x$. Since $(1-x)^{2}-(1-x)+1=x^{2}-x+1,(p+1-x)^{2}+1 \\equiv(p+1-x)(\\bmod p)$, and there is also no arrow starting at $p+1-x$. If $x=p+1-x$, that is, $x=\\frac{p+1}{2}$, then $4\\left(x^{2}-x+1\\right)=p^{2}+3$ and therefore $x^{2}-x+1$ is not divisible by $p$. Thus the islands $x$ and $p+1-x$ are different, and no arrows start at either of them. It follows that the total number of bridges in $p$-Landia does not exceed $p-2$. Let $1,2, \\ldots, p$ be the vertices of a graph $G_{p}$, where an edge connects $m$ and $n$ if and only if there is a bridge between $m$ and $n$. The number of vertices of $G_{p}$ is $p$ and the number of edges is less than $p-1$. This means that the graph is not connected, which means that there are two islands not connected by a chain of bridges. It remains to prove that there are infinitely many primes $p$ dividing $x^{2}-x+1$ for some integer $x$. Let $p_{1}, p_{2}, \\ldots, p_{k}$ be any finite set of such primes. The number $\\left(p_{1} p_{2} \\cdot \\ldots \\cdot p_{k}\\right)^{2}-p_{1} p_{2} \\cdot \\ldots \\cdot p_{k}+1$ is greater than 1 and not divisible by any $p_{i}$; therefore it has another prime divisor with the required property.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For each prime $p$, there is a kingdom of $p$-Landia consisting of $p$ islands numbered $1,2, \\ldots, p$. Two distinct islands numbered $n$ and $m$ are connected by a bridge if and only if $p$ divides $\\left(n^{2}-m+1\\right)\\left(m^{2}-n+1\\right)$. The bridges may pass over each other, but cannot cross. Prove that for infinitely many $p$ there are two islands in $p$-Landia not connected by a chain of bridges. (Denmark)", "solution": "One can show, by using only arithmetical methods, that for infinitely many $p$, the kingdom of $p$-Ladia contains two islands connected to no other island, except for each other. Let arrows between islands have the same meaning as in the previous solution. Suppose that positive $a3$. It follows that $a b \\equiv a(1-a) \\equiv 1$ $(\\bmod p)$. If an arrow goes from $t$ to $a$, then $t$ must satisfy the congruence $t^{2}+1 \\equiv a \\equiv a^{2}+1$ $(\\bmod p)$; the only such $t \\neq a$ is $p-a$. Similarly, the only arrow going to $b$ goes from $p-b$. If one of the numbers $p-a$ and $p-b$, say, $p-a$, is not at the end of any arrow, the pair $a, p-a$ is not connected with the rest of the islands. This is true if at least one of the congruences $x^{2}+1 \\equiv-a, x^{2}+1 \\equiv-b$ has no solutions, that is, either $-a-1$ or $-b-1$ is a quadratic non-residue modulo $p$. Note that $x^{2}-x+1 \\equiv x^{2}-(a+b) x+a b \\equiv(x-a)(x-b)(\\bmod p)$. Substituting $x=-1$ we get $(-1-a)(-1-b) \\equiv 3(\\bmod p)$. If 3 is a quadratic non-residue modulo $p$, so is one of the numbers $-1-a$ and $-1-b$. Thus it is enough to find infinitely many primes $p>3$ dividing $x^{2}-x+1$ for some integer $x$ and such that 3 is a quadratic non-residue modulo $p$. If $x^{2}-x+1 \\equiv 0(\\bmod p)$ then $(2 x-1)^{2} \\equiv-3(\\bmod p)$, that is, -3 is a quadratic residue modulo $p$, so 3 is a quadratic non-residue if and only if -1 is also a non-residue, in other words, $p \\equiv-1(\\bmod 4)$. Similarly to the first solution, let $p_{1}, \\ldots, p_{k}$ be primes congruent to -1 modulo 4 and dividing numbers of the form $x^{2}-x+1$. The number $\\left(2 p_{1} \\cdot \\ldots \\cdot p_{k}\\right)^{2}-2 p_{1} \\cdot \\ldots \\cdot p_{k}+1$ is not divisible by any $p_{i}$ and is congruent to -1 modulo 4 , therefore, it has some prime divisor $p \\equiv-1(\\bmod 4)$ which has the required properties.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n$ be an integer with $n \\geqslant 2$. Does there exist a sequence $\\left(a_{1}, \\ldots, a_{n}\\right)$ of positive integers with not all terms being equal such that the arithmetic mean of every two terms is equal to the geometric mean of some (one or more) terms in this sequence? (Estonia)", "solution": "Suppose that $a_{1}, \\ldots, a_{n}$ satisfy the required properties. Let $d=\\operatorname{gcd}\\left(a_{1} \\ldots, a_{n}\\right)$. If $d>1$ then replace the numbers $a_{1}, \\ldots, a_{n}$ by $\\frac{a_{1}}{d}, \\ldots, \\frac{a_{n}}{d}$; all arithmetic and all geometric means will be divided by $d$, so we obtain another sequence satisfying the condition. Hence, without loss of generality, we can assume that $\\operatorname{gcd}\\left(a_{1} \\ldots, a_{n}\\right)=1$. We show two numbers, $a_{m}$ and $a_{k}$ such that their arithmetic mean, $\\frac{a_{m}+a_{k}}{2}$ is different from the geometric mean of any (nonempty) subsequence of $a_{1} \\ldots, a_{n}$. That proves that there cannot exist such a sequence. Choose the index $m \\in\\{1, \\ldots, n\\}$ such that $a_{m}=\\max \\left(a_{1}, \\ldots, a_{n}\\right)$. Note that $a_{m} \\geqslant 2$, because $a_{1}, \\ldots, a_{n}$ are not all equal. Let $p$ be a prime divisor of $a_{m}$. Let $k \\in\\{1, \\ldots, n\\}$ be an index such that $a_{k}=\\max \\left\\{a_{i}: p \\nmid a_{i}\\right\\}$. Due to $\\operatorname{gcd}\\left(a_{1} \\ldots, a_{n}\\right)=1$, not all $a_{i}$ are divisible by $p$, so such a $k$ exists. Note that $a_{m}>a_{k}$ because $a_{m} \\geqslant a_{k}, p \\mid a_{m}$ and $p \\nmid a_{k}$. Let $b=\\frac{a_{m}+a_{k}}{2}$; we will show that $b$ cannot be the geometric mean of any subsequence of $a_{1}, \\ldots, a_{n}$. Consider the geometric mean, $g=\\sqrt[t]{a_{i_{1}} \\cdot \\ldots \\cdot a_{i_{t}}}$ of an arbitrary subsequence of $a_{1}, \\ldots, a_{n}$. If none of $a_{i_{1}}, \\ldots, a_{i_{t}}$ is divisible by $p$, then they are not greater than $a_{k}$, so $$ g=\\sqrt[t]{a_{i_{1}} \\cdot \\ldots \\cdot a_{i_{t}}} \\leqslant a_{k}<\\frac{a_{m}+a_{k}}{2}=b $$ and therefore $g \\neq b$. Otherwise, if at least one of $a_{i_{1}}, \\ldots, a_{i_{t}}$ is divisible by $p$, then $2 g=2 \\sqrt{t} \\sqrt{a_{i_{1}} \\cdot \\ldots \\cdot a_{i_{t}}}$ is either not an integer or is divisible by $p$, while $2 b=a_{m}+a_{k}$ is an integer not divisible by $p$, so $g \\neq b$ again.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n$ be an integer with $n \\geqslant 2$. Does there exist a sequence $\\left(a_{1}, \\ldots, a_{n}\\right)$ of positive integers with not all terms being equal such that the arithmetic mean of every two terms is equal to the geometric mean of some (one or more) terms in this sequence? (Estonia)", "solution": "Like in the previous solution, we assume that the numbers $a_{1}, \\ldots, a_{n}$ have no common divisor greater than 1 . The arithmetic mean of any two numbers in the sequence is half of an integer; on the other hand, it is a (some integer order) root of an integer. This means each pair's mean is an integer, so all terms in the sequence must be of the same parity; hence they all are odd. Let $d=\\min \\left\\{\\operatorname{gcd}\\left(a_{i}, a_{j}\\right): a_{i} \\neq a_{j}\\right\\}$. By reordering the sequence we can assume that $\\operatorname{gcd}\\left(a_{1}, a_{2}\\right)=d$, the sum $a_{1}+a_{2}$ is maximal among such pairs, and $a_{1}>a_{2}$. We will show that $\\frac{a_{1}+a_{2}}{2}$ cannot be the geometric mean of any subsequence of $a_{1} \\ldots, a_{n}$. Let $a_{1}=x d$ and $a_{2}=y d$ where $x, y$ are coprime, and suppose that there exist some $b_{1}, \\ldots, b_{t} \\in\\left\\{a_{1}, \\ldots, a_{n}\\right\\}$ whose geometric mean is $\\frac{a_{1}+a_{2}}{2}$. Let $d_{i}=\\operatorname{gcd}\\left(a_{1}, b_{i}\\right)$ for $i=1,2, \\ldots, t$ and let $D=d_{1} d_{2} \\cdot \\ldots \\cdot d_{t}$. Then $$ D=d_{1} d_{2} \\cdot \\ldots \\cdot d_{t} \\left\\lvert\\, b_{1} b_{2} \\cdot \\ldots \\cdot b_{t}=\\left(\\frac{a_{1}+a_{2}}{2}\\right)^{t}=\\left(\\frac{x+y}{2}\\right)^{t} d^{t}\\right. $$ We claim that $D \\mid d^{t}$. Consider an arbitrary prime divisor $p$ of $D$. Let $\\nu_{p}(x)$ denote the exponent of $p$ in the prime factorization of $x$. If $p \\left\\lvert\\, \\frac{x+y}{2}\\right.$, then $p \\nmid x, y$, so $p$ is coprime with $x$; hence, $\\nu_{p}\\left(d_{i}\\right) \\leqslant \\nu_{p}\\left(a_{1}\\right)=\\nu_{p}(x d)=\\nu_{p}(d)$ for every $1 \\leqslant i \\leqslant t$, therefore $\\nu_{p}(D)=\\sum_{i} \\nu_{p}\\left(d_{i}\\right) \\leqslant$ $t \\nu_{p}(d)=\\nu_{p}\\left(d^{t}\\right)$. Otherwise, if $p$ is coprime to $\\frac{x+y}{2}$, we have $\\nu_{p}(D) \\leqslant \\nu_{p}\\left(d^{t}\\right)$ trivially. The claim has been proved. Notice that $d_{i}=\\operatorname{gcd}\\left(b_{i}, a_{1}\\right) \\geqslant d$ for $1 \\leqslant i \\leqslant t$ : if $b_{i} \\neq a_{1}$ then this follows from the definition of $d$; otherwise we have $b_{i}=a_{1}$, so $d_{i}=a_{1} \\geqslant d$. Hence, $D=d_{1} \\cdot \\ldots \\cdot d_{t} \\geqslant d^{t}$, and the claim forces $d_{1}=\\ldots=d_{t}=d$. Finally, by $\\frac{a_{1}+a_{2}}{2}>a_{2}$ there must be some $b_{k}$ which is greater than $a_{2}$. From $a_{1}>a_{2} \\geqslant$ $d=\\operatorname{gcd}\\left(a_{1}, b_{k}\\right)$ it follows that $a_{1} \\neq b_{k}$. Now the have a pair $a_{1}, b_{k}$ such that $\\operatorname{gcd}\\left(a_{1}, b_{k}\\right)=d$ but $a_{1}+b_{k}>a_{1}+a_{2}$; that contradicts the choice of $a_{1}$ and $a_{2}$. Comment. The original problem proposal contained a second question asking if there exists a nonconstant sequence $\\left(a_{1}, \\ldots, a_{n}\\right)$ of positive integers such that the geometric mean of every two terms is equal the arithmetic mean of some terms. For $n \\geqslant 3$ such a sequence is $(4,1,1, \\ldots, 1)$. The case $n=2$ can be done by the trivial estimates $$ \\min \\left(a_{1}, a_{2}\\right)<\\sqrt{a_{1} a_{2}}<\\frac{a_{1}+a_{2}}{2}<\\max \\left(a_{1}, a_{2}\\right) $$ The Problem Selection Committee found this variant less interesting and suggests using only the first question.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N4", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For any odd prime $p$ and any integer $n$, let $d_{p}(n) \\in\\{0,1, \\ldots, p-1\\}$ denote the remainder when $n$ is divided by $p$. We say that $\\left(a_{0}, a_{1}, a_{2}, \\ldots\\right)$ is a $p$-sequence, if $a_{0}$ is a positive integer coprime to $p$, and $a_{n+1}=a_{n}+d_{p}\\left(a_{n}\\right)$ for $n \\geqslant 0$. (a) Do there exist infinitely many primes $p$ for which there exist $p$-sequences $\\left(a_{0}, a_{1}, a_{2}, \\ldots\\right)$ and $\\left(b_{0}, b_{1}, b_{2}, \\ldots\\right)$ such that $a_{n}>b_{n}$ for infinitely many $n$, and $b_{n}>a_{n}$ for infinitely many $n$ ? (b) Do there exist infinitely many primes $p$ for which there exist $p$-sequences $\\left(a_{0}, a_{1}, a_{2}, \\ldots\\right)$ and $\\left(b_{0}, b_{1}, b_{2}, \\ldots\\right)$ such that $a_{0}b_{n}$ for all $n \\geqslant 1$ ? (United Kingdom)", "solution": "Fix some odd prime $p$, and let $T$ be the smallest positive integer such that $p \\mid 2^{T}-1$; in other words, $T$ is the multiplicative order of 2 modulo $p$. Consider any $p$-sequence $\\left(x_{n}\\right)=\\left(x_{0}, x_{1}, x_{2}, \\ldots\\right)$. Obviously, $x_{n+1} \\equiv 2 x_{n}(\\bmod p)$ and therefore $x_{n} \\equiv 2^{n} x_{0}(\\bmod p)$. This yields $x_{n+T} \\equiv x_{n}(\\bmod p)$ and therefore $d\\left(x_{n+T}\\right)=d\\left(x_{n}\\right)$ for all $n \\geqslant 0$. It follows that the sum $d\\left(x_{n}\\right)+d\\left(x_{n+1}\\right)+\\ldots+d\\left(x_{n+T-1}\\right)$ does not depend on $n$ and is thus a function of $x_{0}$ (and $p$ ) only; we shall denote this sum by $S_{p}\\left(x_{0}\\right)$, and extend the function $S_{p}(\\cdot)$ to all (not necessarily positive) integers. Therefore, we have $x_{n+k T}=x_{n}+k S_{p}\\left(x_{0}\\right)$ for all positive integers $n$ and $k$. Clearly, $S_{p}\\left(x_{0}\\right)=S_{p}\\left(2^{t} x_{0}\\right)$ for every integer $t \\geqslant 0$. In both parts, we use the notation $$ S_{p}^{+}=S_{p}(1)=\\sum_{i=0}^{T-1} d_{p}\\left(2^{i}\\right) \\quad \\text { and } \\quad S_{p}^{-}=S_{p}(-1)=\\sum_{i=0}^{T-1} d_{p}\\left(p-2^{i}\\right) $$ (a) Let $q>3$ be a prime and $p$ a prime divisor of $2^{q}+1$ that is greater than 3 . We will show that $p$ is suitable for part (a). Notice that $9 \\nmid 2^{q}+1$, so that such a $p$ exists. Moreover, for any two odd primes $qb_{0}$ and $a_{1}=p+2b_{0}+k S_{p}^{+}=b_{k \\cdot 2 q} \\quad \\text { and } \\quad a_{k \\cdot 2 q+1}=a_{1}+k S_{p}^{+}S_{p}\\left(y_{0}\\right)$ but $x_{0}y_{n}$ for every $n \\geqslant q+q \\cdot \\max \\left\\{y_{r}-x_{r}: r=0,1, \\ldots, q-1\\right\\}$. Now, since $x_{0}S_{p}^{-}$, then we can put $x_{0}=1$ and $y_{0}=p-1$. Otherwise, if $S_{p}^{+}p$ must be divisible by $p$. Indeed, if $n=p k+r$ is a good number, $k>0,00$. Let $\\mathcal{B}$ be the set of big primes, and let $p_{1}p_{1} p_{2}$, and let $p_{1}^{\\alpha}$ be the largest power of $p_{1}$ smaller than $n$, so that $n \\leqslant p_{1}^{\\alpha+1}0$. If $f(k)=f(n-k)$ for all $k$, it implies that $\\binom{n-1}{k}$ is not divisible by $p$ for all $k=1,2, \\ldots, n-2$. It is well known that it implies $n=a \\cdot p^{s}, a0, f(q)>0$, there exist only finitely many $n$ which are equal both to $a \\cdot p^{s}, a0$ for at least two primes less than $n$. Let $p_{0}$ be the prime with maximal $g(f, p)$ among all primes $p1$, let $p_{1}, \\ldots, p_{k}$ be all primes between 1 and $N$ and $p_{k+1}, \\ldots, p_{k+s}$ be all primes between $N+1$ and $2 N$. Since for $j \\leqslant k+s$ all prime divisors of $p_{j}-1$ do not exceed $N$, we have $$ \\prod_{j=1}^{k+s}\\left(p_{j}-1\\right)=\\prod_{i=1}^{k} p_{i}^{c_{i}} $$ with some fixed exponents $c_{1}, \\ldots, c_{k}$. Choose a huge prime number $q$ and consider a number $$ n=\\left(p_{1} \\cdot \\ldots \\cdot p_{k}\\right)^{q-1} \\cdot\\left(p_{k+1} \\cdot \\ldots \\cdot p_{k+s}\\right) $$ Then $$ \\varphi(d(n))=\\varphi\\left(q^{k} \\cdot 2^{s}\\right)=q^{k-1}(q-1) 2^{s-1} $$ and $$ d(\\varphi(n))=d\\left(\\left(p_{1} \\cdot \\ldots \\cdot p_{k}\\right)^{q-2} \\prod_{i=1}^{k+s}\\left(p_{i}-1\\right)\\right)=d\\left(\\prod_{i=1}^{k} p_{i}^{q-2+c_{i}}\\right)=\\prod_{i=1}^{k}\\left(q-1+c_{i}\\right) $$ so $$ \\frac{\\varphi(d(n))}{d(\\varphi(n))}=\\frac{q^{k-1}(q-1) 2^{s-1}}{\\prod_{i=1}^{k}\\left(q-1+c_{i}\\right)}=2^{s-1} \\cdot \\frac{q-1}{q} \\cdot \\prod_{i=1}^{k} \\frac{q}{q-1+c_{i}} $$ which can be made arbitrarily close to $2^{s-1}$ by choosing $q$ large enough. It remains to show that $s$ can be arbitrarily large, i.e. that there can be arbitrarily many primes between $N$ and $2 N$. This follows, for instance, from the well-known fact that $\\sum \\frac{1}{p}=\\infty$, where the sum is taken over the set $\\mathbb{P}$ of prime numbers. Indeed, if, for some constant $\\stackrel{p}{C}$, there were always at most $C$ primes between $2^{\\ell}$ and $2^{\\ell+1}$, we would have $$ \\sum_{p \\in \\mathbb{P}} \\frac{1}{p}=\\sum_{\\ell=0}^{\\infty} \\sum_{\\substack{p \\in \\mathbb{P} \\\\ p \\in\\left[2^{\\ell}, 2^{\\ell+1}\\right)}} \\frac{1}{p} \\leqslant \\sum_{\\ell=0}^{\\infty} \\frac{C}{2^{\\ell}}<\\infty, $$ which is a contradiction. Comment 1. Here we sketch several alternative elementary self-contained ways to perform the last step of the solution above. In particular, they avoid using divergence of $\\sum \\frac{1}{p}$. Suppose that for some constant $C$ and for every $k=1,2, \\ldots$ there exist at most $C$ prime numbers between $2^{k}$ and $2^{k+1}$. Consider the prime factorization of the factorial $\\left(2^{n}\\right)!=\\prod p^{\\alpha_{p}}$. We have $\\alpha_{p}=\\left\\lfloor 2^{n} / p\\right\\rfloor+\\left\\lfloor 2^{n} / p^{2}\\right\\rfloor+\\ldots$. Thus, for $p \\in\\left[2^{k}, 2^{k+1}\\right)$, we get $\\alpha_{p} \\leqslant 2^{n} / 2^{k}+2^{n} / 2^{k+1}+\\ldots=2^{n-k+1}$, therefore $p^{\\alpha_{p}} \\leqslant 2^{(k+1) 2^{n-k+1}}$. Combining this with the bound $(2 m)!\\geqslant m(m+1) \\cdot \\ldots \\cdot(2 m-1) \\geqslant m^{m}$ for $m=2^{n-1}$ we get $$ 2^{(n-1) \\cdot 2^{n-1}} \\leqslant\\left(2^{n}\\right)!\\leqslant \\prod_{k=1}^{n-1} 2^{C(k+1) 2^{n-k+1}} $$ or $$ \\sum_{k=1}^{n-1} C(k+1) 2^{1-k} \\geqslant \\frac{n-1}{2} $$ that fails for large $n$ since $C(k+1) 2^{1-k}<1 / 3$ for all but finitely many $k$. In fact, a much stronger inequality can be obtained in an elementary way: Note that the formula for $\\nu_{p}(n!)$ implies that if $p^{\\alpha}$ is the largest power of $p$ dividing $\\binom{n}{n / 2}$, then $p^{\\alpha} \\leqslant n$. By looking at prime factorization of $\\binom{n}{n / 2}$ we instantaneously infer that $$ \\pi(n) \\geqslant \\log _{n}\\binom{n}{n / 2} \\geqslant \\frac{\\log \\left(2^{n} / n\\right)}{\\log n} \\geqslant \\frac{n}{2 \\log n} . $$ This, in particular, implies that for infinitely many $n$ there are at least $\\frac{n}{3 \\log n}$ primes between $n$ and $2 n$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N6", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For a positive integer $n$, let $d(n)$ be the number of positive divisors of $n$, and let $\\varphi(n)$ be the number of positive integers not exceeding $n$ which are coprime to $n$. Does there exist a constant $C$ such that $$ \\frac{\\varphi(d(n))}{d(\\varphi(n))} \\leqslant C $$ for all $n \\geqslant 1$ ? (Cyprus)", "solution": "In this solution we will use the Prime Number Theorem which states that $$ \\pi(m)=\\frac{m}{\\log m} \\cdot(1+o(1)) $$ as $m$ tends to infinity. Here and below $\\pi(m)$ denotes the number of primes not exceeding $m$, and $\\log$ the natural logarithm. Let $m>5$ be a large positive integer and let $n:=p_{1} p_{2} \\cdot \\ldots \\cdot p_{\\pi(m)}$ be the product of all primes not exceeding $m$. Then $\\varphi(d(n))=\\varphi\\left(2^{\\pi(m)}\\right)=2^{\\pi(m)-1}$. Consider the number $$ \\varphi(n)=\\prod_{k=1}^{\\pi(m)}\\left(p_{k}-1\\right)=\\prod_{s=1}^{\\pi(m / 2)} q_{s}^{\\alpha_{s}} $$ where $q_{1}, \\ldots, q_{\\pi(m / 2)}$ are primes not exceeding $m / 2$. Note that every term $p_{k}-1$ contributes at most one prime $q_{s}>\\sqrt{m}$ into the product $\\prod_{s} q_{s}^{\\alpha_{s}}$, so we have $$ \\sum_{s: q_{s}>\\sqrt{m}} \\alpha_{s} \\leqslant \\pi(m) \\Longrightarrow \\sum_{s: q_{s}>\\sqrt{m}}\\left(1+\\alpha_{s}\\right) \\leqslant \\pi(m)+\\pi(m / 2) . $$ Hence, applying the AM-GM inequality and the inequality $(A / x)^{x} \\leqslant e^{A / e}$, we obtain $$ \\prod_{s: q_{s}>\\sqrt{m}}\\left(\\alpha_{s}+1\\right) \\leqslant\\left(\\frac{\\pi(m)+\\pi(m / 2)}{\\ell}\\right)^{\\ell} \\leqslant \\exp \\left(\\frac{\\pi(m)+\\pi(m / 2)}{e}\\right) $$ where $\\ell$ is the number of primes in the interval $(\\sqrt{m}, m]$. We then use a trivial bound $\\alpha_{i} \\leqslant \\log _{2}(\\varphi(n)) \\leqslant \\log _{2} n<\\log _{2}\\left(m^{m}\\right)a_{j+1}>\\ldots>$ $a_{n}$; and (ii) $f$-avoidance: If $a0$, we should have $$ \\frac{(1+t)^{2 N}+1}{2} \\leqslant\\left(1+t+a_{n} t^{2}\\right)^{N} . $$ Expanding the brackets we get $$ \\left(1+t+a_{n} t^{2}\\right)^{N}-\\frac{(1+t)^{2 N}+1}{2}=\\left(N a_{n}-\\frac{N^{2}}{2}\\right) t^{2}+c_{3} t^{3}+\\ldots+c_{2 N} t^{2 N} $$ with some coefficients $c_{3}, \\ldots, c_{2 N}$. Since $a_{n}0$, then the left hand sides of $\\mathcal{I}(N,-x)$ and $\\mathcal{I}(N, x)$ coincide, while the right hand side of $\\mathcal{I}(N,-x)$ is larger than that of $\\mathcal{I}(N,-x)$ (their difference equals $2(N-1) x \\geqslant 0)$. Therefore, $\\mathcal{I}(N,-x)$ follows from $\\mathcal{I}(N, x)$. So, hereafter we suppose that $x>0$. Divide $\\mathcal{I}(N, x)$ by $x$ and let $t=(x-1)^{2} / x=x-2+1 / x$; then $\\mathcal{I}(n, x)$ reads as $$ f_{N}:=\\frac{x^{N}+x^{-N}}{2} \\leqslant\\left(1+\\frac{N}{2} t\\right)^{N} $$ The key identity is the expansion of $f_{N}$ as a polynomial in $t$ :", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A1", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Version 1. Let $n$ be a positive integer, and set $N=2^{n}$. Determine the smallest real number $a_{n}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant a_{n}(x-1)^{2}+x $$ Version 2. For every positive integer $N$, determine the smallest real number $b_{N}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant b_{N}(x-1)^{2}+x $$ (Ireland) Answer for both versions : $a_{n}=b_{N}=N / 2$. Solution 1 (for Version 1). First of all, assume that $a_{n}0$, we should have $$ \\frac{(1+t)^{2 N}+1}{2} \\leqslant\\left(1+t+a_{n} t^{2}\\right)^{N} . $$ Expanding the brackets we get $$ \\left(1+t+a_{n} t^{2}\\right)^{N}-\\frac{(1+t)^{2 N}+1}{2}=\\left(N a_{n}-\\frac{N^{2}}{2}\\right) t^{2}+c_{3} t^{3}+\\ldots+c_{2 N} t^{2 N} $$ with some coefficients $c_{3}, \\ldots, c_{2 N}$. Since $a_{n}0$, or, equivalently, for $t=(x-1)^{2} / x \\geqslant 0$. Instead of finding the coefficients of the polynomial $f_{N}=f_{N}(t)$ we may find its roots, which is in a sense more straightforward. Note that the recurrence (4) and the initial conditions $f_{0}=1, f_{1}=1+t / 2$ imply that $f_{N}$ is a polynomial in $t$ of degree $N$. It also follows by induction that $f_{N}(0)=1, f_{N}^{\\prime}(0)=N^{2} / 2$ : the recurrence relations read as $f_{N+1}(0)+f_{N-1}(0)=2 f_{N}(0)$ and $f_{N+1}^{\\prime}(0)+f_{N-1}^{\\prime}(0)=2 f_{N}^{\\prime}(0)+f_{N}(0)$, respectively. Next, if $x_{k}=\\exp \\left(\\frac{i \\pi(2 k-1)}{2 N}\\right)$ for $k \\in\\{1,2, \\ldots, N\\}$, then $$ -t_{k}:=2-x_{k}-\\frac{1}{x_{k}}=2-2 \\cos \\frac{\\pi(2 k-1)}{2 N}=4 \\sin ^{2} \\frac{\\pi(2 k-1)}{4 N}>0 $$ and $$ f_{N}\\left(t_{k}\\right)=\\frac{x_{k}^{N}+x_{k}^{-N}}{2}=\\frac{\\exp \\left(\\frac{i \\pi(2 k-1)}{2}\\right)+\\exp \\left(-\\frac{i \\pi(2 k-1)}{2}\\right)}{2}=0 . $$ So the roots of $f_{N}$ are $t_{1}, \\ldots, t_{N}$ and by the AM-GM inequality we have $$ \\begin{aligned} f_{N}(t)=\\left(1-\\frac{t}{t_{1}}\\right)\\left(1-\\frac{t}{t_{2}}\\right) \\ldots\\left(1-\\frac{t}{t_{N}}\\right) & \\leqslant\\left(1-\\frac{t}{N}\\left(\\frac{1}{t_{1}}+\\ldots+\\frac{1}{t_{n}}\\right)\\right)^{N}= \\\\ \\left(1+\\frac{t f_{N}^{\\prime}(0)}{N}\\right)^{N} & =\\left(1+\\frac{N}{2} t\\right)^{N} \\end{aligned} $$ Comment. The polynomial $f_{N}(t)$ equals to $\\frac{1}{2} T_{N}(t+2)$, where $T_{n}$ is the $n^{\\text {th }}$ Chebyshev polynomial of the first kind: $T_{n}(2 \\cos s)=2 \\cos n s, T_{n}(x+1 / x)=x^{n}+1 / x^{n}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A1", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Version 1. Let $n$ be a positive integer, and set $N=2^{n}$. Determine the smallest real number $a_{n}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant a_{n}(x-1)^{2}+x $$ Version 2. For every positive integer $N$, determine the smallest real number $b_{N}$ such that, for all real $x$, $$ \\sqrt[N]{\\frac{x^{2 N}+1}{2}} \\leqslant b_{N}(x-1)^{2}+x $$ (Ireland) Answer for both versions : $a_{n}=b_{N}=N / 2$. Solution 1 (for Version 1). First of all, assume that $a_{n}0$, we should have $$ \\frac{(1+t)^{2 N}+1}{2} \\leqslant\\left(1+t+a_{n} t^{2}\\right)^{N} . $$ Expanding the brackets we get $$ \\left(1+t+a_{n} t^{2}\\right)^{N}-\\frac{(1+t)^{2 N}+1}{2}=\\left(N a_{n}-\\frac{N^{2}}{2}\\right) t^{2}+c_{3} t^{3}+\\ldots+c_{2 N} t^{2 N} $$ with some coefficients $c_{3}, \\ldots, c_{2 N}$. Since $a_{n}0 & \\text { if } 01\\end{cases} $$ Hence, $f^{\\prime \\prime}(x)<0$ for $x \\neq 1 ; f^{\\prime}(x)>0$ for $x<1$ and $f^{\\prime}(x)<0$ for $x>1$, finally $f(x)<0$ for $x \\neq 1$. Comment. Version 2 is much more difficult, of rather A5 or A6 difficulty. The induction in Version 1 is rather straightforward, while all three above solutions of Version 2 require some creativity. This page is intentionally left blank", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A2", "problem_type": "Lemma.", "exam": "IMO-SL", "problem": "Let $\\mathcal{A}$ denote the set of all polynomials in three variables $x, y, z$ with integer coefficients. Let $\\mathcal{B}$ denote the subset of $\\mathcal{A}$ formed by all polynomials which can be expressed as $$ (x+y+z) P(x, y, z)+(x y+y z+z x) Q(x, y, z)+x y z R(x, y, z) $$ with $P, Q, R \\in \\mathcal{A}$. Find the smallest non-negative integer $n$ such that $x^{i} y^{j} z^{k} \\in \\mathcal{B}$ for all nonnegative integers $i, j, k$ satisfying $i+j+k \\geqslant n$. (Venezuela) Answer: $n=4$.", "solution": "We start by showing that $n \\leqslant 4$, i.e., any monomial $f=x^{i} y^{j} z^{k}$ with $i+j+k \\geqslant 4$ belongs to $\\mathcal{B}$. Assume that $i \\geqslant j \\geqslant k$, the other cases are analogous. Let $x+y+z=p, x y+y z+z x=q$ and $x y z=r$. Then $$ 0=(x-x)(x-y)(x-z)=x^{3}-p x^{2}+q x-r $$ therefore $x^{3} \\in \\mathcal{B}$. Next, $x^{2} y^{2}=x y q-(x+y) r \\in \\mathcal{B}$. If $k \\geqslant 1$, then $r$ divides $f$, thus $f \\in \\mathcal{B}$. If $k=0$ and $j \\geqslant 2$, then $x^{2} y^{2}$ divides $f$, thus we have $f \\in \\mathcal{B}$ again. Finally, if $k=0, j \\leqslant 1$, then $x^{3}$ divides $f$ and $f \\in \\mathcal{B}$ in this case also. In order to prove that $n \\geqslant 4$, we show that the monomial $x^{2} y$ does not belong to $\\mathcal{B}$. Assume the contrary: $$ x^{2} y=p P+q Q+r R $$ for some polynomials $P, Q, R$. If polynomial $P$ contains the monomial $x^{2}$ (with nonzero coefficient), then $p P+q Q+r R$ contains the monomial $x^{3}$ with the same nonzero coefficient. So $P$ does not contain $x^{2}, y^{2}, z^{2}$ and we may write $$ x^{2} y=(x+y+z)(a x y+b y z+c z x)+(x y+y z+z x)(d x+e y+f z)+g x y z $$ where $a, b, c ; d, e, f ; g$ are the coefficients of $x y, y z, z x ; x, y, z ; x y z$ in the polynomials $P$; $Q ; R$, respectively (the remaining coefficients do not affect the monomials of degree 3 in $p P+q Q+r R)$. By considering the coefficients of $x y^{2}$ we get $e=-a$, analogously $e=-b$, $f=-b, f=-c, d=-c$, thus $a=b=c$ and $f=e=d=-a$, but then the coefficient of $x^{2} y$ in the right hand side equals $a+d=0 \\neq 1$. Comment 1. The general question is the following. Call a polynomial $f\\left(x_{1}, \\ldots, x_{n}\\right)$ with integer coefficients nice, if $f(0,0, \\ldots, 0)=0$ and $f\\left(x_{\\pi_{1}}, \\ldots, x_{\\pi_{n}}\\right)=f\\left(x_{1}, \\ldots, x_{n}\\right)$ for any permutation $\\pi$ of $1, \\ldots, n$ (in other words, $f$ is symmetric and its constant term is zero.) Denote by $\\mathcal{I}$ the set of polynomials of the form $$ p_{1} q_{1}+p_{2} q_{2}+\\ldots+p_{m} q_{m} $$ where $m$ is an integer, $q_{1}, \\ldots, q_{m}$ are polynomials with integer coefficients, and $p_{1}, \\ldots, p_{m}$ are nice polynomials. Find the least $N$ for which any monomial of degree at least $N$ belongs to $\\mathcal{I}$. The answer is $n(n-1) / 2+1$. The lower bound follows from the following claim: the polynomial $$ F\\left(x_{1}, \\ldots, x_{n}\\right)=x_{2} x_{3}^{2} x_{4}^{3} \\cdot \\ldots \\cdot x_{n}^{n-1} $$ does not belong to $\\mathcal{I}$. Assume that $F=\\sum p_{i} q_{i}$, according to (2). By taking only the monomials of degree $n(n-1) / 2$, we can additionally assume that every $p_{i}$ and every $q_{i}$ is homogeneous, $\\operatorname{deg} p_{i}>0$, and $\\operatorname{deg} p_{i}+\\operatorname{deg} q_{i}=$ $\\operatorname{deg} F=n(n-1) / 2$ for all $i$. Consider the alternating sum $$ \\sum_{\\pi} \\operatorname{sign}(\\pi) F\\left(x_{\\pi_{1}}, \\ldots, x_{\\pi_{n}}\\right)=\\sum_{i=1}^{m} p_{i} \\sum_{\\pi} \\operatorname{sign}(\\pi) q_{i}\\left(x_{\\pi_{1}}, \\ldots, x_{\\pi_{n}}\\right):=S $$ where the summation is done over all permutations $\\pi$ of $1, \\ldots n$, and $\\operatorname{sign}(\\pi)$ denotes the sign of the permutation $\\pi$. Since $\\operatorname{deg} q_{i}=n(n-1) / 2-\\operatorname{deg} p_{i}1$ and that the proposition is proved for smaller values of $n$. We proceed by an internal induction on $S:=\\left|\\left\\{i: c_{i}=0\\right\\}\\right|$. In the base case $S=0$ the monomial $h$ is divisible by the nice polynomial $x_{1} \\cdot \\ldots x_{n}$, therefore $h \\in \\mathcal{I}$. Now assume that $S>0$ and that the claim holds for smaller values of $S$. Let $T=n-S$. We may assume that $c_{T+1}=\\ldots=c_{n}=0$ and $h=x_{1} \\cdot \\ldots \\cdot x_{T} g\\left(x_{1}, \\ldots, x_{n-1}\\right)$, where $\\operatorname{deg} g=n(n-1) / 2-T+1 \\geqslant(n-1)(n-2) / 2+1$. Using the outer induction hypothesis we represent $g$ as $p_{1} q_{1}+\\ldots+p_{m} q_{m}$, where $p_{i}\\left(x_{1}, \\ldots, x_{n-1}\\right)$ are nice polynomials in $n-1$ variables. There exist nice homogeneous polynomials $P_{i}\\left(x_{1}, \\ldots, x_{n}\\right)$ such that $P_{i}\\left(x_{1}, \\ldots, x_{n-1}, 0\\right)=p_{i}\\left(x_{1}, \\ldots, x_{n-1}\\right)$. In other words, $\\Delta_{i}:=p_{i}\\left(x_{1}, \\ldots, x_{n-1}\\right)-P_{i}\\left(x_{1}, \\ldots, x_{n-1}, x_{n}\\right)$ is divisible by $x_{n}$, let $\\Delta_{i}=x_{n} g_{i}$. We get $$ h=x_{1} \\cdot \\ldots \\cdot x_{T} \\sum p_{i} q_{i}=x_{1} \\cdot \\ldots \\cdot x_{T} \\sum\\left(P_{i}+x_{n} g_{i}\\right) q_{i}=\\left(x_{1} \\cdot \\ldots \\cdot x_{T} x_{n}\\right) \\sum g_{i} q_{i}+\\sum P_{i} q_{i} \\in \\mathcal{I} $$ The first term belongs to $\\mathcal{I}$ by the inner induction hypothesis. This completes both inductions. Comment 2. The solutions above work smoothly for the versions of the original problem and its extensions to the case of $n$ variables, where all polynomials are assumed to have real coefficients. In the version with integer coefficients, the argument showing that $x^{2} y \\notin \\mathcal{B}$ can be simplified: it is not hard to show that in every polynomial $f \\in \\mathcal{B}$, the sum of the coefficients of $x^{2} y, x^{2} z, y^{2} x, y^{2} z, z^{2} x$ and $z^{2} y$ is even. A similar fact holds for any number of variables and also implies that $N \\geqslant n(n-1) / 2+1$ in terms of the previous comment.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A3", "problem_type": "Lemma.", "exam": "IMO-SL", "problem": "Suppose that $a, b, c, d$ are positive real numbers satisfying $(a+c)(b+d)=a c+b d$. Find the smallest possible value of $$ S=\\frac{a}{b}+\\frac{b}{c}+\\frac{c}{d}+\\frac{d}{a} $$ (Israel) Answer: The smallest possible value is 8.", "solution": "To show that $S \\geqslant 8$, apply the AM-GM inequality twice as follows: $$ \\left(\\frac{a}{b}+\\frac{c}{d}\\right)+\\left(\\frac{b}{c}+\\frac{d}{a}\\right) \\geqslant 2 \\sqrt{\\frac{a c}{b d}}+2 \\sqrt{\\frac{b d}{a c}}=\\frac{2(a c+b d)}{\\sqrt{a b c d}}=\\frac{2(a+c)(b+d)}{\\sqrt{a b c d}} \\geqslant 2 \\cdot \\frac{2 \\sqrt{a c} \\cdot 2 \\sqrt{b d}}{\\sqrt{a b c d}}=8 . $$ The above inequalities turn into equalities when $a=c$ and $b=d$. Then the condition $(a+c)(b+d)=a c+b d$ can be rewritten as $4 a b=a^{2}+b^{2}$. So it is satisfied when $a / b=2 \\pm \\sqrt{3}$. Hence, $S$ attains value 8 , e.g., when $a=c=1$ and $b=d=2+\\sqrt{3}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A3", "problem_type": "Lemma.", "exam": "IMO-SL", "problem": "Suppose that $a, b, c, d$ are positive real numbers satisfying $(a+c)(b+d)=a c+b d$. Find the smallest possible value of $$ S=\\frac{a}{b}+\\frac{b}{c}+\\frac{c}{d}+\\frac{d}{a} $$ (Israel) Answer: The smallest possible value is 8.", "solution": "By homogeneity we may suppose that $a b c d=1$. Let $a b=C, b c=A$ and $c a=B$. Then $a, b, c$ can be reconstructed from $A, B$ and $C$ as $a=\\sqrt{B C / A}, b=\\sqrt{A C / B}$ and $c=\\sqrt{A B / C}$. Moreover, the condition $(a+c)(b+d)=a c+b d$ can be written in terms of $A, B, C$ as $$ A+\\frac{1}{A}+C+\\frac{1}{C}=b c+a d+a b+c d=(a+c)(b+d)=a c+b d=B+\\frac{1}{B} . $$ We then need to minimize the expression $$ \\begin{aligned} S & :=\\frac{a d+b c}{b d}+\\frac{a b+c d}{a c}=\\left(A+\\frac{1}{A}\\right) B+\\left(C+\\frac{1}{C}\\right) \\frac{1}{B} \\\\ & =\\left(A+\\frac{1}{A}\\right)\\left(B-\\frac{1}{B}\\right)+\\left(A+\\frac{1}{A}+C+\\frac{1}{C}\\right) \\frac{1}{B} \\\\ & =\\left(A+\\frac{1}{A}\\right)\\left(B-\\frac{1}{B}\\right)+\\left(B+\\frac{1}{B}\\right) \\frac{1}{B} . \\end{aligned} $$ Without loss of generality assume that $B \\geqslant 1$ (otherwise, we may replace $B$ by $1 / B$ and swap $A$ and $C$, this changes neither the relation nor the function to be maximized). Therefore, we can write $$ S \\geqslant 2\\left(B-\\frac{1}{B}\\right)+\\left(B+\\frac{1}{B}\\right) \\frac{1}{B}=2 B+\\left(1-\\frac{1}{B}\\right)^{2}=: f(B) $$ Clearly, $f$ increases on $[1, \\infty)$. Since $$ B+\\frac{1}{B}=A+\\frac{1}{A}+C+\\frac{1}{C} \\geqslant 4, $$ we have $B \\geqslant B^{\\prime}$, where $B^{\\prime}=2+\\sqrt{3}$ is the unique root greater than 1 of the equation $B^{\\prime}+1 / B^{\\prime}=4$. Hence, $$ S \\geqslant f(B) \\geqslant f\\left(B^{\\prime}\\right)=2\\left(B^{\\prime}-\\frac{1}{B^{\\prime}}\\right)+\\left(B^{\\prime}+\\frac{1}{B^{\\prime}}\\right) \\frac{1}{B^{\\prime}}=2 B^{\\prime}-\\frac{2}{B^{\\prime}}+\\frac{4}{B^{\\prime}}=8 $$ It remains to note that when $A=C=1$ and $B=B^{\\prime}$ we have the equality $S=8$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A3", "problem_type": "Lemma.", "exam": "IMO-SL", "problem": "Suppose that $a, b, c, d$ are positive real numbers satisfying $(a+c)(b+d)=a c+b d$. Find the smallest possible value of $$ S=\\frac{a}{b}+\\frac{b}{c}+\\frac{c}{d}+\\frac{d}{a} $$ (Israel) Answer: The smallest possible value is 8.", "solution": "We present another proof of the inequality $S \\geqslant 8$. We start with the estimate $$ \\left(\\frac{a}{b}+\\frac{c}{d}\\right)+\\left(\\frac{b}{c}+\\frac{d}{a}\\right) \\geqslant 2 \\sqrt{\\frac{a c}{b d}}+2 \\sqrt{\\frac{b d}{a c}} $$ Let $y=\\sqrt{a c}$ and $z=\\sqrt{b d}$, and assume, without loss of generality, that $a c \\geqslant b d$. By the AM-GM inequality, we have $$ y^{2}+z^{2}=a c+b d=(a+c)(b+d) \\geqslant 2 \\sqrt{a c} \\cdot 2 \\sqrt{b d}=4 y z . $$ Substituting $x=y / z$, we get $4 x \\leqslant x^{2}+1$. For $x \\geqslant 1$, this holds if and only if $x \\geqslant 2+\\sqrt{3}$. Now we have $$ 2 \\sqrt{\\frac{a c}{b d}}+2 \\sqrt{\\frac{b d}{a c}}=2\\left(x+\\frac{1}{x}\\right) . $$ Clearly, this is minimized by setting $x(\\geqslant 1)$ as close to 1 as possible, i.e., by taking $x=2+\\sqrt{3}$. Then $2(x+1 / x)=2((2+\\sqrt{3})+(2-\\sqrt{3}))=8$, as required.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A5", "problem_type": "Lemma.", "exam": "IMO-SL", "problem": "A magician intends to perform the following trick. She announces a positive integer $n$, along with $2 n$ real numbers $x_{1}<\\ldots\\max _{z \\in \\mathcal{O}(0)}|z|$, this yields $f(a)=f(-a)$ and $f^{2 a^{2}}(0)=0$. Therefore, the sequence $\\left(f^{k}(0): k=0,1, \\ldots\\right)$ is purely periodic with a minimal period $T$ which divides $2 a^{2}$. Analogously, $T$ divides $2(a+1)^{2}$, therefore, $T \\mid \\operatorname{gcd}\\left(2 a^{2}, 2(a+1)^{2}\\right)=2$, i.e., $f(f(0))=0$ and $a(f(a)-f(-a))=f^{2 a^{2}}(0)=0$ for all $a$. Thus, $$ \\begin{array}{ll} f(a)=f(-a) \\quad \\text { for all } a \\neq 0 \\\\ \\text { in particular, } & f(1)=f(-1)=0 \\end{array} $$ Next, for each $n \\in \\mathbb{Z}$, by $E(n, 1-n)$ we get $$ n f(n)+(1-n) f(1-n)=f^{n^{2}+(1-n)^{2}}(1)=f^{2 n^{2}-2 n}(0)=0 $$ Assume that there exists some $m \\neq 0$ such that $f(m) \\neq 0$. Choose such an $m$ for which $|m|$ is minimal possible. Then $|m|>1$ due to $(\\boldsymbol{\\phi}) ; f(|m|) \\neq 0$ due to ( $\\boldsymbol{\\phi})$; and $f(1-|m|) \\neq 0$ due to $(\\Omega)$ for $n=|m|$. This contradicts to the minimality assumption. So, $f(n)=0$ for $n \\neq 0$. Finally, $f(0)=f^{3}(0)=f^{4}(2)=2 f(2)=0$. Clearly, the function $f(x) \\equiv 0$ satisfies the problem condition, which provides the first of the two answers. Case 2: All orbits are infinite. Since the orbits $\\mathcal{O}(a)$ and $\\mathcal{O}(a-1)$ differ by finitely many terms for all $a \\in \\mathbb{Z}$, each two orbits $\\mathcal{O}(a)$ and $\\mathcal{O}(b)$ have infinitely many common terms for arbitrary $a, b \\in \\mathbb{Z}$. For a minute, fix any $a, b \\in \\mathbb{Z}$. We claim that all pairs $(n, m)$ of nonnegative integers such that $f^{n}(a)=f^{m}(b)$ have the same difference $n-m$. Arguing indirectly, we have $f^{n}(a)=f^{m}(b)$ and $f^{p}(a)=f^{q}(b)$ with, say, $n-m>p-q$, then $f^{p+m+k}(b)=f^{p+n+k}(a)=f^{q+n+k}(b)$, for all nonnegative integers $k$. This means that $f^{\\ell+(n-m)-(p-q)}(b)=f^{\\ell}(b)$ for all sufficiently large $\\ell$, i.e., that the sequence $\\left(f^{n}(b)\\right)$ is eventually periodic, so $\\mathcal{O}(b)$ is finite, which is impossible. Now, for every $a, b \\in \\mathbb{Z}$, denote the common difference $n-m$ defined above by $X(a, b)$. We have $X(a-1, a)=1$ by (1). Trivially, $X(a, b)+X(b, c)=X(a, c)$, as if $f^{n}(a)=f^{m}(b)$ and $f^{p}(b)=f^{q}(c)$, then $f^{p+n}(a)=f^{p+m}(b)=f^{q+m}(c)$. These two properties imply that $X(a, b)=b-a$ for all $a, b \\in \\mathbb{Z}$. But (1) yields $f^{a^{2}+1}(f(a-1))=f^{a^{2}}(f(a))$, so $$ 1=X(f(a-1), f(a))=f(a)-f(a-1) \\quad \\text { for all } a \\in \\mathbb{Z} $$ Recalling that $f(-1)=0$, we conclude by (two-sided) induction on $x$ that $f(x)=x+1$ for all $x \\in \\mathbb{Z}$. Finally, the obtained function also satisfies the assumption. Indeed, $f^{n}(x)=x+n$ for all $n \\geqslant 0$, so $$ f^{a^{2}+b^{2}}(a+b)=a+b+a^{2}+b^{2}=a f(a)+b f(b) $$ Comment. There are many possible variations of the solution above, but it seems that finiteness of orbits seems to be a crucial distinction in all solutions. However, the case distinction could be made in different ways; in particular, there exist some versions of Case 1 which work whenever there is at least one finite orbit. We believe that Case 2 is conceptually harder than Case 1.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "A7", "problem_type": "Lemma.", "exam": "IMO-SL", "problem": "Let $n$ and $k$ be positive integers. Prove that for $a_{1}, \\ldots, a_{n} \\in\\left[1,2^{k}\\right]$ one has $$ \\sum_{i=1}^{n} \\frac{a_{i}}{\\sqrt{a_{1}^{2}+\\ldots+a_{i}^{2}}} \\leqslant 4 \\sqrt{k n} $$ (Iran)", "solution": "Partition the set of indices $\\{1,2, \\ldots, n\\}$ into disjoint subsets $M_{1}, M_{2}, \\ldots, M_{k}$ so that $a_{\\ell} \\in\\left[2^{j-1}, 2^{j}\\right]$ for $\\ell \\in M_{j}$. Then, if $\\left|M_{j}\\right|=: p_{j}$, we have $$ \\sum_{\\ell \\in M_{j}} \\frac{a_{\\ell}}{\\sqrt{a_{1}^{2}+\\ldots+a_{\\ell}^{2}}} \\leqslant \\sum_{i=1}^{p_{j}} \\frac{2^{j}}{2^{j-1} \\sqrt{i}}=2 \\sum_{i=1}^{p_{j}} \\frac{1}{\\sqrt{i}} $$ where we used that $a_{\\ell} \\leqslant 2^{j}$ and in the denominator every index from $M_{j}$ contributes at least $\\left(2^{j-1}\\right)^{2}$. Now, using $\\sqrt{i}-\\sqrt{i-1}=\\frac{1}{\\sqrt{i}+\\sqrt{i-1}} \\geqslant \\frac{1}{2 \\sqrt{i}}$, we deduce that $$ \\sum_{\\ell \\in M_{j}} \\frac{a_{\\ell}}{\\sqrt{a_{1}^{2}+\\ldots+a_{\\ell}^{2}}} \\leqslant 2 \\sum_{i=1}^{p_{j}} \\frac{1}{\\sqrt{i}} \\leqslant 2 \\sum_{i=1}^{p_{j}} 2(\\sqrt{i}-\\sqrt{i-1})=4 \\sqrt{p_{j}} $$ Therefore, summing over $j=1, \\ldots, k$ and using the QM-AM inequality, we obtain $$ \\sum_{\\ell=1}^{n} \\frac{a_{\\ell}}{\\sqrt{a_{1}^{2}+\\ldots+a_{\\ell}^{2}}} \\leqslant 4 \\sum_{j=1}^{k} \\sqrt{\\left|M_{j}\\right|} \\leqslant 4 \\sqrt{k \\sum_{j=1}^{k}\\left|M_{j}\\right|}=4 \\sqrt{k n} $$ Comment. Consider the function $f\\left(a_{1}, \\ldots, a_{n}\\right)=\\sum_{i=1}^{n} \\frac{a_{i}}{\\sqrt{a_{1}^{2}+\\ldots+a_{i}^{2}}}$. One can see that rearranging the variables in increasing order can only increase the value of $f\\left(a_{1}, \\ldots, a_{n}\\right)$. Indeed, if $a_{j}>a_{j+1}$ for some index $j$ then we have $$ f\\left(a_{1}, \\ldots, a_{j-1}, a_{j+1}, a_{j}, a_{j+2}, \\ldots, a_{n}\\right)-f\\left(a_{1}, \\ldots, a_{n}\\right)=\\frac{a}{S}+\\frac{b}{\\sqrt{S^{2}-a^{2}}}-\\frac{b}{S}-\\frac{a}{\\sqrt{S^{2}-b^{2}}} $$ where $a=a_{j}, b=a_{j+1}$, and $S=\\sqrt{a_{1}^{2}+\\ldots+a_{j+1}^{2}}$. The positivity of the last expression above follows from $$ \\frac{b}{\\sqrt{S^{2}-a^{2}}}-\\frac{b}{S}=\\frac{a^{2} b}{S \\sqrt{S^{2}-a^{2}} \\cdot\\left(S+\\sqrt{S^{2}-a^{2}}\\right)}>\\frac{a b^{2}}{S \\sqrt{S^{2}-b^{2}} \\cdot\\left(S+\\sqrt{S^{2}-b^{2}}\\right)}=\\frac{a}{\\sqrt{S^{2}-b^{2}}}-\\frac{a}{S} . $$ Comment. If $ky-1$, hence $$ f(x)>\\frac{y-1}{f(y)} \\quad \\text { for all } x \\in \\mathbb{R}^{+} $$ If $y>1$, this provides a desired positive lower bound for $f(x)$. Now, let $M=\\inf _{x \\in \\mathbb{R}^{+}} f(x)>0$. Then, for all $y \\in \\mathbb{R}^{+}$, $$ M \\geqslant \\frac{y-1}{f(y)}, \\quad \\text { or } \\quad f(y) \\geqslant \\frac{y-1}{M} $$ Lemma 1. The function $f(x)$ (and hence $\\phi(x)$ ) is bounded on any segment $[p, q]$, where $0\\max \\left\\{C, \\frac{C}{y}\\right\\}$. Then all three numbers $x, x y$, and $x+f(x y)$ are greater than $C$, so (*) reads as $$ (x+x y+1)+1+y=(x+1) f(y)+1, \\text { hence } f(y)=y+1 $$ Comment 1. It may be useful to rewrite (*) in the form $$ \\phi(x+f(x y))+\\phi(x y)=\\phi(x) \\phi(y)+x \\phi(y)+y \\phi(x)+\\phi(x)+\\phi(y) $$ This general identity easily implies both (1) and (5). Comment 2. There are other ways to prove that $f(x) \\geqslant x+1$. Once one has proved this, they can use this stronger estimate instead of (3) in the proof of Lemma 1. Nevertheless, this does not make this proof simpler. So proving that $f(x) \\geqslant x+1$ does not seem to be a serious progress towards the solution of the problem. In what follows, we outline one possible proof of this inequality. First of all, we improve inequality (3) by noticing that, in fact, $f(x) f(y) \\geqslant y-1+M$, and hence $$ f(y) \\geqslant \\frac{y-1}{M}+1 $$ Now we divide the argument into two steps. Step 1: We show that $M \\leqslant 1$. Suppose that $M>1$; recall the notation $a=f(1)$. Substituting $y=1 / x$ in (*), we get $$ f(x+a)=f(x) f\\left(\\frac{1}{x}\\right)+1-\\frac{1}{x} \\geqslant M f(x), $$ provided that $x \\geqslant 1$. By a straightforward induction on $\\lceil(x-1) / a\\rceil$, this yields $$ f(x) \\geqslant M^{(x-1) / a} $$ Now choose an arbitrary $x_{0} \\in \\mathbb{R}^{+}$and define a sequence $x_{0}, x_{1}, \\ldots$ by $x_{n+1}=x_{n}+f\\left(x_{n}\\right) \\geqslant x_{n}+M$ for all $n \\geqslant 0$; notice that the sequence is unbounded. On the other hand, by (4) we get $$ a x_{n+1}>a f\\left(x_{n}\\right)=f\\left(x_{n+1}\\right) \\geqslant M^{\\left(x_{n+1}-1\\right) / a}, $$ which cannot hold when $x_{n+1}$ is large enough. Step 2: We prove that $f(y) \\geqslant y+1$ for all $y \\in \\mathbb{R}^{+}$. Arguing indirectly, choose $y \\in \\mathbb{R}^{+}$such that $f(y)n k$, so $a_{n} \\geqslant k+1$. Now the $n-k+1$ numbers $a_{k}, a_{k+1}, \\ldots, a_{n}$ are all greater than $k$; but there are only $n-k$ such values; this is not possible. If $a_{n}=n$ then $a_{1}, a_{2}, \\ldots, a_{n-1}$ must be a permutation of the numbers $1, \\ldots, n-1$ satisfying $a_{1} \\leqslant 2 a_{2} \\leqslant \\ldots \\leqslant(n-1) a_{n-1}$; there are $P_{n-1}$ such permutations. The last inequality in (*), $(n-1) a_{n-1} \\leqslant n a_{n}=n^{2}$, holds true automatically. If $\\left(a_{n-1}, a_{n}\\right)=(n, n-1)$, then $a_{1}, \\ldots, a_{n-2}$ must be a permutation of $1, \\ldots, n-2$ satisfying $a_{1} \\leqslant \\ldots \\leqslant(n-2) a_{n-2}$; there are $P_{n-2}$ such permutations. The last two inequalities in (*) hold true automatically by $(n-2) a_{n-2} \\leqslant(n-2)^{2}k$. If $t=k$ then we are done, so assume $t>k$. Notice that one of the numbers among the $t-k$ numbers $a_{k}, a_{k+1}, \\ldots, a_{t-1}$ is at least $t$, because there are only $t-k-1$ values between $k$ and $t$. Let $i$ be an index with $k \\leqslant ik+1$. Then the chain of inequalities $k t=k a_{k} \\leqslant \\ldots \\leqslant t a_{t}=k t$ should also turn into a chain of equalities. From this point we can find contradictions in several ways; for example by pointing to $a_{t-1}=\\frac{k t}{t-1}=k+\\frac{k}{t-1}$ which cannot be an integer, or considering the product of the numbers $(k+1) a_{k+1}, \\ldots,(t-1) a_{t-1}$; the numbers $a_{k+1}, \\ldots, a_{t-1}$ are distinct and greater than $k$, so $$ (k t)^{t-k-1}=(k+1) a_{k+1} \\cdot(k+2) a_{k+2} \\cdot \\ldots \\cdot(t-1) a_{t-1} \\geqslant((k+1)(k+2) \\cdot \\ldots \\cdot(t-1))^{2} $$ Notice that $(k+i)(t-i)=k t+i(t-k-i)>k t$ for $1 \\leqslant i(k t)^{t-k-1} $$ Therefore, the case $t>k+1$ is not possible.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "C3", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $n$ be an integer with $n \\geqslant 2$. On a slope of a mountain, $n^{2}$ checkpoints are marked, numbered from 1 to $n^{2}$ from the bottom to the top. Each of two cable car companies, $A$ and $B$, operates $k$ cable cars numbered from 1 to $k$; each cable car provides a transfer from some checkpoint to a higher one. For each company, and for any $i$ and $j$ with $1 \\leqslant i1$ of ones, then A can guarantee to obtain $S_{2}(n)$, but not more, cookies. The binary representation of 2020 is $2020=\\overline{11111100100}_{2}$, so $S_{2}(2020)=7$, and the answer follows. A strategy for $A$. At any round, while possible, A chooses two equal nonzero numbers on the board. Clearly, while $A$ can make such choice, the game does not terminate. On the other hand, $A$ can follow this strategy unless the game has already terminated. Indeed, if $A$ always chooses two equal numbers, then each number appearing on the board is either 0 or a power of 2 with non-negative integer exponent, this can be easily proved using induction on the number of rounds. At the moment when $A$ is unable to follow the strategy all nonzero numbers on the board are distinct powers of 2 . If the board contains at least one such power, then the largest of those powers is greater than the sum of the others. Otherwise there are only zeros on the blackboard, in both cases the game terminates. For every number on the board, define its range to be the number of ones it is obtained from. We can prove by induction on the number of rounds that for any nonzero number $k$ written by $B$ its range is $k$, and for any zero written by $B$ its range is a power of 2 . Thus at the end of each round all the ranges are powers of two, and their sum is $n$. Since $S_{2}(a+b) \\leqslant S_{2}(a)+S_{2}(b)$ for any positive integers $a$ and $b$, the number $n$ cannot be represented as a sum of less than $S_{2}(n)$ powers of 2 . Thus at the end of each round the board contains at least $S_{2}(n)$ numbers, while $A$ follows the above strategy. So $A$ can guarantee at least $S_{2}(n)$ cookies for himself. Comment. There are different proofs of the fact that the presented strategy guarantees at least $S_{2}(n)$ cookies for $A$. For instance, one may denote by $\\Sigma$ the sum of numbers on the board, and by $z$ the number of zeros. Then the board contains at least $S_{2}(\\Sigma)+z$ numbers; on the other hand, during the game, the number $S_{2}(\\Sigma)+z$ does not decrease, and its initial value is $S_{2}(n)$. The claim follows. A strategy for $B$. Denote $s=S_{2}(n)$. Let $x_{1}, \\ldots, x_{k}$ be the numbers on the board at some moment of the game after $B$ 's turn or at the beginning of the game. Say that a collection of $k$ signs $\\varepsilon_{1}, \\ldots, \\varepsilon_{k} \\in\\{+1,-1\\}$ is balanced if $$ \\sum_{i=1}^{k} \\varepsilon_{i} x_{i}=0 $$ We say that a situation on the board is good if $2^{s+1}$ does not divide the number of balanced collections. An appropriate strategy for $B$ can be explained as follows: Perform a move so that the situation remains good, while it is possible. We intend to show that in this case $B$ will not lose more than $S_{2}(n)$ cookies. For this purpose, we prove several lemmas. For a positive integer $k$, denote by $\\nu_{2}(k)$ the exponent of the largest power of 2 that divides $k$. Recall that, by Legendre's formula, $\\nu_{2}(n!)=n-S_{2}(n)$ for every positive integer $n$. Lemma 1. The initial situation is good. Proof. In the initial configuration, the number of balanced collections is equal to $\\binom{n}{n / 2}$. We have $$ \\nu_{2}\\left(\\binom{n}{n / 2}\\right)=\\nu_{2}(n!)-2 \\nu_{2}((n / 2)!)=\\left(n-S_{2}(n)\\right)-2\\left(\\frac{n}{2}-S_{2}(n / 2)\\right)=S_{2}(n)=s $$ Hence $2^{\\text {s+1 }}$ does not divide the number of balanced collections, as desired. Lemma 2. B may play so that after each round the situation remains good. Proof. Assume that the situation $\\left(x_{1}, \\ldots, x_{k}\\right)$ before a round is good, and that $A$ erases two numbers, $x_{p}$ and $x_{q}$. Let $N$ be the number of all balanced collections, $N_{+}$be the number of those having $\\varepsilon_{p}=\\varepsilon_{q}$, and $N_{-}$be the number of other balanced collections. Then $N=N_{+}+N_{-}$. Now, if $B$ replaces $x_{p}$ and $x_{q}$ by $x_{p}+x_{q}$, then the number of balanced collections will become $N_{+}$. If $B$ replaces $x_{p}$ and $x_{q}$ by $\\left|x_{p}-x_{q}\\right|$, then this number will become $N_{-}$. Since $2^{s+1}$ does not divide $N$, it does not divide one of the summands $N_{+}$and $N_{-}$, hence $B$ can reach a good situation after the round. Lemma 3. Assume that the game terminates at a good situation. Then the board contains at most $s$ numbers. Proof. Suppose, one of the numbers is greater than the sum of the other numbers. Then the number of balanced collections is 0 and hence divisible by $2^{s+1}$. Therefore, the situation is not good. Then we have only zeros on the blackboard at the moment when the game terminates. If there are $k$ of them, then the number of balanced collections is $2^{k}$. Since the situation is good, we have $k \\leqslant s$. By Lemmas 1 and 2, $B$ may act in such way that they keep the situation good. By Lemma 3, when the game terminates, the board contains at most $s$ numbers. This is what we aimed to prove. Comment 1. If the initial situation had some odd number $n>1$ of ones on the blackboard, player $A$ would still get $S_{2}(n)$ cookies, provided that both players act optimally. The proof of this fact is similar to the solution above, after one makes some changes in the definitions. Such changes are listed below. Say that a collection of $k$ signs $\\varepsilon_{1}, \\ldots, \\varepsilon_{k} \\in\\{+1,-1\\}$ is positive if $$ \\sum_{i=1}^{k} \\varepsilon_{i} x_{i}>0 $$ For every index $i=1,2, \\ldots, k$, we denote by $N_{i}$ the number of positive collections such that $\\varepsilon_{i}=1$. Finally, say that a situation on the board is good if $2^{s-1}$ does not divide at least one of the numbers $N_{i}$. Now, a strategy for $B$ again consists in preserving the situation good, after each round. Comment 2. There is an easier strategy for $B$, allowing, in the game starting with an even number $n$ of ones, to lose no more than $d=\\left\\lfloor\\log _{2}(n+2)\\right\\rfloor-1$ cookies. If the binary representation of $n$ contains at most two zeros, then $d=S_{2}(n)$, and hence the strategy is optimal in that case. We outline this approach below. First of all, we can assume that $A$ never erases zeros from the blackboard. Indeed, $A$ may skip such moves harmlessly, ignoring the zeros in the further process; this way, $A$ 's win will just increase. We say that a situation on the blackboard is pretty if the numbers on the board can be partitioned into two groups with equal sums. Clearly, if the situation before some round is pretty, then $B$ may play so as to preserve this property after the round. The strategy for $B$ is as follows: - $B$ always chooses a move that leads to a pretty situation. - If both possible moves of $B$ lead to pretty situations, then $B$ writes the sum of the two numbers erased by $A$. Since the situation always remains pretty, the game terminates when all numbers on the board are zeros. Suppose that, at the end of the game, there are $m \\geqslant d+1=\\left\\lfloor\\log _{2}(n+2)\\right\\rfloor$ zeros on the board; then $2^{m}-1>n / 2$. Now we analyze the whole process of the play. Let us number the zeros on the board in order of appearance. During the play, each zero had appeared after subtracting two equal numbers. Let $n_{1}, \\ldots, n_{m}$ be positive integers such that the first zero appeared after subtracting $n_{1}$ from $n_{1}$, the second zero appeared after subtracting $n_{2}$ from $n_{2}$, and so on. Since the sum of the numbers on the blackboard never increases, we have $2 n_{1}+\\ldots+2 n_{m} \\leqslant n$, hence $$ n_{1}+\\ldots+n_{m} \\leqslant n / 2<2^{m}-1 $$ There are $2^{m}$ subsets of the set $\\{1,2, \\ldots, m\\}$. For $I \\subseteq\\{1,2, \\ldots, m\\}$, denote by $f(I)$ the sum $\\sum_{i \\in I} n_{i}$. There are less than $2^{m}$ possible values for $f(I)$, so there are two distinct subsets $I$ and $J$ with $f(I)=f(J)$. Replacing $I$ and $J$ with $I \\backslash J$ and $J \\backslash I$, we assume that $I$ and $J$ are disjoint. Let $i_{0}$ be the smallest number in $I \\cup J$; without loss of generality, $i_{0} \\in I$. Consider the round when $A$ had erased two numbers equal to $n_{i_{0}}$, and $B$ had put the $i_{0}{ }^{\\text {th }}$ zero instead, and the situation before that round. For each nonzero number $z$ which is on the blackboard at this moment, we can keep track of it during the further play until it enters one of the numbers $n_{i}, i \\geqslant i_{0}$, which then turn into zeros. For every $i=i_{0}, i_{0}+1, \\ldots, m$, we denote by $X_{i}$ the collection of all numbers on the blackboard that finally enter the first copy of $n_{i}$, and by $Y_{i}$ the collection of those finally entering the second copy of $n_{i}$. Thus, each of $X_{i_{0}}$ and $Y_{i_{0}}$ consists of a single number. Since $A$ never erases zeros, the 2(m-iol $i_{0}$ ) defined sets are pairwise disjoint. Clearly, for either of the collections $X_{i}$ and $Y_{i}$, a signed sum of its elements equals $n_{i}$, for a proper choice of the signs. Therefore, for every $i=i_{0}, i_{0}+1, \\ldots, m$ one can endow numbers in $X_{i} \\cup Y_{i}$ with signs so that their sum becomes any of the numbers $-2 n_{i}, 0$, or $2 n_{i}$. Perform such endowment so as to get $2 n_{i}$ from each collection $X_{i} \\cup Y_{i}$ with $i \\in I,-2 n_{j}$ from each collection $X_{j} \\cup Y_{j}$ with $j \\in J$, and 0 from each remaining collection. The obtained signed sum of all numbers on the blackboard equals $$ \\sum_{i \\in I} 2 n_{i}-\\sum_{i \\in J} 2 n_{i}=0 $$ and the numbers in $X_{i_{0}}$ and $Y_{i_{0}}$ have the same (positive) sign. This means that, at this round, $B$ could add up the two numbers $n_{i_{0}}$ to get a pretty situation. According to the strategy, $B$ should have performed that, instead of subtracting the numbers. This contradiction shows that $m \\leqslant d$, as desired. This page is intentionally left blank", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G3", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a convex quadrilateral with $\\angle A B C>90^{\\circ}, \\angle C D A>90^{\\circ}$, and $\\angle D A B=\\angle B C D$. Denote by $E$ and $F$ the reflections of $A$ in lines $B C$ and $C D$, respectively. Suppose that the segments $A E$ and $A F$ meet the line $B D$ at $K$ and $L$, respectively. Prove that the circumcircles of triangles $B E K$ and $D F L$ are tangent to each other. (Slovakia)", "solution": "Denote by $A^{\\prime}$ the reflection of $A$ in $B D$. We will show that that the quadrilaterals $A^{\\prime} B K E$ and $A^{\\prime} D L F$ are cyclic, and their circumcircles are tangent to each other at point $A^{\\prime}$. From the symmetry about line $B C$ we have $\\angle B E K=\\angle B A K$, while from the symmetry in $B D$ we have $\\angle B A K=\\angle B A^{\\prime} K$. Hence $\\angle B E K=\\angle B A^{\\prime} K$, which implies that the quadrilateral $A^{\\prime} B K E$ is cyclic. Similarly, the quadrilateral $A^{\\prime} D L F$ is also cyclic. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-54.jpg?height=632&width=1229&top_left_y=818&top_left_x=419) For showing that circles $A^{\\prime} B K E$ and $A^{\\prime} D L F$ are tangent it suffices to prove that $$ \\angle A^{\\prime} K B+\\angle A^{\\prime} L D=\\angle B A^{\\prime} D . $$ Indeed, by $A K \\perp B C$, $A L \\perp C D$, and again the symmetry in $B D$ we have $$ \\angle A^{\\prime} K B+\\angle A^{\\prime} L D=180^{\\circ}-\\angle K A^{\\prime} L=180^{\\circ}-\\angle K A L=\\angle B C D=\\angle B A D=\\angle B A^{\\prime} D, $$ as required. Comment 1. The key to the solution above is introducing the point $A^{\\prime}$; then the angle calculations can be done in many different ways.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G3", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a convex quadrilateral with $\\angle A B C>90^{\\circ}, \\angle C D A>90^{\\circ}$, and $\\angle D A B=\\angle B C D$. Denote by $E$ and $F$ the reflections of $A$ in lines $B C$ and $C D$, respectively. Suppose that the segments $A E$ and $A F$ meet the line $B D$ at $K$ and $L$, respectively. Prove that the circumcircles of triangles $B E K$ and $D F L$ are tangent to each other. (Slovakia)", "solution": "Note that $\\angle K A L=180^{\\circ}-\\angle B C D$, since $A K$ and $A L$ are perpendicular to $B C$ and $C D$, respectively. Reflect both circles $(B E K)$ and $(D F L)$ in $B D$. Since $\\angle K E B=\\angle K A B$ and $\\angle D F L=\\angle D A L$, the images are the circles $(K A B)$ and $(L A D)$, respectively; so they meet at $A$. We need to prove that those two reflections are tangent at $A$. For this purpose, we observe that $$ \\angle A K B+\\angle A L D=180^{\\circ}-\\angle K A L=\\angle B C D=\\angle B A D . $$ Thus, there exists a ray $A P$ inside angle $\\angle B A D$ such that $\\angle B A P=\\angle A K B$ and $\\angle D A P=$ $\\angle D L A$. Hence the line $A P$ is a common tangent to the circles $(K A B)$ and $(L A D)$, as desired. Comment 2. The statement of the problem remains true for a more general configuration, e.g., if line $B D$ intersect the extension of segment $A E$ instead of the segment itself, etc. The corresponding restrictions in the statement are given to reduce case sensitivity.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G5", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a cyclic quadrilateral with no two sides parallel. Let $K, L, M$, and $N$ be points lying on sides $A B, B C, C D$, and $D A$, respectively, such that $K L M N$ is a rhombus with $K L \\| A C$ and $L M \\| B D$. Let $\\omega_{1}, \\omega_{2}, \\omega_{3}$, and $\\omega_{4}$ be the incircles of triangles $A N K$, $B K L, C L M$, and $D M N$, respectively. Prove that the internal common tangents to $\\omega_{1}$ and $\\omega_{3}$ and the internal common tangents to $\\omega_{2}$ and $\\omega_{4}$ are concurrent. (Poland)", "solution": "Let $I_{i}$ be the center of $\\omega_{i}$, and let $r_{i}$ be its radius for $i=1,2,3,4$. Denote by $T_{1}$ and $T_{3}$ the points of tangency of $\\omega_{1}$ and $\\omega_{3}$ with $N K$ and $L M$, respectively. Suppose that the internal common tangents to $\\omega_{1}$ and $\\omega_{3}$ meet at point $S$, which is the center of homothety $h$ with negative ratio (namely, with ratio $-\\frac{r_{3}}{r_{1}}$ ) mapping $\\omega_{1}$ to $\\omega_{3}$. This homothety takes $T_{1}$ to $T_{3}$ (since the tangents to $\\omega_{1}$ and $\\omega_{3}$ at $T_{1}$ to $T_{3}$ are parallel), hence $S$ is a point on the segment $T_{1} T_{3}$ with $T_{1} S: S T_{3}=r_{1}: r_{3}$. Construct segments $S_{1} S_{3} \\| K L$ and $S_{2} S_{4} \\| L M$ through $S$ with $S_{1} \\in N K, S_{2} \\in K L$, $S_{3} \\in L M$, and $S_{4} \\in M N$. Note that $h$ takes $S_{1}$ to $S_{3}$, hence $I_{1} S_{1} \\| I_{3} S_{3}$, and $S_{1} S: S S_{3}=r_{1}: r_{3}$. We will prove that $S_{2} S: S S_{4}=r_{2}: r_{4}$ or, equivalently, $K S_{1}: S_{1} N=r_{2}: r_{4}$. This will yield the problem statement; indeed, applying similar arguments to the intersection point $S^{\\prime}$ of the internal common tangents to $\\omega_{2}$ and $\\omega_{4}$, we see that $S^{\\prime}$ satisfies similar relations, and there is a unique point inside $K L M N$ satisfying them. Therefore, $S^{\\prime}=S$. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-56.jpg?height=670&width=1409&top_left_y=1207&top_left_x=326) Further, denote by $I_{A}, I_{B}, I_{C}, I_{D}$ and $r_{A}, r_{B}, r_{C}, r_{D}$ the incenters and inradii of triangles $D A B, A B C, B C D$, and $C D A$, respectively. One can shift triangle $C L M$ by $\\overrightarrow{L K}$ to glue it with triangle $A K N$ into a quadrilateral $A K C^{\\prime} N$ similar to $A B C D$. In particular, this shows that $r_{1}: r_{3}=r_{A}: r_{C}$; similarly, $r_{2}: r_{4}=r_{B}: r_{D}$. Moreover, the same shift takes $S_{3}$ to $S_{1}$, and it also takes $I_{3}$ to the incenter $I_{3}^{\\prime}$ of triangle $K C^{\\prime} N$. Since $I_{1} S_{1} \\| I_{3} S_{3}$, the points $I_{1}, S_{1}, I_{3}^{\\prime}$ are collinear. Thus, in order to complete the solution, it suffices to apply the following Lemma to quadrilateral $A K C^{\\prime} N$. Lemma 1. Let $A B C D$ be a cyclic quadrilateral, and define $I_{A}, I_{C}, r_{B}$, and $r_{D}$ as above. Let $I_{A} I_{C}$ meet $B D$ at $X$; then $B X: X D=r_{B}: r_{D}$. Proof. Consider an inversion centered at $X$; the images under that inversion will be denoted by primes, e.g., $A^{\\prime}$ is the image of $A$. By properties of inversion, we have $$ \\angle I_{C}^{\\prime} I_{A}^{\\prime} D^{\\prime}=\\angle X I_{A}^{\\prime} D^{\\prime}=\\angle X D I_{A}=\\angle B D A / 2=\\angle B C A / 2=\\angle A C I_{B} $$ We obtain $\\angle I_{A}^{\\prime} I_{C}^{\\prime} D^{\\prime}=\\angle C A I_{B}$ likewise; therefore, $\\triangle I_{C}^{\\prime} I_{A}^{\\prime} D^{\\prime} \\sim \\triangle A C I_{B}$. In the same manner, we get $\\triangle I_{C}^{\\prime} I_{A}^{\\prime} B^{\\prime} \\sim \\triangle A C I_{D}$, hence the quadrilaterals $I_{C}^{\\prime} B^{\\prime} I_{A}^{\\prime} D^{\\prime}$ and $A I_{D} C I_{B}$ are also similar. But the diagonals $A C$ and $I_{B} I_{D}$ of quadrilateral $A I_{D} C I_{B}$ meet at a point $Y$ such that $I_{B} Y$ : $Y I_{D}=r_{B}: r_{D}$. By similarity, we get $D^{\\prime} X: B^{\\prime} X=r_{B}: r_{D}$ and hence $B X: X D=D^{\\prime} X:$ $B^{\\prime} X=r_{B}: r_{D}$. Comment 1. The solution above shows that the problem statement holds also for any parallelogram $K L M N$ whose sides are parallel to the diagonals of $A B C D$, as no property specific for a rhombus has been used. This solution works equally well when two sides of quadrilateral $A B C D$ are parallel. Comment 2. The problem may be reduced to Lemma 1 by using different tools, e.g., by using mass point geometry, linear motion of $K, L, M$, and $N$, etc. Lemma 1 itself also can be proved in different ways. We present below one alternative proof. Proof. In the circumcircle of $A B C D$, let $K^{\\prime}, L^{\\prime} . M^{\\prime}$, and $N^{\\prime}$ be the midpoints of arcs $A B, B C$, $C D$, and $D A$ containing no other vertices of $A B C D$, respectively. Thus, $K^{\\prime}=C I_{B} \\cap D I_{A}$, etc. In the computations below, we denote by $[P]$ the area of a polygon $P$. We use similarities $\\triangle I_{A} B K^{\\prime} \\sim$ $\\triangle I_{A} D N^{\\prime}, \\triangle I_{B} K^{\\prime} L^{\\prime} \\sim \\triangle I_{B} A C$, etc., as well as congruences $\\triangle I_{B} K^{\\prime} L^{\\prime}=\\triangle B K^{\\prime} L^{\\prime}$ and $\\triangle I_{D} M^{\\prime} N^{\\prime}=$ $\\triangle D M^{\\prime} N^{\\prime}$ (e.g., the first congruence holds because $K^{\\prime} L^{\\prime}$ is a common internal bisector of angles $B K^{\\prime} I_{B}$ and $B L^{\\prime} I_{B}$ ). We have $$ \\begin{aligned} & \\frac{B X}{D X}=\\frac{\\left[I_{A} B I_{C}\\right]}{\\left[I_{A} D I_{C}\\right]}=\\frac{B I_{A} \\cdot B I_{C} \\cdot \\sin I_{A} B I_{C}}{D I_{A} \\cdot D I_{C} \\cdot \\sin I_{A} D I_{C}}=\\frac{B I_{A}}{D I_{A}} \\cdot \\frac{B I_{C}}{D I_{C}} \\cdot \\frac{\\sin N^{\\prime} B M^{\\prime}}{\\sin K^{\\prime} D L^{\\prime}} \\\\ & =\\frac{B K^{\\prime}}{D N^{\\prime}} \\cdot \\frac{B L^{\\prime}}{D M^{\\prime}} \\cdot \\frac{\\sin N^{\\prime} D M^{\\prime}}{\\sin K^{\\prime} B L^{\\prime}}=\\frac{B K^{\\prime} \\cdot B L^{\\prime} \\cdot \\sin K^{\\prime} B L^{\\prime}}{D N^{\\prime} \\cdot D M^{\\prime} \\cdot \\sin N^{\\prime} D M^{\\prime}} \\cdot \\frac{\\sin ^{2} N^{\\prime} D M^{\\prime}}{\\sin ^{2} K^{\\prime} B L^{\\prime}} \\\\ & \\quad=\\frac{\\left[K^{\\prime} B L^{\\prime}\\right]}{\\left[M^{\\prime} D N^{\\prime}\\right]} \\cdot \\frac{N^{\\prime} M^{\\prime 2}}{K^{\\prime} L^{\\prime 2}}=\\frac{\\left[K^{\\prime} I_{B} L^{\\prime}\\right] \\cdot \\frac{A^{\\prime} C^{\\prime 2}}{K^{\\prime} L^{\\prime 2}}}{\\left[M^{\\prime} I_{D} N^{\\prime}\\right] \\cdot \\frac{A^{\\prime} C^{\\prime 2}}{N^{\\prime} M^{\\prime 2}}}=\\frac{\\left[A I_{B} C\\right]}{\\left[A I_{D} C\\right]}=\\frac{r_{B}}{r_{D}}, \\end{aligned} $$ as required.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G5", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a cyclic quadrilateral with no two sides parallel. Let $K, L, M$, and $N$ be points lying on sides $A B, B C, C D$, and $D A$, respectively, such that $K L M N$ is a rhombus with $K L \\| A C$ and $L M \\| B D$. Let $\\omega_{1}, \\omega_{2}, \\omega_{3}$, and $\\omega_{4}$ be the incircles of triangles $A N K$, $B K L, C L M$, and $D M N$, respectively. Prove that the internal common tangents to $\\omega_{1}$ and $\\omega_{3}$ and the internal common tangents to $\\omega_{2}$ and $\\omega_{4}$ are concurrent. (Poland)", "solution": "This solution is based on the following general Lemma. Lemma 2. Let $E$ and $F$ be distinct points, and let $\\omega_{i}, i=1,2,3,4$, be circles lying in the same halfplane with respect to $E F$. For distinct indices $i, j \\in\\{1,2,3,4\\}$, denote by $O_{i j}^{+}$ (respectively, $O_{i j}^{-}$) the center of homothety with positive (respectively, negative) ratio taking $\\omega_{i}$ to $\\omega_{j}$. Suppose that $E=O_{12}^{+}=O_{34}^{+}$and $F=O_{23}^{+}=O_{41}^{+}$. Then $O_{13}^{-}=O_{24}^{-}$. Proof. Applying Monge's theorem to triples of circles $\\omega_{1}, \\omega_{2}, \\omega_{4}$ and $\\omega_{1}, \\omega_{3}, \\omega_{4}$, we get that both points $O_{24}^{-}$and $O_{13}^{-}$lie on line $E O_{14}^{-}$. Notice that this line is distinct from $E F$. Similarly we obtain that both points $O_{24}^{-}$and $O_{13}^{-}$lie on $F O_{34}^{-}$. Since the lines $E O_{14}^{-}$and $F O_{34}^{-}$are distinct, both points coincide with the meeting point of those lines. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-57.jpg?height=716&width=1837&top_left_y=2073&top_left_x=108) Turning back to the problem, let $A B$ intersect $C D$ at $E$ and let $B C$ intersect $D A$ at $F$. Assume, without loss of generality, that $B$ lies on segments $A E$ and $C F$. We will show that the points $E$ and $F$, and the circles $\\omega_{i}$ satisfy the conditions of Lemma 2 , so the problem statement follows. In the sequel, we use the notation of $O_{i j}^{ \\pm}$from the statement of Lemma 2, applied to circles $\\omega_{1}, \\omega_{2}, \\omega_{3}$, and $\\omega_{4}$. Using the relations $\\triangle E C A \\sim \\triangle E B D, K N \\| B D$, and $M N \\| A C$. we get $$ \\frac{A N}{N D}=\\frac{A N}{A D} \\cdot \\frac{A D}{N D}=\\frac{K N}{B D} \\cdot \\frac{A C}{N M}=\\frac{A C}{B D}=\\frac{A E}{E D} $$ Therefore, by the angle bisector theorem, point $N$ lies on the internal angle bisector of $\\angle A E D$. We prove similarly that $L$ also lies on that bisector, and that the points $K$ and $M$ lie on the internal angle bisector of $\\angle A F B$. Since $K L M N$ is a rhombus, points $K$ and $M$ are symmetric in line $E L N$. Hence, the convex quadrilateral determined by the lines $E K, E M, K L$, and $M L$ is a kite, and therefore it has an incircle $\\omega_{0}$. Applying Monge's theorem to $\\omega_{0}, \\omega_{2}$, and $\\omega_{3}$, we get that $O_{23}^{+}$lies on $K M$. On the other hand, $O_{23}^{+}$lies on $B C$, as $B C$ is an external common tangent to $\\omega_{2}$ and $\\omega_{3}$. It follows that $F=O_{23}^{+}$. Similarly, $E=O_{12}^{+}=O_{34}^{+}$, and $F=O_{41}^{+}$. Comment 3. The reduction to Lemma 2 and the proof of Lemma 2 can be performed with the use of different tools, e.g., by means of Menelaus theorem, by projecting harmonic quadruples, by applying Monge's theorem in some other ways, etc. This page is intentionally left blank", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "G6", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $I$ and $I_{A}$ be the incenter and the $A$-excenter of an acute-angled triangle $A B C$ with $A B(t-1) \\frac{\\sqrt{3}}{2}$, or $$ t<1+\\frac{4 \\sqrt{M}}{\\sqrt{3}}<4 \\sqrt{M} $$ as $M \\geqslant 1$. Combining the estimates (1), (2), and (3), we finally obtain $$ \\frac{1}{4 \\delta} \\leqslant t<4 \\sqrt{M}<4 \\sqrt{2 n \\delta}, \\quad \\text { or } \\quad 512 n \\delta^{3}>1 $$ which does not hold for the chosen value of $\\delta$. Comment 1. As the proposer mentions, the exponent $-1 / 3$ in the problem statement is optimal. In fact, for any $n \\geqslant 2$, there is a configuration $\\mathcal{S}$ of $n$ points in the plane such that any two points in $\\mathcal{S}$ are at least 1 apart, but every line $\\ell$ separating $\\mathcal{S}$ is at most $c^{\\prime} n^{-1 / 3} \\log n$ apart from some point in $\\mathcal{S}$; here $c^{\\prime}$ is some absolute constant. The original proposal suggested to prove the estimate of the form $\\mathrm{cn}^{-1 / 2}$. That version admits much easier solutions. E.g., setting $\\delta=\\frac{1}{16} n^{-1 / 2}$ and applying (1), we see that $\\mathcal{S}$ is contained in a disk $D$ of radius $\\frac{1}{8} n^{1 / 2}$. On the other hand, for each point $X$ of $\\mathcal{S}$, let $D_{X}$ be the disk of radius $\\frac{1}{2}$ centered at $X$; all these disks have disjoint interiors and lie within the disk concentric to $D$, of radius $\\frac{1}{16} n^{1 / 2}+\\frac{1}{2}<\\frac{1}{2} n^{1 / 2}$. Comparing the areas, we get $$ n \\cdot \\frac{\\pi}{4} \\leqslant \\pi\\left(\\frac{n^{1 / 2}}{16}+\\frac{1}{2}\\right)^{2}<\\frac{\\pi n}{4} $$ which is a contradiction. The Problem Selection Committee decided to choose a harder version for the Shortlist. Comment 2. In this comment, we discuss some versions of the solution above, which avoid concentrating on the diameter of $\\mathcal{S}$. We start with introducing some terminology suitable for those versions. Put $\\delta=c n^{-1 / 3}$ for a certain sufficiently small positive constant $c$. For the sake of contradiction, suppose that, for some set $\\mathcal{S}$ satisfying the conditions in the problem statement, there is no separating line which is at least $\\delta$ apart from each point of $\\mathcal{S}$. Let $C$ be the convex hull of $\\mathcal{S}$. A line is separating if and only if it meets $C$ (we assume that a line passing through a point of $\\mathcal{S}$ is always separating). Consider a strip between two parallel separating lines $a$ and $a^{\\prime}$ which are, say, $\\frac{1}{4}$ apart from each other. Define a slice determined by the strip as the intersection of $\\mathcal{S}$ with the strip. The length of the slice is the diameter of the projection of the slice to $a$. In this terminology, the arguments used in the proofs of (2) and (3) show that for any slice $\\mathcal{T}$ of length $L$, we have $$ \\frac{1}{8 \\delta} \\leqslant|\\mathcal{T}| \\leqslant 1+\\frac{4}{\\sqrt{15}} L $$ The key idea of the solution is to apply these estimates to a peel slice, where line $a$ does not cross the interior of $C$. In the above solution, this idea was applied to one carefully chosen peel slice. Here, we outline some different approach involving many of them. We always assume that $n$ is sufficiently large. Consider a peel slice determined by lines $a$ and $a^{\\prime}$, where $a$ contains no interior points of $C$. We orient $a$ so that $C$ lies to the left of $a$. Line $a$ is called a supporting line of the slice, and the obtained direction is the direction of the slice; notice that the direction determines uniquely the supporting line and hence the slice. Fix some direction $\\mathbf{v}_{0}$, and for each $\\alpha \\in[0,2 \\pi)$ denote by $\\mathcal{T}_{\\alpha}$ the peel slice whose direction is $\\mathbf{v}_{0}$ rotated by $\\alpha$ counterclockwise. When speaking about the slice, we always assume that the figure is rotated so that its direction is vertical from the bottom to the top; then the points in $\\mathcal{T}$ get a natural order from the bottom to the top. In particular, we may speak about the top half $\\mathrm{T}(\\mathcal{T})$ consisting of $\\lfloor|\\mathcal{T}| / 2\\rfloor$ topmost points in $\\mathcal{T}$, and similarly about its bottom half $\\mathrm{B}(\\mathcal{T})$. By (4), each half contains at least 10 points when $n$ is large. Claim. Consider two angles $\\alpha, \\beta \\in[0, \\pi / 2]$ with $\\beta-\\alpha \\geqslant 40 \\delta=: \\phi$. Then all common points of $\\mathcal{T}_{\\alpha}$ and $\\mathcal{T}_{\\beta}$ lie in $\\mathrm{T}\\left(\\mathcal{T}_{\\alpha}\\right) \\cap \\mathrm{B}\\left(\\mathcal{T}_{\\beta}\\right)$. ![](https://cdn.mathpix.com/cropped/2024_11_18_bcdd154f2030efbe2fa4g-71.jpg?height=738&width=1338&top_left_y=201&top_left_x=366) Proof. By symmetry, it suffices to show that all those points lie in $\\mathrm{T}\\left(\\mathcal{T}_{\\alpha}\\right)$. Let $a$ be the supporting line of $\\mathcal{T}_{\\alpha}$, and let $\\ell$ be a line perpendicular to the direction of $\\mathcal{T}_{\\beta}$. Let $P_{1}, \\ldots, P_{k}$ list all points in $\\mathcal{T}_{\\alpha}$, numbered from the bottom to the top; by (4), we have $k \\geqslant \\frac{1}{8} \\delta^{-1}$. Introduce the Cartesian coordinates so that the (oriented) line $a$ is the $y$-axis. Let $P_{i}$ be any point in $\\mathrm{B}\\left(\\mathcal{T}_{\\alpha}\\right)$. The difference of ordinates of $P_{k}$ and $P_{i}$ is at least $\\frac{\\sqrt{15}}{4}(k-i)>\\frac{1}{3} k$, while their abscissas differ by at most $\\frac{1}{4}$. This easily yields that the projections of those points to $\\ell$ are at least $$ \\frac{k}{3} \\sin \\phi-\\frac{1}{4} \\geqslant \\frac{1}{24 \\delta} \\cdot 20 \\delta-\\frac{1}{4}>\\frac{1}{4} $$ apart from each other, and $P_{k}$ is closer to the supporting line of $\\mathcal{T}_{\\beta}$ than $P_{i}$, so that $P_{i}$ does not belong to $\\mathcal{T}_{\\beta}$. Now, put $\\alpha_{i}=40 \\delta i$, for $i=0,1, \\ldots,\\left\\lfloor\\frac{1}{40} \\delta^{-1} \\cdot \\frac{\\pi}{2}\\right\\rfloor$, and consider the slices $\\mathcal{T}_{\\alpha_{i}}$. The Claim yields that each point in $\\mathcal{S}$ is contained in at most two such slices. Hence, the union $\\mathcal{U}$ of those slices contains at least $$ \\frac{1}{2} \\cdot \\frac{1}{8 \\delta} \\cdot \\frac{1}{40 \\delta} \\cdot \\frac{\\pi}{2}=\\frac{\\lambda}{\\delta^{2}} $$ points (for some constant $\\lambda$ ), and each point in $\\mathcal{U}$ is at most $\\frac{1}{4}$ apart from the boundary of $C$. It is not hard now to reach a contradiction with (1). E.g., for each point $X \\in \\mathcal{U}$, consider a closest point $f(X)$ on the boundary of $C$. Obviously, $f(X) f(Y) \\geqslant X Y-\\frac{1}{2} \\geqslant \\frac{1}{2} X Y$ for all $X, Y \\in \\mathcal{U}$. This yields that the perimeter of $C$ is at least $\\mu \\delta^{-2}$, for some constant $\\mu$, and hence the diameter of $\\mathcal{S}$ is of the same order. Alternatively, one may show that the projection of $\\mathcal{U}$ to the line at the angle of $\\pi / 4$ with $\\mathbf{v}_{0}$ has diameter at least $\\mu \\delta^{-2}$ for some constant $\\mu$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n$ be an integer with $n \\geqslant 2$. Does there exist a sequence $\\left(a_{1}, \\ldots, a_{n}\\right)$ of positive integers with not all terms being equal such that the arithmetic mean of every two terms is equal to the geometric mean of some (one or more) terms in this sequence? (Estonia) Answer: No such sequence exists.", "solution": "Suppose that $a_{1}, \\ldots, a_{n}$ satisfy the required properties. Let $d=\\operatorname{gcd}\\left(a_{1} \\ldots, a_{n}\\right)$. If $d>1$ then replace the numbers $a_{1}, \\ldots, a_{n}$ by $\\frac{a_{1}}{d}, \\ldots, \\frac{a_{n}}{d}$; all arithmetic and all geometric means will be divided by $d$, so we obtain another sequence satisfying the condition. Hence, without loss of generality, we can assume that $\\operatorname{gcd}\\left(a_{1} \\ldots, a_{n}\\right)=1$. We show two numbers, $a_{m}$ and $a_{k}$ such that their arithmetic mean, $\\frac{a_{m}+a_{k}}{2}$ is different from the geometric mean of any (nonempty) subsequence of $a_{1} \\ldots, a_{n}$. That proves that there cannot exist such a sequence. Choose the index $m \\in\\{1, \\ldots, n\\}$ such that $a_{m}=\\max \\left(a_{1}, \\ldots, a_{n}\\right)$. Note that $a_{m} \\geqslant 2$, because $a_{1}, \\ldots, a_{n}$ are not all equal. Let $p$ be a prime divisor of $a_{m}$. Let $k \\in\\{1, \\ldots, n\\}$ be an index such that $a_{k}=\\max \\left\\{a_{i}: p \\nmid a_{i}\\right\\}$. Due to $\\operatorname{gcd}\\left(a_{1} \\ldots, a_{n}\\right)=1$, not all $a_{i}$ are divisible by $p$, so such a $k$ exists. Note that $a_{m}>a_{k}$ because $a_{m} \\geqslant a_{k}, p \\mid a_{m}$ and $p \\nmid a_{k}$. Let $b=\\frac{a_{m}+a_{k}}{2}$; we will show that $b$ cannot be the geometric mean of any subsequence of $a_{1}, \\ldots, a_{n}$. Consider the geometric mean, $g=\\sqrt[t]{a_{i_{1}} \\cdot \\ldots \\cdot a_{i_{t}}}$ of an arbitrary subsequence of $a_{1}, \\ldots, a_{n}$. If none of $a_{i_{1}}, \\ldots, a_{i_{t}}$ is divisible by $p$, then they are not greater than $a_{k}$, so $$ g=\\sqrt[t]{a_{i_{1}} \\cdot \\ldots \\cdot a_{i_{t}}} \\leqslant a_{k}<\\frac{a_{m}+a_{k}}{2}=b $$ and therefore $g \\neq b$. Otherwise, if at least one of $a_{i_{1}}, \\ldots, a_{i_{t}}$ is divisible by $p$, then $2 g=2 \\sqrt{t} \\sqrt{a_{i_{1}} \\cdot \\ldots \\cdot a_{i_{t}}}$ is either not an integer or is divisible by $p$, while $2 b=a_{m}+a_{k}$ is an integer not divisible by $p$, so $g \\neq b$ again.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n$ be an integer with $n \\geqslant 2$. Does there exist a sequence $\\left(a_{1}, \\ldots, a_{n}\\right)$ of positive integers with not all terms being equal such that the arithmetic mean of every two terms is equal to the geometric mean of some (one or more) terms in this sequence? (Estonia) Answer: No such sequence exists.", "solution": "Like in the previous solution, we assume that the numbers $a_{1}, \\ldots, a_{n}$ have no common divisor greater than 1 . The arithmetic mean of any two numbers in the sequence is half of an integer; on the other hand, it is a (some integer order) root of an integer. This means each pair's mean is an integer, so all terms in the sequence must be of the same parity; hence they all are odd. Let $d=\\min \\left\\{\\operatorname{gcd}\\left(a_{i}, a_{j}\\right): a_{i} \\neq a_{j}\\right\\}$. By reordering the sequence we can assume that $\\operatorname{gcd}\\left(a_{1}, a_{2}\\right)=d$, the sum $a_{1}+a_{2}$ is maximal among such pairs, and $a_{1}>a_{2}$. We will show that $\\frac{a_{1}+a_{2}}{2}$ cannot be the geometric mean of any subsequence of $a_{1} \\ldots, a_{n}$. Let $a_{1}=x d$ and $a_{2}=y d$ where $x, y$ are coprime, and suppose that there exist some $b_{1}, \\ldots, b_{t} \\in\\left\\{a_{1}, \\ldots, a_{n}\\right\\}$ whose geometric mean is $\\frac{a_{1}+a_{2}}{2}$. Let $d_{i}=\\operatorname{gcd}\\left(a_{1}, b_{i}\\right)$ for $i=1,2, \\ldots, t$ and let $D=d_{1} d_{2} \\cdot \\ldots \\cdot d_{t}$. Then $$ D=d_{1} d_{2} \\cdot \\ldots \\cdot d_{t} \\left\\lvert\\, b_{1} b_{2} \\cdot \\ldots \\cdot b_{t}=\\left(\\frac{a_{1}+a_{2}}{2}\\right)^{t}=\\left(\\frac{x+y}{2}\\right)^{t} d^{t}\\right. $$ We claim that $D \\mid d^{t}$. Consider an arbitrary prime divisor $p$ of $D$. Let $\\nu_{p}(x)$ denote the exponent of $p$ in the prime factorization of $x$. If $p \\left\\lvert\\, \\frac{x+y}{2}\\right.$, then $p \\nmid x, y$, so $p$ is coprime with $x$; hence, $\\nu_{p}\\left(d_{i}\\right) \\leqslant \\nu_{p}\\left(a_{1}\\right)=\\nu_{p}(x d)=\\nu_{p}(d)$ for every $1 \\leqslant i \\leqslant t$, therefore $\\nu_{p}(D)=\\sum_{i} \\nu_{p}\\left(d_{i}\\right) \\leqslant$ $t \\nu_{p}(d)=\\nu_{p}\\left(d^{t}\\right)$. Otherwise, if $p$ is coprime to $\\frac{x+y}{2}$, we have $\\nu_{p}(D) \\leqslant \\nu_{p}\\left(d^{t}\\right)$ trivially. The claim has been proved. Notice that $d_{i}=\\operatorname{gcd}\\left(b_{i}, a_{1}\\right) \\geqslant d$ for $1 \\leqslant i \\leqslant t$ : if $b_{i} \\neq a_{1}$ then this follows from the definition of $d$; otherwise we have $b_{i}=a_{1}$, so $d_{i}=a_{1} \\geqslant d$. Hence, $D=d_{1} \\cdot \\ldots \\cdot d_{t} \\geqslant d^{t}$, and the claim forces $d_{1}=\\ldots=d_{t}=d$. Finally, by $\\frac{a_{1}+a_{2}}{2}>a_{2}$ there must be some $b_{k}$ which is greater than $a_{2}$. From $a_{1}>a_{2} \\geqslant$ $d=\\operatorname{gcd}\\left(a_{1}, b_{k}\\right)$ it follows that $a_{1} \\neq b_{k}$. Now the have a pair $a_{1}, b_{k}$ such that $\\operatorname{gcd}\\left(a_{1}, b_{k}\\right)=d$ but $a_{1}+b_{k}>a_{1}+a_{2}$; that contradicts the choice of $a_{1}$ and $a_{2}$. Comment. The original problem proposal contained a second question asking if there exists a nonconstant sequence $\\left(a_{1}, \\ldots, a_{n}\\right)$ of positive integers such that the geometric mean of every two terms is equal the arithmetic mean of some terms. For $n \\geqslant 3$ such a sequence is $(4,1,1, \\ldots, 1)$. The case $n=2$ can be done by the trivial estimates $$ \\min \\left(a_{1}, a_{2}\\right)<\\sqrt{a_{1} a_{2}}<\\frac{a_{1}+a_{2}}{2}<\\max \\left(a_{1}, a_{2}\\right) $$ The Problem Selection Committee found this variant less interesting and suggests using only the first question.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N4", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For any odd prime $p$ and any integer $n$, let $d_{p}(n) \\in\\{0,1, \\ldots, p-1\\}$ denote the remainder when $n$ is divided by $p$. We say that $\\left(a_{0}, a_{1}, a_{2}, \\ldots\\right)$ is a $p$-sequence, if $a_{0}$ is a positive integer coprime to $p$, and $a_{n+1}=a_{n}+d_{p}\\left(a_{n}\\right)$ for $n \\geqslant 0$. (a) Do there exist infinitely many primes $p$ for which there exist $p$-sequences $\\left(a_{0}, a_{1}, a_{2}, \\ldots\\right)$ and $\\left(b_{0}, b_{1}, b_{2}, \\ldots\\right)$ such that $a_{n}>b_{n}$ for infinitely many $n$, and $b_{n}>a_{n}$ for infinitely many $n$ ? (b) Do there exist infinitely many primes $p$ for which there exist $p$-sequences $\\left(a_{0}, a_{1}, a_{2}, \\ldots\\right)$ and $\\left(b_{0}, b_{1}, b_{2}, \\ldots\\right)$ such that $a_{0}b_{n}$ for all $n \\geqslant 1$ ? (United Kingdom) Answer: Yes, for both parts.", "solution": "Fix some odd prime $p$, and let $T$ be the smallest positive integer such that $p \\mid 2^{T}-1$; in other words, $T$ is the multiplicative order of 2 modulo $p$. Consider any $p$-sequence $\\left(x_{n}\\right)=\\left(x_{0}, x_{1}, x_{2}, \\ldots\\right)$. Obviously, $x_{n+1} \\equiv 2 x_{n}(\\bmod p)$ and therefore $x_{n} \\equiv 2^{n} x_{0}(\\bmod p)$. This yields $x_{n+T} \\equiv x_{n}(\\bmod p)$ and therefore $d\\left(x_{n+T}\\right)=d\\left(x_{n}\\right)$ for all $n \\geqslant 0$. It follows that the sum $d\\left(x_{n}\\right)+d\\left(x_{n+1}\\right)+\\ldots+d\\left(x_{n+T-1}\\right)$ does not depend on $n$ and is thus a function of $x_{0}$ (and $p$ ) only; we shall denote this sum by $S_{p}\\left(x_{0}\\right)$, and extend the function $S_{p}(\\cdot)$ to all (not necessarily positive) integers. Therefore, we have $x_{n+k T}=x_{n}+k S_{p}\\left(x_{0}\\right)$ for all positive integers $n$ and $k$. Clearly, $S_{p}\\left(x_{0}\\right)=S_{p}\\left(2^{t} x_{0}\\right)$ for every integer $t \\geqslant 0$. In both parts, we use the notation $$ S_{p}^{+}=S_{p}(1)=\\sum_{i=0}^{T-1} d_{p}\\left(2^{i}\\right) \\quad \\text { and } \\quad S_{p}^{-}=S_{p}(-1)=\\sum_{i=0}^{T-1} d_{p}\\left(p-2^{i}\\right) $$ (a) Let $q>3$ be a prime and $p$ a prime divisor of $2^{q}+1$ that is greater than 3 . We will show that $p$ is suitable for part (a). Notice that $9 \\nmid 2^{q}+1$, so that such a $p$ exists. Moreover, for any two odd primes $qb_{0}$ and $a_{1}=p+2b_{0}+k S_{p}^{+}=b_{k \\cdot 2 q} \\quad \\text { and } \\quad a_{k \\cdot 2 q+1}=a_{1}+k S_{p}^{+}S_{p}\\left(y_{0}\\right)$ but $x_{0}y_{n}$ for every $n \\geqslant q+q \\cdot \\max \\left\\{y_{r}-x_{r}: r=0,1, \\ldots, q-1\\right\\}$. Now, since $x_{0}S_{p}^{-}$, then we can put $x_{0}=1$ and $y_{0}=p-1$. Otherwise, if $S_{p}^{+}p$ must be divisible by $p$. Indeed, if $n=p k+r$ is a good number, $k>0,00$. Let $\\mathcal{B}$ be the set of big primes, and let $p_{1}p_{1} p_{2}$, and let $p_{1}^{\\alpha}$ be the largest power of $p_{1}$ smaller than $n$, so that $n \\leqslant p_{1}^{\\alpha+1}0$. If $f(k)=f(n-k)$ for all $k$, it implies that $\\binom{n-1}{k}$ is not divisible by $p$ for all $k=1,2, \\ldots, n-2$. It is well known that it implies $n=a \\cdot p^{s}, a0, f(q)>0$, there exist only finitely many $n$ which are equal both to $a \\cdot p^{s}, a0$ for at least two primes less than $n$. Let $p_{0}$ be the prime with maximal $g(f, p)$ among all primes $p1$, let $p_{1}, \\ldots, p_{k}$ be all primes between 1 and $N$ and $p_{k+1}, \\ldots, p_{k+s}$ be all primes between $N+1$ and $2 N$. Since for $j \\leqslant k+s$ all prime divisors of $p_{j}-1$ do not exceed $N$, we have $$ \\prod_{j=1}^{k+s}\\left(p_{j}-1\\right)=\\prod_{i=1}^{k} p_{i}^{c_{i}} $$ with some fixed exponents $c_{1}, \\ldots, c_{k}$. Choose a huge prime number $q$ and consider a number $$ n=\\left(p_{1} \\cdot \\ldots \\cdot p_{k}\\right)^{q-1} \\cdot\\left(p_{k+1} \\cdot \\ldots \\cdot p_{k+s}\\right) $$ Then $$ \\varphi(d(n))=\\varphi\\left(q^{k} \\cdot 2^{s}\\right)=q^{k-1}(q-1) 2^{s-1} $$ and $$ d(\\varphi(n))=d\\left(\\left(p_{1} \\cdot \\ldots \\cdot p_{k}\\right)^{q-2} \\prod_{i=1}^{k+s}\\left(p_{i}-1\\right)\\right)=d\\left(\\prod_{i=1}^{k} p_{i}^{q-2+c_{i}}\\right)=\\prod_{i=1}^{k}\\left(q-1+c_{i}\\right) $$ so $$ \\frac{\\varphi(d(n))}{d(\\varphi(n))}=\\frac{q^{k-1}(q-1) 2^{s-1}}{\\prod_{i=1}^{k}\\left(q-1+c_{i}\\right)}=2^{s-1} \\cdot \\frac{q-1}{q} \\cdot \\prod_{i=1}^{k} \\frac{q}{q-1+c_{i}} $$ which can be made arbitrarily close to $2^{s-1}$ by choosing $q$ large enough. It remains to show that $s$ can be arbitrarily large, i.e. that there can be arbitrarily many primes between $N$ and $2 N$. This follows, for instance, from the well-known fact that $\\sum \\frac{1}{p}=\\infty$, where the sum is taken over the set $\\mathbb{P}$ of prime numbers. Indeed, if, for some constant $\\stackrel{p}{C}$, there were always at most $C$ primes between $2^{\\ell}$ and $2^{\\ell+1}$, we would have $$ \\sum_{p \\in \\mathbb{P}} \\frac{1}{p}=\\sum_{\\ell=0}^{\\infty} \\sum_{\\substack{p \\in \\mathbb{P} \\\\ p \\in\\left[2^{\\ell}, 2^{\\ell+1}\\right)}} \\frac{1}{p} \\leqslant \\sum_{\\ell=0}^{\\infty} \\frac{C}{2^{\\ell}}<\\infty, $$ which is a contradiction. Comment 1. Here we sketch several alternative elementary self-contained ways to perform the last step of the solution above. In particular, they avoid using divergence of $\\sum \\frac{1}{p}$. Suppose that for some constant $C$ and for every $k=1,2, \\ldots$ there exist at most $C$ prime numbers between $2^{k}$ and $2^{k+1}$. Consider the prime factorization of the factorial $\\left(2^{n}\\right)!=\\prod p^{\\alpha_{p}}$. We have $\\alpha_{p}=\\left\\lfloor 2^{n} / p\\right\\rfloor+\\left\\lfloor 2^{n} / p^{2}\\right\\rfloor+\\ldots$. Thus, for $p \\in\\left[2^{k}, 2^{k+1}\\right)$, we get $\\alpha_{p} \\leqslant 2^{n} / 2^{k}+2^{n} / 2^{k+1}+\\ldots=2^{n-k+1}$, therefore $p^{\\alpha_{p}} \\leqslant 2^{(k+1) 2^{n-k+1}}$. Combining this with the bound $(2 m)!\\geqslant m(m+1) \\cdot \\ldots \\cdot(2 m-1) \\geqslant m^{m}$ for $m=2^{n-1}$ we get $$ 2^{(n-1) \\cdot 2^{n-1}} \\leqslant\\left(2^{n}\\right)!\\leqslant \\prod_{k=1}^{n-1} 2^{C(k+1) 2^{n-k+1}} $$ or $$ \\sum_{k=1}^{n-1} C(k+1) 2^{1-k} \\geqslant \\frac{n-1}{2} $$ that fails for large $n$ since $C(k+1) 2^{1-k}<1 / 3$ for all but finitely many $k$. In fact, a much stronger inequality can be obtained in an elementary way: Note that the formula for $\\nu_{p}(n!)$ implies that if $p^{\\alpha}$ is the largest power of $p$ dividing $\\binom{n}{n / 2}$, then $p^{\\alpha} \\leqslant n$. By looking at prime factorization of $\\binom{n}{n / 2}$ we instantaneously infer that $$ \\pi(n) \\geqslant \\log _{n}\\binom{n}{n / 2} \\geqslant \\frac{\\log \\left(2^{n} / n\\right)}{\\log n} \\geqslant \\frac{n}{2 \\log n} . $$ This, in particular, implies that for infinitely many $n$ there are at least $\\frac{n}{3 \\log n}$ primes between $n$ and $2 n$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2020SL.jsonl"}} {"year": "2020", "tier": "T0", "problem_label": "N6", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For a positive integer $n$, let $d(n)$ be the number of positive divisors of $n$, and let $\\varphi(n)$ be the number of positive integers not exceeding $n$ which are coprime to $n$. Does there exist a constant $C$ such that $$ \\frac{\\varphi(d(n))}{d(\\varphi(n))} \\leqslant C $$ for all $n \\geqslant 1$ ? (Cyprus) Answer: No, such constant does not exist.", "solution": "In this solution we will use the Prime Number Theorem which states that $$ \\pi(m)=\\frac{m}{\\log m} \\cdot(1+o(1)) $$ as $m$ tends to infinity. Here and below $\\pi(m)$ denotes the number of primes not exceeding $m$, and $\\log$ the natural logarithm. Let $m>5$ be a large positive integer and let $n:=p_{1} p_{2} \\cdot \\ldots \\cdot p_{\\pi(m)}$ be the product of all primes not exceeding $m$. Then $\\varphi(d(n))=\\varphi\\left(2^{\\pi(m)}\\right)=2^{\\pi(m)-1}$. Consider the number $$ \\varphi(n)=\\prod_{k=1}^{\\pi(m)}\\left(p_{k}-1\\right)=\\prod_{s=1}^{\\pi(m / 2)} q_{s}^{\\alpha_{s}} $$ where $q_{1}, \\ldots, q_{\\pi(m / 2)}$ are primes not exceeding $m / 2$. Note that every term $p_{k}-1$ contributes at most one prime $q_{s}>\\sqrt{m}$ into the product $\\prod_{s} q_{s}^{\\alpha_{s}}$, so we have $$ \\sum_{s: q_{s}>\\sqrt{m}} \\alpha_{s} \\leqslant \\pi(m) \\Longrightarrow \\sum_{s: q_{s}>\\sqrt{m}}\\left(1+\\alpha_{s}\\right) \\leqslant \\pi(m)+\\pi(m / 2) . $$ Hence, applying the AM-GM inequality and the inequality $(A / x)^{x} \\leqslant e^{A / e}$, we obtain $$ \\prod_{s: q_{s}>\\sqrt{m}}\\left(\\alpha_{s}+1\\right) \\leqslant\\left(\\frac{\\pi(m)+\\pi(m / 2)}{\\ell}\\right)^{\\ell} \\leqslant \\exp \\left(\\frac{\\pi(m)+\\pi(m / 2)}{e}\\right) $$ where $\\ell$ is the number of primes in the interval $(\\sqrt{m}, m]$. We then use a trivial bound $\\alpha_{i} \\leqslant \\log _{2}(\\varphi(n)) \\leqslant \\log _{2} n<\\log _{2}\\left(m^{m}\\right)a, c$, then $b \\nmid a+c$. Otherwise, since $b \\neq a+c$, we would have $b \\leqslant(a+c) / 2<\\max \\{a, c\\}$.", "solution": "We prove the following stronger statement. Claim. Let $\\mathcal{S}$ be a good set consisting of $n \\geqslant 2$ positive integers. Then the elements of $\\mathcal{S}$ may be ordered as $a_{1}, a_{2}, \\ldots, a_{n}$ so that $a_{i} \\nmid a_{i-1}+a_{i+1}$ and $a_{i} \\nmid a_{i-1}-a_{i+1}$, for all $i=2,3, \\ldots, n-1$. Proof. Say that the ordering $a_{1}, \\ldots, a_{n}$ of $\\mathcal{S}$ is nice if it satisfies the required property. We proceed by induction on $n$. The base case $n=2$ is trivial, as there are no restrictions on the ordering. To perform the step of induction, suppose that $n \\geqslant 3$. Let $a=\\max \\mathcal{S}$, and set $\\mathcal{T}=\\mathcal{S} \\backslash\\{a\\}$. Use the inductive hypothesis to find a nice ordering $b_{1}, \\ldots, b_{n-1}$ of $\\mathcal{T}$. We will show that $a$ may be inserted into this sequence so as to reach a nice ordering of $\\mathcal{S}$. In other words, we will show that there exists a $j \\in\\{1,2, \\ldots, n\\}$ such that the ordering $$ N_{j}=\\left(b_{1}, \\ldots, b_{j-1}, a, b_{j}, b_{j+1}, \\ldots, b_{n-1}\\right) $$ is nice. Assume that, for some $j$, the ordering $N_{j}$ is not nice, so that some element $x$ in it divides either the sum or the difference of two adjacent ones. This did not happen in the ordering of $\\mathcal{T}$, hence $x \\in\\left\\{b_{j-1}, a, b_{j}\\right\\}$ (if, say, $b_{j-1}$ does not exist, then $x \\in\\left\\{a, b_{j}\\right\\}$; a similar agreement is applied hereafter). But the case $x=a$ is impossible: $a$ cannot divide $b_{j-1}-b_{j}$, since $0<\\left|b_{j-1}-b_{j}\\right|a, c$, then $b \\nmid a+c$. Otherwise, since $b \\neq a+c$, we would have $b \\leqslant(a+c) / 2<\\max \\{a, c\\}$.", "solution": "We again prove a stronger statement. Claim. Let $\\mathcal{S}$ be an arbitrary set of $n \\geqslant 3$ positive integers. Then its elements can be ordered as $a_{1}, \\ldots, a_{n}$ so that, if $a_{i} \\mid a_{i-1}+a_{i+1}$, then $a_{i}=\\max \\mathcal{S}$. The claim easily implies what we need to prove, due to Observation A. To prove the Claim, introduce the function $f$ which assigns to any two elements $a, b \\in \\mathcal{S}$ with $aa_{j+1}>\\ldots>$ $a_{n}$; and (ii) $f$-avoidance: If $a