olympiads / IMO_SL /segmented /en-IMO2011SL.jsonl
LxYxvv's picture
distinguish IMO and IMO-SL
59ed96b
{"year": "2011", "tier": "T0", "problem_label": "A1", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "For any set $A=\\left\\{a_{1}, a_{2}, a_{3}, a_{4}\\right\\}$ of four distinct positive integers with sum $s_{A}=a_{1}+a_{2}+a_{3}+a_{4}$, let $p_{A}$ denote the number of pairs $(i, j)$ with $1 \\leq i<j \\leq 4$ for which $a_{i}+a_{j}$ divides $s_{A}$. Among all sets of four distinct positive integers, determine those sets $A$ for which $p_{A}$ is maximal.", "solution": "Firstly, we will prove that the maximum value of $p_{A}$ is at most 4 . Without loss of generality, we may assume that $a_{1}<a_{2}<a_{3}<a_{4}$. We observe that for each pair of indices $(i, j)$ with $1 \\leq i<j \\leq 4$, the sum $a_{i}+a_{j}$ divides $s_{A}$ if and only if $a_{i}+a_{j}$ divides $s_{A}-\\left(a_{i}+a_{j}\\right)=a_{k}+a_{l}$, where $k$ and $l$ are the other two indices. Since there are 6 distinct pairs, we have to prove that at least two of them do not satisfy the previous condition. We claim that two such pairs are $\\left(a_{2}, a_{4}\\right)$ and $\\left(a_{3}, a_{4}\\right)$. Indeed, note that $a_{2}+a_{4}>a_{1}+a_{3}$ and $a_{3}+a_{4}>a_{1}+a_{2}$. Hence $a_{2}+a_{4}$ and $a_{3}+a_{4}$ do not divide $s_{A}$. This proves $p_{A} \\leq 4$. Now suppose $p_{A}=4$. By the previous argument we have $$ \\begin{array}{lll} a_{1}+a_{4} \\mid a_{2}+a_{3} & \\text { and } & a_{2}+a_{3} \\mid a_{1}+a_{4}, \\\\ a_{1}+a_{2} \\mid a_{3}+a_{4} & \\text { and } & a_{3}+a_{4} \\not a_{1}+a_{2}, \\\\ a_{1}+a_{3} \\mid a_{2}+a_{4} & \\text { and } & a_{2}+a_{4} \\not a_{1}+a_{3} . \\end{array} $$ Hence, there exist positive integers $m$ and $n$ with $m>n \\geq 2$ such that $$ \\left\\{\\begin{array}{l} a_{1}+a_{4}=a_{2}+a_{3} \\\\ m\\left(a_{1}+a_{2}\\right)=a_{3}+a_{4} \\\\ n\\left(a_{1}+a_{3}\\right)=a_{2}+a_{4} \\end{array}\\right. $$ Adding up the first equation and the third one, we get $n\\left(a_{1}+a_{3}\\right)=2 a_{2}+a_{3}-a_{1}$. If $n \\geq 3$, then $n\\left(a_{1}+a_{3}\\right)>3 a_{3}>2 a_{2}+a_{3}>2 a_{2}+a_{3}-a_{1}$. This is a contradiction. Therefore $n=2$. If we multiply by 2 the sum of the first equation and the third one, we obtain $$ 6 a_{1}+2 a_{3}=4 a_{2} $$ while the sum of the first one and the second one is $$ (m+1) a_{1}+(m-1) a_{2}=2 a_{3} . $$ Adding up the last two equations we get $$ (m+7) a_{1}=(5-m) a_{2} . $$ It follows that $5-m \\geq 1$, because the left-hand side of the last equation and $a_{2}$ are positive. Since we have $m>n=2$, the integer $m$ can be equal only to either 3 or 4 . Substituting $(3,2)$ and $(4,2)$ for $(m, n)$ and solving the previous system of equations, we find the families of solutions $\\{d, 5 d, 7 d, 11 d\\}$ and $\\{d, 11 d, 19 d, 29 d\\}$, where $d$ is any positive integer.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A2", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Determine all sequences $\\left(x_{1}, x_{2}, \\ldots, x_{2011}\\right)$ of positive integers such that for every positive integer $n$ there is an integer $a$ with $$ x_{1}^{n}+2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}=a^{n+1}+1 . $$", "solution": "Throughout this solution, the set of positive integers will be denoted by $\\mathbb{Z}_{+}$. Put $k=2+3+\\cdots+2011=2023065$. We have $$ 1^{n}+2 k^{n}+\\cdots 2011 k^{n}=1+k \\cdot k^{n}=k^{n+1}+1 $$ for all $n$, so $(1, k, \\ldots, k)$ is a valid sequence. We shall prove that it is the only one. Let a valid sequence $\\left(x_{1}, \\ldots, x_{2011}\\right)$ be given. For each $n \\in \\mathbb{Z}_{+}$we have some $y_{n} \\in \\mathbb{Z}_{+}$with $$ x_{1}^{n}+2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}=y_{n}^{n+1}+1 . $$ Note that $x_{1}^{n}+2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}<\\left(x_{1}+2 x_{2}+\\cdots+2011 x_{2011}\\right)^{n+1}$, which implies that the sequence $\\left(y_{n}\\right)$ is bounded. In particular, there is some $y \\in \\mathbb{Z}_{+}$with $y_{n}=y$ for infinitely many $n$. Let $m$ be the maximum of all the $x_{i}$. Grouping terms with equal $x_{i}$ together, the sum $x_{1}^{n}+$ $2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}$ can be written as $$ x_{1}^{n}+2 x_{2}^{n}+\\cdots+x_{2011}^{n}=a_{m} m^{n}+a_{m-1}(m-1)^{n}+\\cdots+a_{1} $$ with $a_{i} \\geq 0$ for all $i$ and $a_{1}+\\cdots+a_{m}=1+2+\\cdots+2011$. So there exist arbitrarily large values of $n$, for which $$ a_{m} m^{n}+\\cdots+a_{1}-1-y \\cdot y^{n}=0 \\text {. } $$ The following lemma will help us to determine the $a_{i}$ and $y$ : Lemma. Let integers $b_{1}, \\ldots, b_{N}$ be given and assume that there are arbitrarily large positive integers $n$ with $b_{1}+b_{2} 2^{n}+\\cdots+b_{N} N^{n}=0$. Then $b_{i}=0$ for all $i$. Proof. Suppose that not all $b_{i}$ are zero. We may assume without loss of generality that $b_{N} \\neq 0$. Dividing through by $N^{n}$ gives $$ \\left|b_{N}\\right|=\\left|b_{N-1}\\left(\\frac{N-1}{N}\\right)^{n}+\\cdots+b_{1}\\left(\\frac{1}{N}\\right)^{n}\\right| \\leq\\left(\\left|b_{N-1}\\right|+\\cdots+\\left|b_{1}\\right|\\right)\\left(\\frac{N-1}{N}\\right)^{n} . $$ The expression $\\left(\\frac{N-1}{N}\\right)^{n}$ can be made arbitrarily small for $n$ large enough, contradicting the assumption that $b_{N}$ be non-zero. We obviously have $y>1$. Applying the lemma to (1) we see that $a_{m}=y=m, a_{1}=1$, and all the other $a_{i}$ are zero. This implies $\\left(x_{1}, \\ldots, x_{2011}\\right)=(1, m, \\ldots, m)$. But we also have $1+m=a_{1}+\\cdots+a_{m}=1+\\cdots+2011=1+k$ so $m=k$, which is what we wanted to show.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A3", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Determine all pairs $(f, g)$ of functions from the set of real numbers to itself that satisfy $$ g(f(x+y))=f(x)+(2 x+y) g(y) $$ for all real numbers $x$ and $y$.", "solution": "Clearly all these pairs of functions satisfy the functional equation in question, so it suffices to verify that there cannot be any further ones. Substituting $-2 x$ for $y$ in the given functional equation we obtain $$ g(f(-x))=f(x) . $$ Using this equation for $-x-y$ in place of $x$ we obtain $$ f(-x-y)=g(f(x+y))=f(x)+(2 x+y) g(y) . $$ Now for any two real numbers $a$ and $b$, setting $x=-b$ and $y=a+b$ we get $$ f(-a)=f(-b)+(a-b) g(a+b) . $$ If $c$ denotes another arbitrary real number we have similarly $$ f(-b)=f(-c)+(b-c) g(b+c) $$ as well as $$ f(-c)=f(-a)+(c-a) g(c+a) . $$ Adding all these equations up, we obtain $$ ((a+c)-(b+c)) g(a+b)+((a+b)-(a+c)) g(b+c)+((b+c)-(a+b)) g(a+c)=0 \\text {. } $$ Now given any three real numbers $x, y$, and $z$ one may determine three reals $a, b$, and $c$ such that $x=b+c, y=c+a$, and $z=a+b$, so that we get $$ (y-x) g(z)+(z-y) g(x)+(x-z) g(y)=0 . $$ This implies that the three points $(x, g(x)),(y, g(y))$, and $(z, g(z))$ from the graph of $g$ are collinear. Hence that graph is a line, i.e., $g$ is either a constant or a linear function. Let us write $g(x)=A x+B$, where $A$ and $B$ are two real numbers. Substituting $(0,-y)$ for $(x, y)$ in (2) and denoting $C=f(0)$, we have $f(y)=A y^{2}-B y+C$. Now, comparing the coefficients of $x^{2}$ in (1I) we see that $A^{2}=A$, so $A=0$ or $A=1$. If $A=0$, then (1) becomes $B=-B x+C$ and thus $B=C=0$, which provides the first of the two solutions mentioned above. Now suppose $A=1$. Then (1) becomes $x^{2}-B x+C+B=x^{2}-B x+C$, so $B=0$. Thus, $g(x)=x$ and $f(x)=x^{2}+C$, which is the second solution from above. Comment. Another way to show that $g(x)$ is either a constant or a linear function is the following. If we interchange $x$ and $y$ in the given functional equation and subtract this new equation from the given one, we obtain $$ f(x)-f(y)=(2 y+x) g(x)-(2 x+y) g(y) . $$ Substituting $(x, 0),(1, x)$, and $(0,1)$ for $(x, y)$, we get $$ \\begin{aligned} & f(x)-f(0)=x g(x)-2 x g(0), \\\\ & f(1)-f(x)=(2 x+1) g(1)-(x+2) g(x), \\\\ & f(0)-f(1)=2 g(0)-g(1) . \\end{aligned} $$ Taking the sum of these three equations and dividing by 2 , we obtain $$ g(x)=x(g(1)-g(0))+g(0) . $$ This proves that $g(x)$ is either a constant of a linear function.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A4", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Determine all pairs $(f, g)$ of functions from the set of positive integers to itself that satisfy $$ f^{g(n)+1}(n)+g^{f(n)}(n)=f(n+1)-g(n+1)+1 $$ for every positive integer $n$. Here, $f^{k}(n)$ means $\\underbrace{f(f(\\ldots f}_{k}(n) \\ldots))$.", "solution": "The given relation implies $$ f\\left(f^{g(n)}(n)\\right)<f(n+1) \\text { for all } n $$ which will turn out to be sufficient to determine $f$. Let $y_{1}<y_{2}<\\ldots$ be all the values attained by $f$ (this sequence might be either finite or infinite). We will prove that for every positive $n$ the function $f$ attains at least $n$ values, and we have (i) $)_{n}: f(x)=y_{n}$ if and only if $x=n$, and (ii) $)_{n} y_{n}=n$. The proof will follow the scheme $$ (\\mathrm{i})_{1},(\\mathrm{ii})_{1},(\\mathrm{i})_{2},(\\mathrm{ii})_{2}, \\ldots,(\\mathrm{i})_{n},(\\mathrm{ii})_{n}, \\ldots $$ To start, consider any $x$ such that $f(x)=y_{1}$. If $x>1$, then (1) reads $f\\left(f^{g(x-1)}(x-1)\\right)<y_{1}$, contradicting the minimality of $y_{1}$. So we have that $f(x)=y_{1}$ is equivalent to $x=1$, establishing $(\\mathrm{i})_{1}$. Next, assume that for some $n$ statement (i) ${ }_{n}$ is established, as well as all the previous statements in (2). Note that these statements imply that for all $k \\geq 1$ and $a<n$ we have $f^{k}(x)=a$ if and only if $x=a$. Now, each value $y_{i}$ with $1 \\leq i \\leq n$ is attained at the unique integer $i$, so $y_{n+1}$ exists. Choose an arbitrary $x$ such that $f(x)=y_{n+1}$; we necessarily have $x>n$. Substituting $x-1$ into (1) we have $f\\left(f^{g(x-1)}(x-1)\\right)<y_{n+1}$, which implies $$ f^{g(x-1)}(x-1) \\in\\{1, \\ldots, n\\} $$ Set $b=f^{g(x-1)}(x-1)$. If $b<n$ then we would have $x-1=b$ which contradicts $x>n$. So $b=n$, and hence $y_{n}=n$, which proves (ii) ${ }_{n}$. Next, from (i) ${ }_{n}$ we now get $f(k)=n \\Longleftrightarrow k=n$, so removing all the iterations of $f$ in (3) we obtain $x-1=b=n$, which proves (i) ${ }_{n+1}$. So, all the statements in (2) are valid and hence $f(n)=n$ for all $n$. The given relation between $f$ and $g$ now reads $n+g^{n}(n)=n+1-g(n+1)+1$ or $g^{n}(n)+g(n+1)=2$, from which it immediately follows that we have $g(n)=1$ for all $n$. Comment. Several variations of the above solution are possible. For instance, one may first prove by induction that the smallest $n$ values of $f$ are exactly $f(1)<\\cdots<f(n)$ and proceed as follows. We certainly have $f(n) \\geq n$ for all $n$. If there is an $n$ with $f(n)>n$, then $f(x)>x$ for all $x \\geq n$. From this we conclude $f^{g(n)+1}(n)>f^{g(n)}(n)>\\cdots>f(n)$. But we also have $f^{g(n)+1}<f(n+1)$. Having squeezed in a function value between $f(n)$ and $f(n+1)$, we arrive at a contradiction. In any case, the inequality (11) plays an essential rôle.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A5", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Prove that for every positive integer $n$, the set $\\{2,3,4, \\ldots, 3 n+1\\}$ can be partitioned into $n$ triples in such a way that the numbers from each triple are the lengths of the sides of some obtuse triangle.", "solution": "Throughout the solution, we denote by $[a, b]$ the set $\\{a, a+1, \\ldots, b\\}$. We say that $\\{a, b, c\\}$ is an obtuse triple if $a, b, c$ are the sides of some obtuse triangle. We prove by induction on $n$ that there exists a partition of $[2,3 n+1]$ into $n$ obtuse triples $A_{i}$ $(2 \\leq i \\leq n+1)$ having the form $A_{i}=\\left\\{i, a_{i}, b_{i}\\right\\}$. For the base case $n=1$, one can simply set $A_{2}=\\{2,3,4\\}$. For the induction step, we need the following simple lemma. Lemma. Suppose that the numbers $a<b<c$ form an obtuse triple, and let $x$ be any positive number. Then the triple $\\{a, b+x, c+x\\}$ is also obtuse. Proof. The numbers $a<b+x<c+x$ are the sides of a triangle because $(c+x)-(b+x)=$ $c-b<a$. This triangle is obtuse since $(c+x)^{2}-(b+x)^{2}=(c-b)(c+b+2 x)>(c-b)(c+b)>a^{2}$. Now we turn to the induction step. Let $n>1$ and put $t=\\lfloor n / 2\\rfloor<n$. By the induction hypothesis, there exists a partition of the set $[2,3 t+1]$ into $t$ obtuse triples $A_{i}^{\\prime}=\\left\\{i, a_{i}^{\\prime}, b_{i}^{\\prime}\\right\\}$ $(i \\in[2, t+1])$. For the same values of $i$, define $A_{i}=\\left\\{i, a_{i}^{\\prime}+(n-t), b_{i}^{\\prime}+(n-t)\\right\\}$. The constructed triples are obviously disjoint, and they are obtuse by the lemma. Moreover, we have $$ \\bigcup_{i=2}^{t+1} A_{i}=[2, t+1] \\cup[n+2, n+2 t+1] $$ Next, for each $i \\in[t+2, n+1]$, define $A_{i}=\\{i, n+t+i, 2 n+i\\}$. All these sets are disjoint, and $$ \\bigcup_{i=t+2}^{n+1} A_{i}=[t+2, n+1] \\cup[n+2 t+2,2 n+t+1] \\cup[2 n+t+2,3 n+1] $$ so $$ \\bigcup_{i=2}^{n+1} A_{i}=[2,3 n+1] $$ Thus, we are left to prove that the triple $A_{i}$ is obtuse for each $i \\in[t+2, n+1]$. Since $(2 n+i)-(n+t+i)=n-t<t+2 \\leq i$, the elements of $A_{i}$ are the sides of a triangle. Next, we have $(2 n+i)^{2}-(n+t+i)^{2}=(n-t)(3 n+t+2 i) \\geq \\frac{n}{2} \\cdot(3 n+3(t+1)+1)>\\frac{n}{2} \\cdot \\frac{9 n}{2} \\geq(n+1)^{2} \\geq i^{2}$, so this triangle is obtuse. The proof is completed.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A6", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $f$ be a function from the set of real numbers to itself that satisfies $$ f(x+y) \\leq y f(x)+f(f(x)) $$ for all real numbers $x$ and $y$. Prove that $f(x)=0$ for all $x \\leq 0$.", "solution": "Substituting $y=t-x$, we rewrite (II) as $$ f(t) \\leq t f(x)-x f(x)+f(f(x)) . $$ Consider now some real numbers $a, b$ and use (2) with $t=f(a), x=b$ as well as with $t=f(b)$, $x=a$. We get $$ \\begin{aligned} & f(f(a))-f(f(b)) \\leq f(a) f(b)-b f(b), \\\\ & f(f(b))-f(f(a)) \\leq f(a) f(b)-a f(a) . \\end{aligned} $$ Adding these two inequalities yields $$ 2 f(a) f(b) \\geq a f(a)+b f(b) . $$ Now, substitute $b=2 f(a)$ to obtain $2 f(a) f(b) \\geq a f(a)+2 f(a) f(b)$, or $a f(a) \\leq 0$. So, we get $$ f(a) \\geq 0 \\text { for all } a<0 \\text {. } $$ Now suppose $f(x)>0$ for some real number $x$. From (21) we immediately get that for every $t<\\frac{x f(x)-f(f(x))}{f(x)}$ we have $f(t)<0$. This contradicts (3); therefore $$ f(x) \\leq 0 \\quad \\text { for all real } x $$ and by (3) again we get $f(x)=0$ for all $x<0$. We are left to find $f(0)$. Setting $t=x<0$ in (2) we get $$ 0 \\leq 0-0+f(0), $$ so $f(0) \\geq 0$. Combining this with (4) we obtain $f(0)=0$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A6", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $f$ be a function from the set of real numbers to itself that satisfies $$ f(x+y) \\leq y f(x)+f(f(x)) $$ for all real numbers $x$ and $y$. Prove that $f(x)=0$ for all $x \\leq 0$.", "solution": "We will also use the condition of the problem in form (2)). For clarity we divide the argument into four steps. Step 1. We begin by proving that $f$ attains nonpositive values only. Assume that there exist some real number $z$ with $f(z)>0$. Substituting $x=z$ into (2) and setting $A=f(z)$, $B=-z f(z)-f(f(z))$ we get $f(t) \\leq A t+B$ for all real $t$. Hence, if for any positive real number $t$ we substitute $x=-t, y=t$ into (11), we get $$ \\begin{aligned} f(0) & \\leq t f(-t)+f(f(-t)) \\leq t(-A t+B)+A f(-t)+B \\\\ & \\leq-t(A t-B)+A(-A t+B)+B=-A t^{2}-\\left(A^{2}-B\\right) t+(A+1) B . \\end{aligned} $$ But surely this cannot be true if we take $t$ to be large enough. This contradiction proves that we have indeed $f(x) \\leq 0$ for all real numbers $x$. Note that for this reason (11) entails $$ f(x+y) \\leq y f(x) $$ for all real numbers $x$ and $y$. Step 2. We proceed by proving that $f$ has at least one zero. If $f(0)=0$, we are done. Otherwise, in view of Step 1 we get $f(0)<0$. Observe that (5) tells us now $f(y) \\leq y f(0)$ for all real numbers $y$. Thus we can specify a positive real number $a$ that is so large that $f(a)^{2}>-f(0)$. Put $b=f(a)$ and substitute $x=b$ and $y=-b$ into (5); we learn $-b^{2}<f(0) \\leq-b f(b)$, i.e. $b<f(b)$. Now we apply (2) to $x=b$ and $t=f(b)$, which yields $$ f(f(b)) \\leq(f(b)-b) f(b)+f(f(b)), $$ i.e. $f(b) \\geq 0$. So in view of Step $1, b$ is a zero of $f$. Step 3. Next we show that if $f(a)=0$ and $b<a$, then $f(b)=0$ as well. To see this, we just substitute $x=b$ and $y=a-b$ into (5), thus getting $f(b) \\geq 0$, which suffices by Step 1 . Step 4. By Step 3, the solution of the problem is reduced to showing $f(0)=0$. Pick any zero $r$ of $f$ and substitute $x=r$ and $y=-1$ into (1). Because of $f(r)=f(r-1)=0$ this gives $f(0) \\geq 0$ and hence $f(0)=0$ by Step 1 again. Comment 1. Both of these solutions also show $f(x) \\leq 0$ for all real numbers $x$. As one can see from Solution 1, this task gets much easier if one already knows that $f$ takes nonnegative values for sufficiently small arguments. Another way of arriving at this statement, suggested by the proposer, is as follows: Put $a=f(0)$ and substitute $x=0$ into (1). This gives $f(y) \\leq a y+f(a)$ for all real numbers $y$. Thus if for any real number $x$ we plug $y=a-x$ into (1), we obtain $$ f(a) \\leq(a-x) f(x)+f(f(x)) \\leq(a-x) f(x)+a f(x)+f(a) $$ and hence $0 \\leq(2 a-x) f(x)$. In particular, if $x<2 a$, then $f(x) \\geq 0$. Having reached this point, one may proceed almost exactly as in the first solution to deduce $f(x) \\leq 0$ for all $x$. Afterwards the problem can be solved in a few lines as shown in steps 3 and 4 of the second solution. Comment 2. The original problem also contained the question whether a nonzero function satisfying the problem condition exists. Here we present a family of such functions. Notice first that if $g:(0, \\infty) \\longrightarrow[0, \\infty)$ denotes any function such that $$ g(x+y) \\geq y g(x) $$ for all positive real numbers $x$ and $y$, then the function $f$ given by $$ f(x)= \\begin{cases}-g(x) & \\text { if } x>0 \\\\ 0 & \\text { if } x \\leq 0\\end{cases} $$ automatically satisfies (11). Indeed, we have $f(x) \\leq 0$ and hence also $f(f(x))=0$ for all real numbers $x$. So (11) reduces to (5); moreover, this inequality is nontrivial only if $x$ and $y$ are positive. In this last case it is provided by (6). Now it is not hard to come up with a nonzero function $g$ obeying (6). E.g. $g(z)=C e^{z}$ (where $C$ is a positive constant) fits since the inequality $e^{y}>y$ holds for all (positive) real numbers $y$. One may also consider the function $g(z)=e^{z}-1$; in this case, we even have that $f$ is continuous.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A7", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $a, b$, and $c$ be positive real numbers satisfying $\\min (a+b, b+c, c+a)>\\sqrt{2}$ and $a^{2}+b^{2}+c^{2}=3$. Prove that $$ \\frac{a}{(b+c-a)^{2}}+\\frac{b}{(c+a-b)^{2}}+\\frac{c}{(a+b-c)^{2}} \\geq \\frac{3}{(a b c)^{2}} $$", "solution": "The condition $b+c>\\sqrt{2}$ implies $b^{2}+c^{2}>1$, so $a^{2}=3-\\left(b^{2}+c^{2}\\right)<2$, i.e. $a<\\sqrt{2}<b+c$. Hence we have $b+c-a>0$, and also $c+a-b>0$ and $a+b-c>0$ for similar reasons. We will use the variant of HÖLDER's inequality $$ \\frac{x_{1}^{p+1}}{y_{1}^{p}}+\\frac{x_{1}^{p+1}}{y_{1}^{p}}+\\ldots+\\frac{x_{n}^{p+1}}{y_{n}^{p}} \\geq \\frac{\\left(x_{1}+x_{2}+\\ldots+x_{n}\\right)^{p+1}}{\\left(y_{1}+y_{2}+\\ldots+y_{n}\\right)^{p}} $$ which holds for all positive real numbers $p, x_{1}, x_{2}, \\ldots, x_{n}, y_{1}, y_{2}, \\ldots, y_{n}$. Applying it to the left-hand side of (11) with $p=2$ and $n=3$, we get $$ \\sum \\frac{a}{(b+c-a)^{2}}=\\sum \\frac{\\left(a^{2}\\right)^{3}}{a^{5}(b+c-a)^{2}} \\geq \\frac{\\left(a^{2}+b^{2}+c^{2}\\right)^{3}}{\\left(\\sum a^{5 / 2}(b+c-a)\\right)^{2}}=\\frac{27}{\\left(\\sum a^{5 / 2}(b+c-a)\\right)^{2}} . $$ To estimate the denominator of the right-hand part, we use an instance of SCHUR's inequality, namely $$ \\sum a^{3 / 2}(a-b)(a-c) \\geq 0 $$ which can be rewritten as $$ \\sum a^{5 / 2}(b+c-a) \\leq a b c(\\sqrt{a}+\\sqrt{b}+\\sqrt{c}) . $$ Moreover, by the inequality between the arithmetic mean and the fourth power mean we also have $$ \\left(\\frac{\\sqrt{a}+\\sqrt{b}+\\sqrt{c}}{3}\\right)^{4} \\leq \\frac{a^{2}+b^{2}+c^{2}}{3}=1 $$ i.e., $\\sqrt{a}+\\sqrt{b}+\\sqrt{c} \\leq 3$. Hence, (2) yields $$ \\sum \\frac{a}{(b+c-a)^{2}} \\geq \\frac{27}{(a b c(\\sqrt{a}+\\sqrt{b}+\\sqrt{c}))^{2}} \\geq \\frac{3}{a^{2} b^{2} c^{2}} $$ thus solving the problem. Comment. In this solution, one may also start from the following version of HÖLDER's inequality $$ \\left(\\sum_{i=1}^{n} a_{i}^{3}\\right)\\left(\\sum_{i=1}^{n} b_{i}^{3}\\right)\\left(\\sum_{i=1}^{n} c_{i}^{3}\\right) \\geq\\left(\\sum_{i=1}^{n} a_{i} b_{i} c_{i}\\right)^{3} $$ applied as $$ \\sum \\frac{a}{(b+c-a)^{2}} \\cdot \\sum a^{3}(b+c-a) \\cdot \\sum a^{2}(b+c-a) \\geq 27 $$ After doing that, one only needs the slightly better known instances $$ \\sum a^{3}(b+c-a) \\leq(a+b+c) a b c \\quad \\text { and } \\quad \\sum a^{2}(b+c-a) \\leq 3 a b c $$ of Schur's Inequality.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A7", "problem_type": "Algebra", "exam": "IMO-SL", "problem": "Let $a, b$, and $c$ be positive real numbers satisfying $\\min (a+b, b+c, c+a)>\\sqrt{2}$ and $a^{2}+b^{2}+c^{2}=3$. Prove that $$ \\frac{a}{(b+c-a)^{2}}+\\frac{b}{(c+a-b)^{2}}+\\frac{c}{(a+b-c)^{2}} \\geq \\frac{3}{(a b c)^{2}} $$", "solution": "As in $$ a^{5}+b^{5}+c^{5} \\geq 3 $$ which is weaker than the given one. Due to the symmetry we may assume that $a \\geq b \\geq c$. In view of (3)), it suffices to prove the inequality $$ \\sum \\frac{a^{3} b^{2} c^{2}}{(b+c-a)^{2}} \\geq \\sum a^{5} $$ or, moving all the terms into the left-hand part, $$ \\sum \\frac{a^{3}}{(b+c-a)^{2}}\\left((b c)^{2}-(a(b+c-a))^{2}\\right) \\geq 0 $$ Note that the signs of the expressions $(y z)^{2}-(x(y+z-x))^{2}$ and $y z-x(y+z-x)=(x-y)(x-z)$ are the same for every positive $x, y, z$ satisfying the triangle inequality. So the terms in (4) corresponding to $a$ and $c$ are nonnegative, and hence it is sufficient to prove that the sum of the terms corresponding to $a$ and $b$ is nonnegative. Equivalently, we need the relation $$ \\frac{a^{3}}{(b+c-a)^{2}}(a-b)(a-c)(b c+a(b+c-a)) \\geq \\frac{b^{3}}{(a+c-b)^{2}}(a-b)(b-c)(a c+b(a+c-b)) $$ Obviously, we have $$ a^{3} \\geq b^{3} \\geq 0, \\quad 0<b+c-a \\leq a+c-b, \\quad \\text { and } \\quad a-c \\geq b-c \\geq 0 $$ hence it suffices to prove that $$ \\frac{a b+a c+b c-a^{2}}{b+c-a} \\geq \\frac{a b+a c+b c-b^{2}}{c+a-b} . $$ Since all the denominators are positive, it is equivalent to $$ (c+a-b)\\left(a b+a c+b c-a^{2}\\right)-\\left(a b+a c+b c-b^{2}\\right)(b+c-a) \\geq 0 $$ or $$ (a-b)\\left(2 a b-a^{2}-b^{2}+a c+b c\\right) \\geq 0 . $$ Since $a \\geq b$, the last inequality follows from $$ c(a+b)>(a-b)^{2} $$ which holds since $c>a-b \\geq 0$ and $a+b>a-b \\geq 0$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C1", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $n>0$ be an integer. We are given a balance and $n$ weights of weight $2^{0}, 2^{1}, \\ldots, 2^{n-1}$. In a sequence of $n$ moves we place all weights on the balance. In the first move we choose a weight and put it on the left pan. In each of the following moves we choose one of the remaining weights and we add it either to the left or to the right pan. Compute the number of ways in which we can perform these $n$ moves in such a way that the right pan is never heavier than the left pan. ## $\\mathrm{C} 2$ Suppose that 1000 students are standing in a circle. Prove that there exists an integer $k$ with $100 \\leq k \\leq 300$ such that in this circle there exists a contiguous group of $2 k$ students, for which the first half contains the same number of girls as the second half.", "solution": "Assume $n \\geq 2$. We claim $$ f(n)=(2 n-1) f(n-1) . $$ Firstly, note that after the first move the left pan is always at least 1 heavier than the right one. Hence, any valid way of placing the $n$ weights on the scale gives rise, by not considering weight 1 , to a valid way of placing the weights $2,2^{2}, \\ldots, 2^{n-1}$. If we divide the weight of each weight by 2 , the answer does not change. So these $n-1$ weights can be placed on the scale in $f(n-1)$ valid ways. Now we look at weight 1 . If it is put on the scale in the first move, then it has to be placed on the left side, otherwise it can be placed either on the left or on the right side, because after the first move the difference between the weights on the left pan and the weights on the right pan is at least 2 . Hence, there are exactly $2 n-1$ different ways of inserting weight 1 in each of the $f(n-1)$ valid sequences for the $n-1$ weights in order to get a valid sequence for the $n$ weights. This proves the claim. Since $f(1)=1$, by induction we obtain for all positive integers $n$ $$ f(n)=(2 n-1) ! !=1 \\cdot 3 \\cdot 5 \\cdot \\ldots \\cdot(2 n-1) $$ Comment 1. The word \"compute\" in the statement of the problem is probably too vague. An alternative but more artificial question might ask for the smallest $n$ for which the number of valid ways is divisible by 2011. In this case the answer would be 1006 . Comment 2. It is useful to remark that the answer is the same for any set of weights where each weight is heavier than the sum of the lighter ones. Indeed, in such cases the given condition is equivalent to asking that during the process the heaviest weight on the balance is always on the left pan. Comment 3. Instead of considering the lightest weight, one may also consider the last weight put on the balance. If this weight is $2^{n-1}$ then it should be put on the left pan. Otherwise it may be put on any pan; the inequality would not be violated since at this moment the heaviest weight is already put onto the left pan. In view of the previous comment, in each of these $2 n-1$ cases the number of ways to place the previous weights is exactly $f(n-1)$, which yields (1).", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C1", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $n>0$ be an integer. We are given a balance and $n$ weights of weight $2^{0}, 2^{1}, \\ldots, 2^{n-1}$. In a sequence of $n$ moves we place all weights on the balance. In the first move we choose a weight and put it on the left pan. In each of the following moves we choose one of the remaining weights and we add it either to the left or to the right pan. Compute the number of ways in which we can perform these $n$ moves in such a way that the right pan is never heavier than the left pan. ## $\\mathrm{C} 2$ Suppose that 1000 students are standing in a circle. Prove that there exists an integer $k$ with $100 \\leq k \\leq 300$ such that in this circle there exists a contiguous group of $2 k$ students, for which the first half contains the same number of girls as the second half.", "solution": "We present a different way of obtaining (1). Set $f(0)=1$. Firstly, we find a recurrent formula for $f(n)$. Assume $n \\geq 1$. Suppose that weight $2^{n-1}$ is placed on the balance in the $i$-th move with $1 \\leq i \\leq n$. This weight has to be put on the left pan. For the previous moves we have $\\left(\\begin{array}{c}n-1 \\\\ i-1\\end{array}\\right)$ choices of the weights and from Comment 2 there are $f(i-1)$ valid ways of placing them on the balance. For later moves there is no restriction on the way in which the weights are to be put on the pans. Therefore, all $(n-i) ! 2^{n-i}$ ways are possible. This gives $$ f(n)=\\sum_{i=1}^{n}\\left(\\begin{array}{c} n-1 \\\\ i-1 \\end{array}\\right) f(i-1)(n-i) ! 2^{n-i}=\\sum_{i=1}^{n} \\frac{(n-1) ! f(i-1) 2^{n-i}}{(i-1) !} $$ Now we are ready to prove (11). Using $n-1$ instead of $n$ in (2) we get $$ f(n-1)=\\sum_{i=1}^{n-1} \\frac{(n-2) ! f(i-1) 2^{n-1-i}}{(i-1) !} . $$ Hence, again from (2) we get $$ \\begin{aligned} f(n)=2(n-1) \\sum_{i=1}^{n-1} & \\frac{(n-2) ! f(i-1) 2^{n-1-i}}{(i-1) !}+f(n-1) \\\\ & =(2 n-2) f(n-1)+f(n-1)=(2 n-1) f(n-1), \\end{aligned} $$ QED. Comment. There exist different ways of obtaining the formula (2). Here we show one of them. Suppose that in the first move we use weight $2^{n-i+1}$. Then the lighter $n-i$ weights may be put on the balance at any moment and on either pan. This gives $2^{n-i} \\cdot(n-1) ! /(i-1)$ ! choices for the moves (moments and choices of pan) with the lighter weights. The remaining $i-1$ moves give a valid sequence for the $i-1$ heavier weights and this is the only requirement for these moves, so there are $f(i-1)$ such sequences. Summing over all $i=1,2, \\ldots, n$ we again come to (2).", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C3", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $\\mathcal{S}$ be a finite set of at least two points in the plane. Assume that no three points of $\\mathcal{S}$ are collinear. By a windmill we mean a process as follows. Start with a line $\\ell$ going through a point $P \\in \\mathcal{S}$. Rotate $\\ell$ clockwise around the pivot $P$ until the line contains another point $Q$ of $\\mathcal{S}$. The point $Q$ now takes over as the new pivot. This process continues indefinitely, with the pivot always being a point from $\\mathcal{S}$. Show that for a suitable $P \\in \\mathcal{S}$ and a suitable starting line $\\ell$ containing $P$, the resulting windmill will visit each point of $\\mathcal{S}$ as a pivot infinitely often. ## $\\mathrm{C} 4$ Determine the greatest positive integer $k$ that satisfies the following property: The set of positive integers can be partitioned into $k$ subsets $A_{1}, A_{2}, \\ldots, A_{k}$ such that for all integers $n \\geq 15$ and all $i \\in\\{1,2, \\ldots, k\\}$ there exist two distinct elements of $A_{i}$ whose sum is $n$.", "solution": "Give the rotating line an orientation and distinguish its sides as the oranje side and the blue side. Notice that whenever the pivot changes from some point $T$ to another point $U$, after the change, $T$ is on the same side as $U$ was before. Therefore, the number of elements of $\\mathcal{S}$ on the oranje side and the number of those on the blue side remain the same throughout the whole process (except for those moments when the line contains two points). ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-32.jpg?height=422&width=1108&top_left_y=1198&top_left_x=474) First consider the case that $|\\mathcal{S}|=2 n+1$ is odd. We claim that through any point $T \\in \\mathcal{S}$, there is a line that has $n$ points on each side. To see this, choose an oriented line through $T$ containing no other point of $\\mathcal{S}$ and suppose that it has $n+r$ points on its oranje side. If $r=0$ then we have established the claim, so we may assume that $r \\neq 0$. As the line rotates through $180^{\\circ}$ around $T$, the number of points of $\\mathcal{S}$ on its oranje side changes by 1 whenever the line passes through a point; after $180^{\\circ}$, the number of points on the oranje side is $n-r$. Therefore there is an intermediate stage at which the oranje side, and thus also the blue side, contains $n$ points. Now select the point $P$ arbitrarily, and choose a line through $P$ that has $n$ points of $\\mathcal{S}$ on each side to be the initial state of the windmill. We will show that during a rotation over $180^{\\circ}$, the line of the windmill visits each point of $\\mathcal{S}$ as a pivot. To see this, select any point $T$ of $\\mathcal{S}$ and select a line $\\ell$ through $T$ that separates $\\mathcal{S}$ into equal halves. The point $T$ is the unique point of $\\mathcal{S}$ through which a line in this direction can separate the points of $\\mathcal{S}$ into equal halves (parallel translation would disturb the balance). Therefore, when the windmill line is parallel to $\\ell$, it must be $\\ell$ itself, and so pass through $T$. Next suppose that $|\\mathcal{S}|=2 n$. Similarly to the odd case, for every $T \\in \\mathcal{S}$ there is an oriented line through $T$ with $n-1$ points on its oranje side and $n$ points on its blue side. Select such an oriented line through an arbitrary $P$ to be the initial state of the windmill. We will now show that during a rotation over $360^{\\circ}$, the line of the windmill visits each point of $\\mathcal{S}$ as a pivot. To see this, select any point $T$ of $\\mathcal{S}$ and an oriented line $\\ell$ through $T$ that separates $\\mathcal{S}$ into two subsets with $n-1$ points on its oranje and $n$ points on its blue side. Again, parallel translation would change the numbers of points on the two sides, so when the windmill line is parallel to $\\ell$ with the same orientation, the windmill line must pass through $T$. Comment. One may shorten this solution in the following way. Suppose that $|\\mathcal{S}|=2 n+1$. Consider any line $\\ell$ that separates $\\mathcal{S}$ into equal halves; this line is unique given its direction and contains some point $T \\in \\mathcal{S}$. Consider the windmill starting from this line. When the line has made a rotation of $180^{\\circ}$, it returns to the same location but the oranje side becomes blue and vice versa. So, for each point there should have been a moment when it appeared as pivot, as this is the only way for a point to pass from on side to the other. Now suppose that $|\\mathcal{S}|=2 n$. Consider a line having $n-1$ and $n$ points on the two sides; it contains some point $T$. Consider the windmill starting from this line. After having made a rotation of $180^{\\circ}$, the windmill line contains some different point $R$, and each point different from $T$ and $R$ has changed the color of its side. So, the windmill should have passed through all the points. ## $\\mathrm{C} 4$ Determine the greatest positive integer $k$ that satisfies the following property: The set of positive integers can be partitioned into $k$ subsets $A_{1}, A_{2}, \\ldots, A_{k}$ such that for all integers $n \\geq 15$ and all $i \\in\\{1,2, \\ldots, k\\}$ there exist two distinct elements of $A_{i}$ whose sum is $n$. Answer. The greatest such number $k$ is 3 .", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C3", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $\\mathcal{S}$ be a finite set of at least two points in the plane. Assume that no three points of $\\mathcal{S}$ are collinear. By a windmill we mean a process as follows. Start with a line $\\ell$ going through a point $P \\in \\mathcal{S}$. Rotate $\\ell$ clockwise around the pivot $P$ until the line contains another point $Q$ of $\\mathcal{S}$. The point $Q$ now takes over as the new pivot. This process continues indefinitely, with the pivot always being a point from $\\mathcal{S}$. Show that for a suitable $P \\in \\mathcal{S}$ and a suitable starting line $\\ell$ containing $P$, the resulting windmill will visit each point of $\\mathcal{S}$ as a pivot infinitely often. ## $\\mathrm{C} 4$ Determine the greatest positive integer $k$ that satisfies the following property: The set of positive integers can be partitioned into $k$ subsets $A_{1}, A_{2}, \\ldots, A_{k}$ such that for all integers $n \\geq 15$ and all $i \\in\\{1,2, \\ldots, k\\}$ there exist two distinct elements of $A_{i}$ whose sum is $n$.", "solution": "There are various examples showing that $k=3$ does indeed have the property under consideration. E.g. one can take $$ \\begin{gathered} A_{1}=\\{1,2,3\\} \\cup\\{3 m \\mid m \\geq 4\\}, \\\\ A_{2}=\\{4,5,6\\} \\cup\\{3 m-1 \\mid m \\geq 4\\}, \\\\ A_{3}=\\{7,8,9\\} \\cup\\{3 m-2 \\mid m \\geq 4\\} \\end{gathered} $$ To check that this partition fits, we notice first that the sums of two distinct elements of $A_{i}$ obviously represent all numbers $n \\geq 1+12=13$ for $i=1$, all numbers $n \\geq 4+11=15$ for $i=2$, and all numbers $n \\geq 7+10=17$ for $i=3$. So, we are left to find representations of the numbers 15 and 16 as sums of two distinct elements of $A_{3}$. These are $15=7+8$ and $16=7+9$. Let us now suppose that for some $k \\geq 4$ there exist sets $A_{1}, A_{2}, \\ldots, A_{k}$ satisfying the given property. Obviously, the sets $A_{1}, A_{2}, A_{3}, A_{4} \\cup \\cdots \\cup A_{k}$ also satisfy the same property, so one may assume $k=4$. Put $B_{i}=A_{i} \\cap\\{1,2, \\ldots, 23\\}$ for $i=1,2,3,4$. Now for any index $i$ each of the ten numbers $15,16, \\ldots, 24$ can be written as sum of two distinct elements of $B_{i}$. Therefore this set needs to contain at least five elements. As we also have $\\left|B_{1}\\right|+\\left|B_{2}\\right|+\\left|B_{3}\\right|+\\left|B_{4}\\right|=23$, there has to be some index $j$ for which $\\left|B_{j}\\right|=5$. Let $B_{j}=\\left\\{x_{1}, x_{2}, x_{3}, x_{4}, x_{5}\\right\\}$. Finally, now the sums of two distinct elements of $A_{j}$ representing the numbers $15,16, \\ldots, 24$ should be exactly all the pairwise sums of the elements of $B_{j}$. Calculating the sum of these numbers in two different ways, we reach $$ 4\\left(x_{1}+x_{2}+x_{3}+x_{4}+x_{5}\\right)=15+16+\\ldots+24=195 . $$ Thus the number 195 should be divisible by 4 , which is false. This contradiction completes our solution. Comment. There are several variation of the proof that $k$ should not exceed 3. E.g., one may consider the sets $C_{i}=A_{i} \\cap\\{1,2, \\ldots, 19\\}$ for $i=1,2,3,4$. As in the previous solution one can show that for some index $j$ one has $\\left|C_{j}\\right|=4$, and the six pairwise sums of the elements of $C_{j}$ should represent all numbers $15,16, \\ldots, 20$. Let $C_{j}=\\left\\{y_{1}, y_{2}, y_{3}, y_{4}\\right\\}$ with $y_{1}<y_{2}<y_{3}<y_{4}$. It is not hard to deduce $C_{j}=\\{7,8,9,11\\}$, so in particular we have $1 \\notin C_{j}$. Hence it is impossible to represent 21 as sum of two distinct elements of $A_{j}$, which completes our argument.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C3", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $\\mathcal{S}$ be a finite set of at least two points in the plane. Assume that no three points of $\\mathcal{S}$ are collinear. By a windmill we mean a process as follows. Start with a line $\\ell$ going through a point $P \\in \\mathcal{S}$. Rotate $\\ell$ clockwise around the pivot $P$ until the line contains another point $Q$ of $\\mathcal{S}$. The point $Q$ now takes over as the new pivot. This process continues indefinitely, with the pivot always being a point from $\\mathcal{S}$. Show that for a suitable $P \\in \\mathcal{S}$ and a suitable starting line $\\ell$ containing $P$, the resulting windmill will visit each point of $\\mathcal{S}$ as a pivot infinitely often. ## $\\mathrm{C} 4$ Determine the greatest positive integer $k$ that satisfies the following property: The set of positive integers can be partitioned into $k$ subsets $A_{1}, A_{2}, \\ldots, A_{k}$ such that for all integers $n \\geq 15$ and all $i \\in\\{1,2, \\ldots, k\\}$ there exist two distinct elements of $A_{i}$ whose sum is $n$.", "solution": "Again we only prove that $k \\leq 3$. Assume that $A_{1}, A_{2}, \\ldots, A_{k}$ is a partition satisfying the given property. We construct a graph $\\mathcal{G}$ on the set $V=\\{1,2, \\ldots, 18\\}$ of vertices as follows. For each $i \\in\\{1,2, \\ldots, k\\}$ and each $d \\in\\{15,16,17,19\\}$ we choose one pair of distinct elements $a, b \\in A_{i}$ with $a+b=d$, and we draw an edge in the $i^{\\text {th }}$ color connecting $a$ with $b$. By hypothesis, $\\mathcal{G}$ has exactly 4 edges of each color. Claim. The graph $\\mathcal{G}$ contains at most one circuit. Proof. Note that all the connected components of $\\mathcal{G}$ are monochromatic and hence contain at most four edges. Thus also all circuits of $\\mathcal{G}$ are monochromatic and have length at most four. Moreover, each component contains at most one circuit since otherwise it should contain at least five edges. Suppose that there is a 4-cycle in $\\mathcal{G}$, say with vertices $a, b, c$, and $d$ in order. Then $\\{a+b, b+$ $c, c+d, d+a\\}=\\{15,16,17,19\\}$. Taking sums we get $2(a+b+c+d)=15+16+17+19$ which is impossible for parity reasons. Thus all circuits of $\\mathcal{G}$ are triangles. Now if the vertices $a, b$, and $c$ form such a triangle, then by a similar reasoning the set $\\{a+b, b+$ $c, c+a\\}$ coincides with either $\\{15,16,17\\}$, or $\\{15,16,19\\}$, or $\\{16,17,19\\}$, or $\\{15,17,19\\}$. The last of these alternatives can be excluded for parity reasons again, whilst in the first three cases the set $\\{a, b, c\\}$ appears to be either $\\{7,8,9\\}$, or $\\{6,9,10\\}$, or $\\{7,9,10\\}$, respectively. Thus, a component containing a circuit should contain 9 as a vertex. Therefore there is at most one such component and hence at most one circuit. By now we know that $\\mathcal{G}$ is a graph with $4 k$ edges, at least $k$ components and at most one circuit. Consequently, $\\mathcal{G}$ must have at least $4 k+k-1$ vertices. Thus $5 k-1 \\leq 18$, and $k \\leq 3$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C5", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $m$ be a positive integer and consider a checkerboard consisting of $m$ by $m$ unit squares. At the midpoints of some of these unit squares there is an ant. At time 0 , each ant starts moving with speed 1 parallel to some edge of the checkerboard. When two ants moving in opposite directions meet, they both turn $90^{\\circ}$ clockwise and continue moving with speed 1 . When more than two ants meet, or when two ants moving in perpendicular directions meet, the ants continue moving in the same direction as before they met. When an ant reaches one of the edges of the checkerboard, it falls off and will not re-appear. Considering all possible starting positions, determine the latest possible moment at which the last ant falls off the checkerboard or prove that such a moment does not necessarily exist.", "solution": "For $m=1$ the answer is clearly correct, so assume $m>1$. In the sequel, the word collision will be used to denote meeting of exactly two ants, moving in opposite directions. If at the beginning we place an ant on the southwest corner square facing east and an ant on the southeast corner square facing west, then they will meet in the middle of the bottom row at time $\\frac{m-1}{2}$. After the collision, the ant that moves to the north will stay on the board for another $m-\\frac{1}{2}$ time units and thus we have established an example in which the last ant falls off at time $\\frac{m-1}{2}+m-\\frac{1}{2}=\\frac{3 m}{2}-1$. So, we are left to prove that this is the latest possible moment. Consider any collision of two ants $a$ and $a^{\\prime}$. Let us change the rule for this collision, and enforce these two ants to turn anticlockwise. Then the succeeding behavior of all the ants does not change; the only difference is that $a$ and $a^{\\prime}$ swap their positions. These arguments may be applied to any collision separately, so we may assume that at any collision, either both ants rotate clockwise or both of them rotate anticlockwise by our own choice. For instance, we may assume that there are only two types of ants, depending on their initial direction: $N E$-ants, which move only north or east, and $S W$-ants, moving only south and west. Then we immediately obtain that all ants will have fallen off the board after $2 m-1$ time units. However, we can get a better bound by considering the last moment at which a given ant collides with another ant. Choose a coordinate system such that the corners of the checkerboard are $(0,0),(m, 0),(m, m)$ and $(0, m)$. At time $t$, there will be no NE-ants in the region $\\{(x, y): x+y<t+1\\}$ and no $\\mathrm{SW}$-ants in the region $\\{(x, y): x+y>2 m-t-1\\}$. So if two ants collide at $(x, y)$ at time $t$, we have $$ t+1 \\leq x+y \\leq 2 m-t-1 $$ Analogously, we may change the rules so that each ant would move either alternatingly north and west, or alternatingly south and east. By doing so, we find that apart from (1) we also have $|x-y| \\leq m-t-1$ for each collision at point $(x, y)$ and time $t$. To visualize this, put $$ B(t)=\\left\\{(x, y) \\in[0, m]^{2}: t+1 \\leq x+y \\leq 2 m-t-1 \\text { and }|x-y| \\leq m-t-1\\right\\} . $$ An ant can thus only collide with another ant at time $t$ if it happens to be in the region $B(t)$. The following figure displays $B(t)$ for $t=\\frac{1}{2}$ and $t=\\frac{7}{2}$ in the case $m=6$ : ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-37.jpg?height=622&width=623&top_left_y=771&top_left_x=722) Now suppose that an NE-ant has its last collision at time $t$ and that it does so at the point $(x, y)$ (if the ant does not collide at all, it will fall off the board within $m-\\frac{1}{2}<\\frac{3 m}{2}-1$ time units, so this case can be ignored). Then we have $(x, y) \\in B(t)$ and thus $x+y \\geq t+1$ and $x-y \\geq-(m-t-1)$. So we get $$ x \\geq \\frac{(t+1)-(m-t-1)}{2}=t+1-\\frac{m}{2} $$ By symmetry we also have $y \\geq t+1-\\frac{m}{2}$, and hence $\\min \\{x, y\\} \\geq t+1-\\frac{m}{2}$. After this collision, the ant will move directly to an edge, which will take at $\\operatorname{most} m-\\min \\{x, y\\}$ units of time. In sum, the total amount of time the ant stays on the board is at most $$ t+(m-\\min \\{x, y\\}) \\leq t+m-\\left(t+1-\\frac{m}{2}\\right)=\\frac{3 m}{2}-1 $$ By symmetry, the same bound holds for $\\mathrm{SW}$-ants as well.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C6", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "Let $n$ be a positive integer and let $W=\\ldots x_{-1} x_{0} x_{1} x_{2} \\ldots$ be an infinite periodic word consisting of the letters $a$ and $b$. Suppose that the minimal period $N$ of $W$ is greater than $2^{n}$. A finite nonempty word $U$ is said to appear in $W$ if there exist indices $k \\leq \\ell$ such that $U=x_{k} x_{k+1} \\ldots x_{\\ell}$. A finite word $U$ is called ubiquitous if the four words $U a, U b, a U$, and $b U$ all appear in $W$. Prove that there are at least $n$ ubiquitous finite nonempty words.", "solution": "Throughout the solution, all the words are nonempty. For any word $R$ of length $m$, we call the number of indices $i \\in\\{1,2, \\ldots, N\\}$ for which $R$ coincides with the subword $x_{i+1} x_{i+2} \\ldots x_{i+m}$ of $W$ the multiplicity of $R$ and denote it by $\\mu(R)$. Thus a word $R$ appears in $W$ if and only if $\\mu(R)>0$. Since each occurrence of a word in $W$ is both succeeded by either the letter $a$ or the letter $b$ and similarly preceded by one of those two letters, we have $$ \\mu(R)=\\mu(R a)+\\mu(R b)=\\mu(a R)+\\mu(b R) $$ for all words $R$. We claim that the condition that $N$ is in fact the minimal period of $W$ guarantees that each word of length $N$ has multiplicity 1 or 0 depending on whether it appears or not. Indeed, if the words $x_{i+1} x_{i+2} \\ldots x_{i+N}$ and $x_{j+1} \\ldots x_{j+N}$ are equal for some $1 \\leq i<j \\leq N$, then we have $x_{i+a}=x_{j+a}$ for every integer $a$, and hence $j-i$ is also a period. Moreover, since $N>2^{n}$, at least one of the two words $a$ and $b$ has a multiplicity that is strictly larger than $2^{n-1}$. For each $k=0,1, \\ldots, n-1$, let $U_{k}$ be a subword of $W$ whose multiplicity is strictly larger than $2^{k}$ and whose length is maximal subject to this property. Note that such a word exists in view of the two observations made in the two previous paragraphs. Fix some index $k \\in\\{0,1, \\ldots, n-1\\}$. Since the word $U_{k} b$ is longer than $U_{k}$, its multiplicity can be at most $2^{k}$, so in particular $\\mu\\left(U_{k} b\\right)<\\mu\\left(U_{k}\\right)$. Therefore, the word $U_{k} a$ has to appear by (11). For a similar reason, the words $U_{k} b, a U_{k}$, and $b U_{k}$ have to appear as well. Hence, the word $U_{k}$ is ubiquitous. Moreover, if the multiplicity of $U_{k}$ were strictly greater than $2^{k+1}$, then by (1) at least one of the two words $U_{k} a$ and $U_{k} b$ would have multiplicity greater than $2^{k}$ and would thus violate the maximality condition imposed on $U_{k}$. So we have $\\mu\\left(U_{0}\\right) \\leq 2<\\mu\\left(U_{1}\\right) \\leq 4<\\ldots \\leq 2^{n-1}<\\mu\\left(U_{n-1}\\right)$, which implies in particular that the words $U_{0}, U_{1}, \\ldots, U_{n-1}$ have to be distinct. As they have been proved to be ubiquitous as well, the problem is solved. Comment 1. There is an easy construction for obtaining ubiquitous words from appearing words whose multiplicity is at least two. Starting with any such word $U$ we may simply extend one of its occurrences in $W$ forwards and backwards as long as its multiplicity remains fixed, thus arriving at a word that one might call the ubiquitous prolongation $p(U)$ of $U$. There are several variants of the argument in the second half of the solution using the concept of prolongation. For instance, one may just take all ubiquitous words $U_{1}, U_{2}, \\ldots, U_{\\ell}$ ordered by increasing multiplicity and then prove for $i \\in\\{1,2, \\ldots, \\ell\\}$ that $\\mu\\left(U_{i}\\right) \\leq 2^{i}$. Indeed, assume that $i$ is a minimal counterexample to this statement; then by the arguments similar to those presented above, the ubiquitous prolongation of one of the words $U_{i} a, U_{i} b, a U_{i}$ or $b U_{i}$ violates the definition of $U_{i}$. Now the multiplicity of one of the two letters $a$ and $b$ is strictly greater than $2^{n-1}$, so passing to ubiquitous prolongations once more we obtain $2^{n-1}<\\mu\\left(U_{\\ell}\\right) \\leq 2^{\\ell}$, which entails $\\ell \\geq n$, as needed. Comment 2. The bound $n$ for the number of ubiquitous subwords in the problem statement is not optimal, but it is close to an optimal one in the following sense. There is a universal constant $C>0$ such that for each positive integer $n$ there exists an infinite periodic word $W$ whose minimal period is greater than $2^{n}$ but for which there exist fewer than $C n$ ubiquitous words.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C7", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "On a square table of 2011 by 2011 cells we place a finite number of napkins that each cover a square of 52 by 52 cells. In each cell we write the number of napkins covering it, and we record the maximal number $k$ of cells that all contain the same nonzero number. Considering all possible napkin configurations, what is the largest value of $k$ ?", "solution": "Let $m=39$, then $2011=52 m-17$. We begin with an example showing that there can exist 3986729 cells carrying the same positive number. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-40.jpg?height=577&width=580&top_left_y=1022&top_left_x=744) To describe it, we number the columns from the left to the right and the rows from the bottom to the top by $1,2, \\ldots, 2011$. We will denote each napkin by the coordinates of its lowerleft cell. There are four kinds of napkins: first, we take all napkins $(52 i+36,52 j+1)$ with $0 \\leq j \\leq i \\leq m-2$; second, we use all napkins $(52 i+1,52 j+36)$ with $0 \\leq i \\leq j \\leq m-2$; third, we use all napkins $(52 i+36,52 i+36)$ with $0 \\leq i \\leq m-2$; and finally the napkin $(1,1)$. Different groups of napkins are shown by different types of hatchings in the picture. Now except for those squares that carry two or more different hatchings, all squares have the number 1 written into them. The number of these exceptional cells is easily computed to be $\\left(52^{2}-35^{2}\\right) m-17^{2}=57392$. We are left to prove that 3986729 is an upper bound for the number of cells containing the same number. Consider any configuration of napkins and any positive integer $M$. Suppose there are $g$ cells with a number different from $M$. Then it suffices to show $g \\geq 57392$. Throughout the solution, a line will mean either a row or a column. Consider any line $\\ell$. Let $a_{1}, \\ldots, a_{52 m-17}$ be the numbers written into its consecutive cells. For $i=1,2, \\ldots, 52$, let $s_{i}=\\sum_{t \\equiv i(\\bmod 52)} a_{t}$. Note that $s_{1}, \\ldots, s_{35}$ have $m$ terms each, while $s_{36}, \\ldots, s_{52}$ have $m-1$ terms each. Every napkin intersecting $\\ell$ contributes exactly 1 to each $s_{i}$; hence the number $s$ of all those napkins satisfies $s_{1}=\\cdots=s_{52}=s$. Call the line $\\ell$ rich if $s>(m-1) M$ and poor otherwise. Suppose now that $\\ell$ is rich. Then in each of the sums $s_{36}, \\ldots, s_{52}$ there exists a term greater than $M$; consider all these terms and call the corresponding cells the rich bad cells for this line. So, each rich line contains at least 17 cells that are bad for this line. If, on the other hand, $\\ell$ is poor, then certainly $s<m M$ so in each of the sums $s_{1}, \\ldots, s_{35}$ there exists a term less than $M$; consider all these terms and call the corresponding cells the poor bad cells for this line. So, each poor line contains at least 35 cells that are bad for this line. Let us call all indices congruent to $1,2, \\ldots$, or 35 modulo 52 small, and all other indices, i.e. those congruent to $36,37, \\ldots$, or 52 modulo 52 , big. Recall that we have numbered the columns from the left to the right and the rows from the bottom to the top using the numbers $1,2, \\ldots, 52 m-17$; we say that a line is big or small depending on whether its index is big or small. By definition, all rich bad cells for the rows belong to the big columns, while the poor ones belong to the small columns, and vice versa. In each line, we put a strawberry on each cell that is bad for this line. In addition, for each small rich line we put an extra strawberry on each of its (rich) bad cells. A cell gets the strawberries from its row and its column independently. Notice now that a cell with a strawberry on it contains a number different from $M$. If this cell gets a strawberry by the extra rule, then it contains a number greater than $M$. Moreover, it is either in a small row and in a big column, or vice versa. Suppose that it is in a small row, then it is not bad for its column. So it has not more than two strawberries in this case. On the other hand, if the extra rule is not applied to some cell, then it also has not more than two strawberries. So, the total number $N$ of strawberries is at most $2 g$. We shall now estimate $N$ in a different way. For each of the $2 \\cdot 35 m$ small lines, we have introduced at least 34 strawberries if it is rich and at least 35 strawberries if it is poor, so at least 34 strawberries in any case. Similarly, for each of the $2 \\cdot 17(m-1)$ big lines, we put at least $\\min (17,35)=17$ strawberries. Summing over all lines we obtain $$ 2 g \\geq N \\geq 2(35 m \\cdot 34+17(m-1) \\cdot 17)=2(1479 m-289)=2 \\cdot 57392 $$ as desired. Comment. The same reasoning applies also if we replace 52 by $R$ and 2011 by $R m-H$, where $m, R$, and $H$ are integers with $m, R \\geq 1$ and $0 \\leq H \\leq \\frac{1}{3} R$. More detailed information is provided after the next solution.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C7", "problem_type": "Combinatorics", "exam": "IMO-SL", "problem": "On a square table of 2011 by 2011 cells we place a finite number of napkins that each cover a square of 52 by 52 cells. In each cell we write the number of napkins covering it, and we record the maximal number $k$ of cells that all contain the same nonzero number. Considering all possible napkin configurations, what is the largest value of $k$ ?", "solution": "We present a different proof of the estimate which is the hard part of the problem. Let $S=35, H=17, m=39$; so the table size is $2011=S m+H(m-1)$, and the napkin size is $52=S+H$. Fix any positive integer $M$ and call a cell vicious if it contains a number distinct from $M$. We will prove that there are at least $H^{2}(m-1)+2 S H m$ vicious cells. Firstly, we introduce some terminology. As in the previous solution, we number rows and columns and we use the same notions of small and big indices and lines; so, an index is small if it is congruent to one of the numbers $1,2, \\ldots, S$ modulo $(S+H)$. The numbers $1,2, \\ldots, S+H$ will be known as residues. For two residues $i$ and $j$, we say that a cell is of type $(i, j)$ if the index of its row is congruent to $i$ and the index of its column to $j$ modulo $(S+H)$. The number of vicious cells of this type is denoted by $v_{i j}$. Let $s, s^{\\prime}$ be two variables ranging over small residues and let $h, h^{\\prime}$ be two variables ranging over big residues. A cell is said to be of class $A, B, C$, or $D$ if its type is of shape $\\left(s, s^{\\prime}\\right),(s, h),(h, s)$, or $\\left(h, h^{\\prime}\\right)$, respectively. The numbers of vicious cells belonging to these classes are denoted in this order by $a, b, c$, and $d$. Observe that each cell belongs to exactly one class. Claim 1. We have $$ m \\leq \\frac{a}{S^{2}}+\\frac{b+c}{2 S H} $$ Proof. Consider an arbitrary small row $r$. Denote the numbers of vicious cells on $r$ belonging to the classes $A$ and $B$ by $\\alpha$ and $\\beta$, respectively. As in the previous solution, we obtain that $\\alpha \\geq S$ or $\\beta \\geq H$. So in each case we have $\\frac{\\alpha}{S}+\\frac{\\beta}{H} \\geq 1$. Performing this argument separately for each small row and adding up all the obtained inequalities, we get $\\frac{a}{S}+\\frac{b}{H} \\geq m S$. Interchanging rows and columns we similarly get $\\frac{a}{S}+\\frac{c}{H} \\geq m S$. Summing these inequalities and dividing by $2 S$ we get what we have claimed. Claim 2. Fix two small residue $s, s^{\\prime}$ and two big residues $h, h^{\\prime}$. Then $2 m-1 \\leq v_{s s^{\\prime}}+v_{s h^{\\prime}}+v_{h h^{\\prime}}$. Proof. Each napkin covers exactly one cell of type $\\left(s, s^{\\prime}\\right)$. Removing all napkins covering a vicious cell of this type, we get another collection of napkins, which covers each cell of type $\\left(s, s^{\\prime}\\right)$ either 0 or $M$ times depending on whether the cell is vicious or not. Hence $\\left(m^{2}-v_{s s^{\\prime}}\\right) M$ napkins are left and throughout the proof of Claim 2 we will consider only these remaining napkins. Now, using a red pen, write in each cell the number of napkins covering it. Notice that a cell containing a red number greater than $M$ is surely vicious. We call two cells neighbors if they can be simultaneously covered by some napkin. So, each cell of type $\\left(h, h^{\\prime}\\right)$ has not more than four neighbors of type $\\left(s, s^{\\prime}\\right)$, while each cell of type $\\left(s, h^{\\prime}\\right)$ has not more than two neighbors of each of the types $\\left(s, s^{\\prime}\\right)$ and $\\left(h, h^{\\prime}\\right)$. Therefore, each red number at a cell of type $\\left(h, h^{\\prime}\\right)$ does not exceed $4 M$, while each red number at a cell of type $\\left(s, h^{\\prime}\\right)$ does not exceed $2 M$. Let $x, y$, and $z$ be the numbers of cells of type $\\left(h, h^{\\prime}\\right)$ whose red number belongs to $(M, 2 M]$, $(2 M, 3 M]$, and $(3 M, 4 M]$, respectively. All these cells are vicious, hence $x+y+z \\leq v_{h h^{\\prime}}$. The red numbers appearing in cells of type $\\left(h, h^{\\prime}\\right)$ clearly sum up to $\\left(m^{2}-v_{s s^{\\prime}}\\right) M$. Bounding each of these numbers by a multiple of $M$ we get $$ \\left(m^{2}-v_{s s^{\\prime}}\\right) M \\leq\\left((m-1)^{2}-(x+y+z)\\right) M+2 x M+3 y M+4 z M $$ i.e. $$ 2 m-1 \\leq v_{s s^{\\prime}}+x+2 y+3 z \\leq v_{s s^{\\prime}}+v_{h h^{\\prime}}+y+2 z $$ So, to prove the claim it suffices to prove that $y+2 z \\leq v_{s h^{\\prime}}$. For a cell $\\delta$ of type $\\left(h, h^{\\prime}\\right)$ and a cell $\\beta$ of type $\\left(s, h^{\\prime}\\right)$ we say that $\\delta$ forces $\\beta$ if there are more than $M$ napkins covering both of them. Since each red number in a cell of type $\\left(s, h^{\\prime}\\right)$ does not exceed $2 M$, it cannot be forced by more than one cell. On the other hand, if a red number in a $\\left(h, h^{\\prime}\\right)$-cell belongs to $(2 M, 3 M]$, then it forces at least one of its neighbors of type $\\left(s, h^{\\prime}\\right)$ (since the sum of red numbers in their cells is greater than $2 M)$. Analogously, an $\\left(h, h^{\\prime}\\right)$-cell with the red number in $(3 M, 4 M]$ forces both its neighbors of type $\\left(s, h^{\\prime}\\right)$, since their red numbers do not exceed $2 M$. Therefore there are at least $y+2 z$ forced cells and clearly all of them are vicious, as desired. Claim 3. We have $$ 2 m-1 \\leq \\frac{a}{S^{2}}+\\frac{b+c}{2 S H}+\\frac{d}{H^{2}} $$ Proof. Averaging the previous result over all $S^{2} H^{2}$ possibilities for the quadruple $\\left(s, s^{\\prime}, h, h^{\\prime}\\right)$, we get $2 m-1 \\leq \\frac{a}{S^{2}}+\\frac{b}{S H}+\\frac{d}{H^{2}}$. Due to the symmetry between rows and columns, the same estimate holds with $b$ replaced by $c$. Averaging these two inequalities we arrive at our claim. Now let us multiply (2) by $H^{2}$, multiply (II) by $\\left(2 S H-H^{2}\\right)$ and add them; we get $H^{2}(2 m-1)+\\left(2 S H-H^{2}\\right) m \\leq a \\cdot \\frac{H^{2}+2 S H-H^{2}}{S^{2}}+(b+c) \\frac{H^{2}+2 S H-H^{2}}{2 S H}+d=a \\cdot \\frac{2 H}{S}+b+c+d$. The left-hand side is exactly $H^{2}(m-1)+2 S H m$, while the right-hand side does not exceed $a+b+c+d$ since $2 H \\leq S$. Hence we come to the desired inequality. Comment 1. Claim 2 is the key difference between the two solutions, because it allows to get rid of the notions of rich and poor cells. However, one may prove it by the \"strawberry method\" as well. It suffices to put a strawberry on each cell which is bad for an $s$-row, and a strawberry on each cell which is bad for an $h^{\\prime}$-column. Then each cell would contain not more than one strawberry. Comment 2. Both solutions above work if the residue of the table size $T$ modulo the napkin size $R$ is at least $\\frac{2}{3} R$, or equivalently if $T=S m+H(m-1)$ and $R=S+H$ for some positive integers $S, H$, $m$ such that $S \\geq 2 H$. Here we discuss all other possible combinations. Case 1. If $2 H \\geq S \\geq H / 2$, then the sharp bound for the number of vicious cells is $m S^{2}+(m-1) H^{2}$; it can be obtained by the same methods as in any of the solutions. To obtain an example showing that the bound is sharp, one may simply remove the napkins of the third kind from the example in Solution 1 (with an obvious change in the numbers). Case 2. If $2 S \\leq H$, the situation is more difficult. If $(S+H)^{2}>2 H^{2}$, then the answer and the example are the same as in the previous case; otherwise the answer is $(2 m-1) S^{2}+2 S H(m-1)$, and the example is provided simply by $(m-1)^{2}$ nonintersecting napkins. Now we sketch the proof of both estimates for Case 2. We introduce a more appropriate notation based on that from Solution 2. Denote by $a_{-}$and $a_{+}$the number of cells of class $A$ that contain the number which is strictly less than $M$ and strictly greater than $M$, respectively. The numbers $b_{ \\pm}, c_{ \\pm}$, and $d_{ \\pm}$are defined in a similar way. One may notice that the proofs of Claim 1 and Claims 2, 3 lead in fact to the inequalities $$ m-1 \\leq \\frac{b_{-}+c_{-}}{2 S H}+\\frac{d_{+}}{H^{2}} \\quad \\text { and } \\quad 2 m-1 \\leq \\frac{a}{S^{2}}+\\frac{b_{+}+c_{+}}{2 S H}+\\frac{d_{+}}{H^{2}} $$ (to obtain the first one, one needs to look at the big lines instead of the small ones). Combining these inequalities, one may obtain the desired estimates. These estimates can also be proved in some different ways, e.g. without distinguishing rich and poor cells.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G1", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle. Let $\\omega$ be a circle whose center $L$ lies on the side $B C$. Suppose that $\\omega$ is tangent to $A B$ at $B^{\\prime}$ and to $A C$ at $C^{\\prime}$. Suppose also that the circumcenter $O$ of the triangle $A B C$ lies on the shorter $\\operatorname{arc} B^{\\prime} C^{\\prime}$ of $\\omega$. Prove that the circumcircle of $A B C$ and $\\omega$ meet at two points.", "solution": "The point $B^{\\prime}$, being the perpendicular foot of $L$, is an interior point of side $A B$. Analogously, $C^{\\prime}$ lies in the interior of $A C$. The point $O$ is located inside the triangle $A B^{\\prime} C^{\\prime}$, hence $\\angle C O B<\\angle C^{\\prime} O B^{\\prime}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-45.jpg?height=837&width=674&top_left_y=895&top_left_x=697) Let $\\alpha=\\angle C A B$. The angles $\\angle C A B$ and $\\angle C^{\\prime} O B^{\\prime}$ are inscribed into the two circles with centers $O$ and $L$, respectively, so $\\angle C O B=2 \\angle C A B=2 \\alpha$ and $2 \\angle C^{\\prime} O B^{\\prime}=360^{\\circ}-\\angle C^{\\prime} L B^{\\prime}$. From the kite $A B^{\\prime} L C^{\\prime}$ we have $\\angle C^{\\prime} L B^{\\prime}=180^{\\circ}-\\angle C^{\\prime} A B^{\\prime}=180^{\\circ}-\\alpha$. Combining these, we get $$ 2 \\alpha=\\angle C O B<\\angle C^{\\prime} O B^{\\prime}=\\frac{360^{\\circ}-\\angle C^{\\prime} L B^{\\prime}}{2}=\\frac{360^{\\circ}-\\left(180^{\\circ}-\\alpha\\right)}{2}=90^{\\circ}+\\frac{\\alpha}{2}, $$ So $$ \\alpha<60^{\\circ} \\text {. } $$ Let $O^{\\prime}$ be the reflection of $O$ in the line $B C$. In the quadrilateral $A B O^{\\prime} C$ we have $$ \\angle C O^{\\prime} B+\\angle C A B=\\angle C O B+\\angle C A B=2 \\alpha+\\alpha<180^{\\circ}, $$ so the point $O^{\\prime}$ is outside the circle $A B C$. Hence, $O$ and $O^{\\prime}$ are two points of $\\omega$ such that one of them lies inside the circumcircle, while the other one is located outside. Therefore, the two circles intersect. Comment. There are different ways of reducing the statement of the problem to the case $\\alpha<60^{\\circ}$. E.g., since the point $O$ lies in the interior of the isosceles triangle $A B^{\\prime} C^{\\prime}$, we have $O A<A B^{\\prime}$. So, if $A B^{\\prime} \\leq 2 L B^{\\prime}$ then $O A<2 L O$, which means that $\\omega$ intersects the circumcircle of $A B C$. Hence the only interesting case is $A B^{\\prime}>2 L B^{\\prime}$, and this condition implies $\\angle C A B=2 \\angle B^{\\prime} A L<2 \\cdot 30^{\\circ}=60^{\\circ}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G2", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A_{1} A_{2} A_{3} A_{4}$ be a non-cyclic quadrilateral. Let $O_{1}$ and $r_{1}$ be the circumcenter and the circumradius of the triangle $A_{2} A_{3} A_{4}$. Define $O_{2}, O_{3}, O_{4}$ and $r_{2}, r_{3}, r_{4}$ in a similar way. Prove that $$ \\frac{1}{O_{1} A_{1}^{2}-r_{1}^{2}}+\\frac{1}{O_{2} A_{2}^{2}-r_{2}^{2}}+\\frac{1}{O_{3} A_{3}^{2}-r_{3}^{2}}+\\frac{1}{O_{4} A_{4}^{2}-r_{4}^{2}}=0 $$", "solution": "Let $M$ be the point of intersection of the diagonals $A_{1} A_{3}$ and $A_{2} A_{4}$. On each diagonal choose a direction and let $x, y, z$, and $w$ be the signed distances from $M$ to the points $A_{1}, A_{2}, A_{3}$, and $A_{4}$, respectively. Let $\\omega_{1}$ be the circumcircle of the triangle $A_{2} A_{3} A_{4}$ and let $B_{1}$ be the second intersection point of $\\omega_{1}$ and $A_{1} A_{3}$ (thus, $B_{1}=A_{3}$ if and only if $A_{1} A_{3}$ is tangent to $\\omega_{1}$ ). Since the expression $O_{1} A_{1}^{2}-r_{1}^{2}$ is the power of the point $A_{1}$ with respect to $\\omega_{1}$, we get $$ O_{1} A_{1}^{2}-r_{1}^{2}=A_{1} B_{1} \\cdot A_{1} A_{3} $$ On the other hand, from the equality $M B_{1} \\cdot M A_{3}=M A_{2} \\cdot M A_{4}$ we obtain $M B_{1}=y w / z$. Hence, we have $$ O_{1} A_{1}^{2}-r_{1}^{2}=\\left(\\frac{y w}{z}-x\\right)(z-x)=\\frac{z-x}{z}(y w-x z) . $$ Substituting the analogous expressions into the sought sum we get $$ \\sum_{i=1}^{4} \\frac{1}{O_{i} A_{i}^{2}-r_{i}^{2}}=\\frac{1}{y w-x z}\\left(\\frac{z}{z-x}-\\frac{w}{w-y}+\\frac{x}{x-z}-\\frac{y}{y-w}\\right)=0 $$ as desired. Comment. One might reformulate the problem by assuming that the quadrilateral $A_{1} A_{2} A_{3} A_{4}$ is convex. This should not really change the difficulty, but proofs that distinguish several cases may become shorter.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G2", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A_{1} A_{2} A_{3} A_{4}$ be a non-cyclic quadrilateral. Let $O_{1}$ and $r_{1}$ be the circumcenter and the circumradius of the triangle $A_{2} A_{3} A_{4}$. Define $O_{2}, O_{3}, O_{4}$ and $r_{2}, r_{3}, r_{4}$ in a similar way. Prove that $$ \\frac{1}{O_{1} A_{1}^{2}-r_{1}^{2}}+\\frac{1}{O_{2} A_{2}^{2}-r_{2}^{2}}+\\frac{1}{O_{3} A_{3}^{2}-r_{3}^{2}}+\\frac{1}{O_{4} A_{4}^{2}-r_{4}^{2}}=0 $$", "solution": "Introduce a Cartesian coordinate system in the plane. Every circle has an equation of the form $p(x, y)=x^{2}+y^{2}+l(x, y)=0$, where $l(x, y)$ is a polynomial of degree at most 1 . For any point $A=\\left(x_{A}, y_{A}\\right)$ we have $p\\left(x_{A}, y_{A}\\right)=d^{2}-r^{2}$, where $d$ is the distance from $A$ to the center of the circle and $r$ is the radius of the circle. For each $i$ in $\\{1,2,3,4\\}$ let $p_{i}(x, y)=x^{2}+y^{2}+l_{i}(x, y)=0$ be the equation of the circle with center $O_{i}$ and radius $r_{i}$ and let $d_{i}$ be the distance from $A_{i}$ to $O_{i}$. Consider the equation $$ \\sum_{i=1}^{4} \\frac{p_{i}(x, y)}{d_{i}^{2}-r_{i}^{2}}=1 $$ Since the coordinates of the points $A_{1}, A_{2}, A_{3}$, and $A_{4}$ satisfy (1) but these four points do not lie on a circle or on an line, equation (1) defines neither a circle, nor a line. Hence, the equation is an identity and the coefficient of the quadratic term $x^{2}+y^{2}$ also has to be zero, i.e. $$ \\sum_{i=1}^{4} \\frac{1}{d_{i}^{2}-r_{i}^{2}}=0 $$ Comment. Using the determinant form of the equation of the circle through three given points, the same solution can be formulated as follows. For $i=1,2,3,4$ let $\\left(u_{i}, v_{i}\\right)$ be the coordinates of $A_{i}$ and define $$ \\Delta=\\left|\\begin{array}{llll} u_{1}^{2}+v_{1}^{2} & u_{1} & v_{1} & 1 \\\\ u_{2}^{2}+v_{2}^{2} & u_{2} & v_{2} & 1 \\\\ u_{3}^{2}+v_{3}^{2} & u_{3} & v_{3} & 1 \\\\ u_{4}^{2}+v_{4}^{2} & u_{4} & v_{4} & 1 \\end{array}\\right| \\quad \\text { and } \\quad \\Delta_{i}=\\left|\\begin{array}{lll} u_{i+1} & v_{i+1} & 1 \\\\ u_{i+2} & v_{i+2} & 1 \\\\ u_{i+3} & v_{i+3} & 1 \\end{array}\\right| $$ where $i+1, i+2$, and $i+3$ have to be read modulo 4 as integers in the set $\\{1,2,3,4\\}$. Expanding $\\left|\\begin{array}{llll}u_{1} & v_{1} & 1 & 1 \\\\ u_{2} & v_{2} & 1 & 1 \\\\ u_{3} & v_{3} & 1 & 1 \\\\ u_{4} & v_{4} & 1 & 1\\end{array}\\right|=0$ along the third column, we get $\\Delta_{1}-\\Delta_{2}+\\Delta_{3}-\\Delta_{4}=0$. The circle through $A_{i+1}, A_{i+2}$, and $A_{i+3}$ is given by the equation $$ \\frac{1}{\\Delta_{i}}\\left|\\begin{array}{cccc} x^{2}+y^{2} & x & y & 1 \\\\ u_{i+1}^{2}+v_{i+1}^{2} & u_{i+1} & v_{i+1} & 1 \\\\ u_{i+2}^{2}+v_{i+2}^{2} & u_{i+2} & v_{i+2} & 1 \\\\ u_{i+3}^{2}+v_{i+3}^{2} & u_{i+3} & v_{i+3} & 1 \\end{array}\\right|=0 $$ On the left-hand side, the coefficient of $x^{2}+y^{2}$ is equal to 1 . Substituting $\\left(u_{i}, v_{i}\\right)$ for $(x, y)$ in (2) we obtain the power of point $A_{i}$ with respect to the circle through $A_{i+1}, A_{i+2}$, and $A_{i+3}$ : $$ d_{i}^{2}-r_{i}^{2}=\\frac{1}{\\Delta_{i}}\\left|\\begin{array}{cccc} u_{i}^{2}+v_{i}^{2} & u_{i} & v_{i} & 1 \\\\ u_{i+1}^{2}+v_{i+1}^{2} & u_{i+1} & v_{i+1} & 1 \\\\ u_{i+2}^{2}+v_{i+2}^{2} & u_{i+2} & v_{i+2} & 1 \\\\ u_{i+3}^{2}+v_{i+3}^{2} & u_{i+3} & v_{i+3} & 1 \\end{array}\\right|=(-1)^{i+1} \\frac{\\Delta}{\\Delta_{i}} $$ Thus, we have $$ \\sum_{i=1}^{4} \\frac{1}{d_{i}^{2}-r_{i}^{2}}=\\frac{\\Delta_{1}-\\Delta_{2}+\\Delta_{3}-\\Delta_{4}}{\\Delta}=0 $$", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G3", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D$ be a convex quadrilateral whose sides $A D$ and $B C$ are not parallel. Suppose that the circles with diameters $A B$ and $C D$ meet at points $E$ and $F$ inside the quadrilateral. Let $\\omega_{E}$ be the circle through the feet of the perpendiculars from $E$ to the lines $A B, B C$, and $C D$. Let $\\omega_{F}$ be the circle through the feet of the perpendiculars from $F$ to the lines $C D, D A$, and $A B$. Prove that the midpoint of the segment $E F$ lies on the line through the two intersection points of $\\omega_{E}$ and $\\omega_{F}$.", "solution": "Denote by $P, Q, R$, and $S$ the projections of $E$ on the lines $D A, A B, B C$, and $C D$ respectively. The points $P$ and $Q$ lie on the circle with diameter $A E$, so $\\angle Q P E=\\angle Q A E$; analogously, $\\angle Q R E=\\angle Q B E$. So $\\angle Q P E+\\angle Q R E=\\angle Q A E+\\angle Q B E=90^{\\circ}$. By similar reasons, we have $\\angle S P E+\\angle S R E=90^{\\circ}$, hence we get $\\angle Q P S+\\angle Q R S=90^{\\circ}+90^{\\circ}=180^{\\circ}$, and the quadrilateral $P Q R S$ is inscribed in $\\omega_{E}$. Analogously, all four projections of $F$ onto the sides of $A B C D$ lie on $\\omega_{F}$. Denote by $K$ the meeting point of the lines $A D$ and $B C$. Due to the arguments above, there is no loss of generality in assuming that $A$ lies on segment $D K$. Suppose that $\\angle C K D \\geq 90^{\\circ}$; then the circle with diameter $C D$ covers the whole quadrilateral $A B C D$, so the points $E, F$ cannot lie inside this quadrilateral. Hence our assumption is wrong. Therefore, the lines EP and $B C$ intersect at some point $P^{\\prime}$, while the lines $E R$ and $A D$ intersect at some point $R^{\\prime}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-49.jpg?height=794&width=1376&top_left_y=1522&top_left_x=340) Figure 1 We claim that the points $P^{\\prime}$ and $R^{\\prime}$ also belong to $\\omega_{E}$. Since the points $R, E, Q, B$ are concyclic, $\\angle Q R K=\\angle Q E B=90^{\\circ}-\\angle Q B E=\\angle Q A E=\\angle Q P E$. So $\\angle Q R K=\\angle Q P P^{\\prime}$, which means that the point $P^{\\prime}$ lies on $\\omega_{E}$. Analogously, $R^{\\prime}$ also lies on $\\omega_{E}$. In the same manner, denote by $M$ and $N$ the projections of $F$ on the lines $A D$ and $B C$ respectively, and let $M^{\\prime}=F M \\cap B C, N^{\\prime}=F N \\cap A D$. By the same arguments, we obtain that the points $M^{\\prime}$ and $N^{\\prime}$ belong to $\\omega_{F}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-50.jpg?height=782&width=1291&top_left_y=340&top_left_x=385) Figure 2 Now we concentrate on Figure 2, where all unnecessary details are removed. Let $U=N N^{\\prime} \\cap$ $P P^{\\prime}, V=M M^{\\prime} \\cap R R^{\\prime}$. Due to the right angles at $N$ and $P$, the points $N, N^{\\prime}, P, P^{\\prime}$ are concyclic, so $U N \\cdot U N^{\\prime}=U P \\cdot U P^{\\prime}$ which means that $U$ belongs to the radical axis $g$ of the circles $\\omega_{E}$ and $\\omega_{F}$. Analogously, $V$ also belongs to $g$. Finally, since $E U F V$ is a parallelogram, the radical axis $U V$ of $\\omega_{E}$ and $\\omega_{F}$ bisects $E F$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G4", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle with circumcircle $\\Omega$. Let $B_{0}$ be the midpoint of $A C$ and let $C_{0}$ be the midpoint of $A B$. Let $D$ be the foot of the altitude from $A$, and let $G$ be the centroid of the triangle $A B C$. Let $\\omega$ be a circle through $B_{0}$ and $C_{0}$ that is tangent to the circle $\\Omega$ at a point $X \\neq A$. Prove that the points $D, G$, and $X$ are collinear.", "solution": "If $A B=A C$, then the statement is trivial. So without loss of generality we may assume $A B<A C$. Denote the tangents to $\\Omega$ at points $A$ and $X$ by $a$ and $x$, respectively. Let $\\Omega_{1}$ be the circumcircle of triangle $A B_{0} C_{0}$. The circles $\\Omega$ and $\\Omega_{1}$ are homothetic with center $A$, so they are tangent at $A$, and $a$ is their radical axis. Now, the lines $a, x$, and $B_{0} C_{0}$ are the three radical axes of the circles $\\Omega, \\Omega_{1}$, and $\\omega$. Since $a \\nmid B_{0} C_{0}$, these three lines are concurrent at some point $W$. The points $A$ and $D$ are symmetric with respect to the line $B_{0} C_{0}$; hence $W X=W A=W D$. This means that $W$ is the center of the circumcircle $\\gamma$ of triangle $A D X$. Moreover, we have $\\angle W A O=\\angle W X O=90^{\\circ}$, where $O$ denotes the center of $\\Omega$. Hence $\\angle A W X+\\angle A O X=180^{\\circ}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-51.jpg?height=970&width=1213&top_left_y=1294&top_left_x=433) Denote by $T$ the second intersection point of $\\Omega$ and the line $D X$. Note that $O$ belongs to $\\Omega_{1}$. Using the circles $\\gamma$ and $\\Omega$, we find $\\angle D A T=\\angle A D X-\\angle A T D=\\frac{1}{2}\\left(360^{\\circ}-\\angle A W X\\right)-\\frac{1}{2} \\angle A O X=$ $180^{\\circ}-\\frac{1}{2}(\\angle A W X+\\angle A O X)=90^{\\circ}$. So, $A D \\perp A T$, and hence $A T \\| B C$. Thus, $A T C B$ is an isosceles trapezoid inscribed in $\\Omega$. Denote by $A_{0}$ the midpoint of $B C$, and consider the image of $A T C B$ under the homothety $h$ with center $G$ and factor $-\\frac{1}{2}$. We have $h(A)=A_{0}, h(B)=B_{0}$, and $h(C)=C_{0}$. From the symmetry about $B_{0} C_{0}$, we have $\\angle T C B=\\angle C B A=\\angle B_{0} C_{0} A=\\angle D C_{0} B_{0}$. Using $A T \\| D A_{0}$, we conclude $h(T)=D$. Hence the points $D, G$, and $T$ are collinear, and $X$ lies on the same line.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G4", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle with circumcircle $\\Omega$. Let $B_{0}$ be the midpoint of $A C$ and let $C_{0}$ be the midpoint of $A B$. Let $D$ be the foot of the altitude from $A$, and let $G$ be the centroid of the triangle $A B C$. Let $\\omega$ be a circle through $B_{0}$ and $C_{0}$ that is tangent to the circle $\\Omega$ at a point $X \\neq A$. Prove that the points $D, G$, and $X$ are collinear.", "solution": "We define the points $A_{0}, O$, and $W$ as in the previous solution and we concentrate on the case $A B<A C$. Let $Q$ be the perpendicular projection of $A_{0}$ on $B_{0} C_{0}$. Since $\\angle W A O=\\angle W Q O=\\angle O X W=90^{\\circ}$, the five points $A, W, X, O$, and $Q$ lie on a common circle. Furthermore, the reflections with respect to $B_{0} C_{0}$ and $O W$ map $A$ to $D$ and $X$, respectively. For these reasons, we have $$ \\angle W Q D=\\angle A Q W=\\angle A X W=\\angle W A X=\\angle W Q X . $$ Thus the three points $Q, D$, and $X$ lie on a common line, say $\\ell$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-52.jpg?height=745&width=1313&top_left_y=1044&top_left_x=380) To complete the argument, we note that the homothety centered at $G$ sending the triangle $A B C$ to the triangle $A_{0} B_{0} C_{0}$ maps the altitude $A D$ to the altitude $A_{0} Q$. Therefore it maps $D$ to $Q$, so the points $D, G$, and $Q$ are collinear. Hence $G$ lies on $\\ell$ as well. Comment. There are various other ways to prove the collinearity of $Q, D$, and $X$ obtained in the middle part of Solution 2. Introduce for instance the point $J$ where the lines $A W$ and $B C$ intersect. Then the four points $A, D, X$, and $J$ lie at the same distance from $W$, so the quadrilateral $A D X J$ is cyclic. In combination with the fact that $A W X Q$ is cyclic as well, this implies $$ \\angle J D X=\\angle J A X=\\angle W A X=\\angle W Q X $$ Since $B C \\| W Q$, it follows that $Q, D$, and $X$ are indeed collinear.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G5", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be a triangle with incenter $I$ and circumcircle $\\omega$. Let $D$ and $E$ be the second intersection points of $\\omega$ with the lines $A I$ and $B I$, respectively. The chord $D E$ meets $A C$ at a point $F$, and $B C$ at a point $G$. Let $P$ be the intersection point of the line through $F$ parallel to $A D$ and the line through $G$ parallel to $B E$. Suppose that the tangents to $\\omega$ at $A$ and at $B$ meet at a point $K$. Prove that the three lines $A E, B D$, and $K P$ are either parallel or concurrent.", "solution": "Since $$ \\angle I A F=\\angle D A C=\\angle B A D=\\angle B E D=\\angle I E F $$ the quadrilateral $A I F E$ is cyclic. Denote its circumcircle by $\\omega_{1}$. Similarly, the quadrilateral $B D G I$ is cyclic; denote its circumcircle by $\\omega_{2}$. The line $A E$ is the radical axis of $\\omega$ and $\\omega_{1}$, and the line $B D$ is the radical axis of $\\omega$ and $\\omega_{2}$. Let $t$ be the radical axis of $\\omega_{1}$ and $\\omega_{2}$. These three lines meet at the radical center of the three circles, or they are parallel to each other. We will show that $t$ is in fact the line $P K$. Let $L$ be the second intersection point of $\\omega_{1}$ and $\\omega_{2}$, so $t=I L$. (If the two circles are tangent to each other then $L=I$ and $t$ is the common tangent.) ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-53.jpg?height=977&width=1106&top_left_y=1442&top_left_x=475) Let the line $t$ meet the circumcircles of the triangles $A B L$ and $F G L$ at $K^{\\prime} \\neq L$ and $P^{\\prime} \\neq L$, respectively. Using oriented angles we have $$ \\angle\\left(A B, B K^{\\prime}\\right)=\\angle\\left(A L, L K^{\\prime}\\right)=\\angle(A L, L I)=\\angle(A E, E I)=\\angle(A E, E B)=\\angle(A B, B K) \\text {, } $$ so $B K^{\\prime} \\| B K$. Similarly we have $A K^{\\prime} \\| A K$, and therefore $K^{\\prime}=K$. Next, we have $$ \\angle\\left(P^{\\prime} F, F G\\right)=\\angle\\left(P^{\\prime} L, L G\\right)=\\angle(I L, L G)=\\angle(I D, D G)=\\angle(A D, D E)=\\angle(P F, F G), $$ hence $P^{\\prime} F \\| P F$ and similarly $P^{\\prime} G \\| P G$. Therefore $P^{\\prime}=P$. This means that $t$ passes through $K$ and $P$, which finishes the proof.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G5", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be a triangle with incenter $I$ and circumcircle $\\omega$. Let $D$ and $E$ be the second intersection points of $\\omega$ with the lines $A I$ and $B I$, respectively. The chord $D E$ meets $A C$ at a point $F$, and $B C$ at a point $G$. Let $P$ be the intersection point of the line through $F$ parallel to $A D$ and the line through $G$ parallel to $B E$. Suppose that the tangents to $\\omega$ at $A$ and at $B$ meet at a point $K$. Prove that the three lines $A E, B D$, and $K P$ are either parallel or concurrent.", "solution": "Let $M$ be the intersection point of the tangents to $\\omega$ at $D$ and $E$, and let the lines $A E$ and $B D$ meet at $T$; if $A E$ and $B D$ are parallel, then let $T$ be their common ideal point. It is well-known that the points $K$ and $M$ lie on the line $T I$ (as a consequence of PASCAL's theorem, applied to the inscribed degenerate hexagons $A A D B B E$ and $A D D B E E)$. The lines $A D$ and $B E$ are the angle bisectors of the angles $\\angle C A B$ and $\\angle A B C$, respectively, so $D$ and $E$ are the midpoints of the $\\operatorname{arcs} B C$ and $C A$ of the circle $\\omega$, respectively. Hence, $D M$ is parallel to $B C$ and $E M$ is parallel to $A C$. Apply PASCAL's theorem to the degenerate hexagon $C A D D E B$. By the theorem, the points $C A \\cap D E=F, A D \\cap E B=I$ and the common ideal point of lines $D M$ and $B C$ are collinear, therefore $F I$ is parallel to $B C$ and $D M$. Analogously, the line $G I$ is parallel to $A C$ and $E M$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-54.jpg?height=596&width=1622&top_left_y=1284&top_left_x=228) Now consider the homothety with scale factor $-\\frac{F G}{E D}$ which takes $E$ to $G$ and $D$ to $F$. Since the triangles $E D M$ and $G F I$ have parallel sides, the homothety takes $M$ to $I$. Similarly, since the triangles $D E I$ and $F G P$ have parallel sides, the homothety takes $I$ to $P$. Hence, the points M, I, $P$ and the homothety center $H$ must lie on the same line. Therefore, the point $P$ also lies on the line $T K I M$. Comment. One may prove that $I F \\| B C$ and $I G \\| A C$ in a more elementary way. Since $\\angle A D E=$ $\\angle E D C$ and $\\angle D E B=\\angle C E D$, the points $I$ and $C$ are symmetric about $D E$. Moreover, since the $\\operatorname{arcs} A E$ and $E C$ are equal and the arcs $C D$ and $D B$ are equal, we have $\\angle C F G=\\angle F G C$, so the triangle $C F G$ is isosceles. Hence, the quadrilateral $I F C G$ is a rhombus.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G6", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be a triangle with $A B=A C$, and let $D$ be the midpoint of $A C$. The angle bisector of $\\angle B A C$ intersects the circle through $D, B$, and $C$ in a point $E$ inside the triangle $A B C$. The line $B D$ intersects the circle through $A, E$, and $B$ in two points $B$ and $F$. The lines $A F$ and $B E$ meet at a point $I$, and the lines $C I$ and $B D$ meet at a point $K$. Show that $I$ is the incenter of triangle $K A B$.", "solution": "Let $D^{\\prime}$ be the midpoint of the segment $A B$, and let $M$ be the midpoint of $B C$. By symmetry at line $A M$, the point $D^{\\prime}$ has to lie on the circle $B C D$. Since the $\\operatorname{arcs} D^{\\prime} E$ and $E D$ of that circle are equal, we have $\\angle A B I=\\angle D^{\\prime} B E=\\angle E B D=I B K$, so $I$ lies on the angle bisector of $\\angle A B K$. For this reason it suffices to prove in the sequel that the ray $A I$ bisects the angle $\\angle B A K$. From $$ \\angle D F A=180^{\\circ}-\\angle B F A=180^{\\circ}-\\angle B E A=\\angle M E B=\\frac{1}{2} \\angle C E B=\\frac{1}{2} \\angle C D B $$ we derive $\\angle D F A=\\angle D A F$ so the triangle $A F D$ is isosceles with $A D=D F$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-55.jpg?height=771&width=1079&top_left_y=1442&top_left_x=497) Applying MenELaUs's theorem to the triangle $A D F$ with respect to the line $C I K$, and applying the angle bisector theorem to the triangle $A B F$, we infer $$ 1=\\frac{A C}{C D} \\cdot \\frac{D K}{K F} \\cdot \\frac{F I}{I A}=2 \\cdot \\frac{D K}{K F} \\cdot \\frac{B F}{A B}=2 \\cdot \\frac{D K}{K F} \\cdot \\frac{B F}{2 \\cdot A D}=\\frac{D K}{K F} \\cdot \\frac{B F}{A D} $$ and therefore $$ \\frac{B D}{A D}=\\frac{B F+F D}{A D}=\\frac{B F}{A D}+1=\\frac{K F}{D K}+1=\\frac{D F}{D K}=\\frac{A D}{D K} $$ It follows that the triangles $A D K$ and $B D A$ are similar, hence $\\angle D A K=\\angle A B D$. Then $$ \\angle I A B=\\angle A F D-\\angle A B D=\\angle D A F-\\angle D A K=\\angle K A I $$ shows that the point $K$ is indeed lying on the angle bisector of $\\angle B A K$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G6", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be a triangle with $A B=A C$, and let $D$ be the midpoint of $A C$. The angle bisector of $\\angle B A C$ intersects the circle through $D, B$, and $C$ in a point $E$ inside the triangle $A B C$. The line $B D$ intersects the circle through $A, E$, and $B$ in two points $B$ and $F$. The lines $A F$ and $B E$ meet at a point $I$, and the lines $C I$ and $B D$ meet at a point $K$. Show that $I$ is the incenter of triangle $K A B$.", "solution": "It can be shown in the same way as in the first solution that $I$ lies on the angle bisector of $\\angle A B K$. Here we restrict ourselves to proving that $K I$ bisects $\\angle A K B$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-56.jpg?height=862&width=1079&top_left_y=714&top_left_x=497) Denote the circumcircle of triangle $B C D$ and its center by $\\omega_{1}$ and by $O_{1}$, respectively. Since the quadrilateral $A B F E$ is cyclic, we have $\\angle D F E=\\angle B A E=\\angle D A E$. By the same reason, we have $\\angle E A F=\\angle E B F=\\angle A B E=\\angle A F E$. Therefore $\\angle D A F=\\angle D F A$, and hence $D F=D A=D C$. So triangle $A F C$ is inscribed in a circle $\\omega_{2}$ with center $D$. Denote the circumcircle of triangle $A B D$ by $\\omega_{3}$, and let its center be $O_{3}$. Since the arcs $B E$ and $E C$ of circle $\\omega_{1}$ are equal, and the triangles $A D E$ and $F D E$ are congruent, we have $\\angle A O_{1} B=2 \\angle B D E=\\angle B D A$, so $O_{1}$ lies on $\\omega_{3}$. Hence $\\angle O_{3} O_{1} D=\\angle O_{3} D O_{1}$. The line $B D$ is the radical axis of $\\omega_{1}$ and $\\omega_{3}$. Point $C$ belongs to the radical axis of $\\omega_{1}$ and $\\omega_{2}$, and $I$ also belongs to it since $A I \\cdot I F=B I \\cdot I E$. Hence $K=B D \\cap C I$ is the radical center of $\\omega_{1}$, $\\omega_{2}$, and $\\omega_{3}$, and $A K$ is the radical axis of $\\omega_{2}$ and $\\omega_{3}$. Now, the radical axes $A K, B K$ and $I K$ are perpendicular to the central lines $O_{3} D, O_{3} O_{1}$ and $O_{1} D$, respectively. By $\\angle O_{3} O_{1} D=\\angle O_{3} D O_{1}$, we get that $K I$ is the angle bisector of $\\angle A K B$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G6", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be a triangle with $A B=A C$, and let $D$ be the midpoint of $A C$. The angle bisector of $\\angle B A C$ intersects the circle through $D, B$, and $C$ in a point $E$ inside the triangle $A B C$. The line $B D$ intersects the circle through $A, E$, and $B$ in two points $B$ and $F$. The lines $A F$ and $B E$ meet at a point $I$, and the lines $C I$ and $B D$ meet at a point $K$. Show that $I$ is the incenter of triangle $K A B$.", "solution": "Again, let $M$ be the midpoint of $B C$. As in the previous solutions, we can deduce $\\angle A B I=\\angle I B K$. We show that the point $I$ lies on the angle bisector of $\\angle K A B$. Let $G$ be the intersection point of the circles $A F C$ and $B C D$, different from $C$. The lines $C G, A F$, and $B E$ are the radical axes of the three circles $A G F C, C D B$, and $A B F E$, so $I=A F \\cap B E$ is the radical center of the three circles and $C G$ also passes through $I$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-57.jpg?height=739&width=1570&top_left_y=350&top_left_x=243) The angle between line $D E$ and the tangent to the circle $B C D$ at $E$ is equal to $\\angle E B D=$ $\\angle E A F=\\angle A B E=\\angle A F E$. As the tangent at $E$ is perpendicular to $A M$, the line $D E$ is perpendicular to $A F$. The triangle $A F E$ is isosceles, so $D E$ is the perpendicular bisector of $A F$ and thus $A D=D F$. Hence, the point $D$ is the center of the circle $A F C$, and this circle passes through $M$ as well since $\\angle A M C=90^{\\circ}$. Let $B^{\\prime}$ be the reflection of $B$ in the point $D$, so $A B C B^{\\prime}$ is a parallelogram. Since $D C=D G$ we have $\\angle G C D=\\angle D B C=\\angle K B^{\\prime} A$. Hence, the quadrilateral $A K C B^{\\prime}$ is cyclic and thus $\\angle C A K=\\angle C B^{\\prime} K=\\angle A B D=2 \\angle M A I$. Then $$ \\angle I A B=\\angle M A B-\\angle M A I=\\frac{1}{2} \\angle C A B-\\frac{1}{2} \\angle C A K=\\frac{1}{2} \\angle K A B $$ and therefore $A I$ is the angle bisector of $\\angle K A B$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G7", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D E F$ be a convex hexagon all of whose sides are tangent to a circle $\\omega$ with center $O$. Suppose that the circumcircle of triangle $A C E$ is concentric with $\\omega$. Let $J$ be the foot of the perpendicular from $B$ to $C D$. Suppose that the perpendicular from $B$ to $D F$ intersects the line $E O$ at a point $K$. Let $L$ be the foot of the perpendicular from $K$ to $D E$. Prove that $D J=D L$.", "solution": "Since $\\omega$ and the circumcircle of triangle $A C E$ are concentric, the tangents from $A$, $C$, and $E$ to $\\omega$ have equal lengths; that means that $A B=B C, C D=D E$, and $E F=F A$. Moreover, we have $\\angle B C D=\\angle D E F=\\angle F A B$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-58.jpg?height=751&width=1374&top_left_y=935&top_left_x=338) Consider the rotation around point $D$ mapping $C$ to $E$; let $B^{\\prime}$ and $L^{\\prime}$ be the images of the points $B$ and $J$, respectively, under this rotation. Then one has $D J=D L^{\\prime}$ and $B^{\\prime} L^{\\prime} \\perp D E$; moreover, the triangles $B^{\\prime} E D$ and $B C D$ are congruent. Since $\\angle D E O<90^{\\circ}$, the lines $E O$ and $B^{\\prime} L^{\\prime}$ intersect at some point $K^{\\prime}$. We intend to prove that $K^{\\prime} B \\perp D F$; this would imply $K=K^{\\prime}$, therefore $L=L^{\\prime}$, which proves the problem statement. Analogously, consider the rotation around $F$ mapping $A$ to $E$; let $B^{\\prime \\prime}$ be the image of $B$ under this rotation. Then the triangles $F A B$ and $F E B^{\\prime \\prime}$ are congruent. We have $E B^{\\prime \\prime}=A B=B C=$ $E B^{\\prime}$ and $\\angle F E B^{\\prime \\prime}=\\angle F A B=\\angle B C D=\\angle D E B^{\\prime}$, so the points $B^{\\prime}$ and $B^{\\prime \\prime}$ are symmetrical with respect to the angle bisector $E O$ of $\\angle D E F$. So, from $K^{\\prime} B^{\\prime} \\perp D E$ we get $K^{\\prime} B^{\\prime \\prime} \\perp E F$. From these two relations we obtain $$ K^{\\prime} D^{2}-K^{\\prime} E^{2}=B^{\\prime} D^{2}-B^{\\prime} E^{2} \\quad \\text { and } \\quad K^{\\prime} E^{2}-K^{\\prime} F^{2}=B^{\\prime \\prime} E^{2}-B^{\\prime \\prime} F^{2} $$ Adding these equalities and taking into account that $B^{\\prime} E=B^{\\prime \\prime} E$ we obtain $$ K^{\\prime} D^{2}-K^{\\prime} F^{2}=B^{\\prime} D^{2}-B^{\\prime \\prime} F^{2}=B D^{2}-B F^{2}, $$ which means exactly that $K^{\\prime} B \\perp D F$. Comment. There are several variations of this solution. For instance, let us consider the intersection point $M$ of the lines $B J$ and $O C$. Define the point $K^{\\prime}$ as the reflection of $M$ in the line $D O$. Then one has $$ D K^{\\prime 2}-D B^{2}=D M^{2}-D B^{2}=C M^{2}-C B^{2} . $$ Next, consider the rotation around $O$ which maps $C M$ to $E K^{\\prime}$. Let $P$ be the image of $B$ under this rotation; so $P$ lies on $E D$. Then $E F \\perp K^{\\prime} P$, so $$ C M^{2}-C B^{2}=E K^{\\prime 2}-E P^{2}=F K^{\\prime 2}-F P^{2}=F K^{\\prime 2}-F B^{2}, $$ since the triangles $F E P$ and $F A B$ are congruent.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G7", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C D E F$ be a convex hexagon all of whose sides are tangent to a circle $\\omega$ with center $O$. Suppose that the circumcircle of triangle $A C E$ is concentric with $\\omega$. Let $J$ be the foot of the perpendicular from $B$ to $C D$. Suppose that the perpendicular from $B$ to $D F$ intersects the line $E O$ at a point $K$. Let $L$ be the foot of the perpendicular from $K$ to $D E$. Prove that $D J=D L$.", "solution": "Let us denote the points of tangency of $A B, B C, C D, D E, E F$, and $F A$ to $\\omega$ by $R, S, T, U, V$, and $W$, respectively. As in the previous solution, we mention that $A R=$ $A W=C S=C T=E U=E V$. The reflection in the line $B O$ maps $R$ to $S$, therefore $A$ to $C$ and thus also $W$ to $T$. Hence, both lines $R S$ and $W T$ are perpendicular to $O B$, therefore they are parallel. On the other hand, the lines $U V$ and $W T$ are not parallel, since otherwise the hexagon $A B C D E F$ is symmetric with respect to the line $B O$ and the lines defining the point $K$ coincide, which contradicts the conditions of the problem. Therefore we can consider the intersection point $Z$ of $U V$ and $W T$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-59.jpg?height=905&width=1108&top_left_y=1546&top_left_x=477) Next, we recall a well-known fact that the points $D, F, Z$ are collinear. Actually, $D$ is the pole of the line $U T, F$ is the pole of $V W$, and $Z=T W \\cap U V$; so all these points belong to the polar line of $T U \\cap V W$. Now, we put $O$ into the origin, and identify each point (say $X$ ) with the vector $\\overrightarrow{O X}$. So, from now on all the products of points refer to the scalar products of the corresponding vectors. Since $O K \\perp U Z$ and $O B \\perp T Z$, we have $K \\cdot(Z-U)=0=B \\cdot(Z-T)$. Next, the condition $B K \\perp D Z$ can be written as $K \\cdot(D-Z)=B \\cdot(D-Z)$. Adding these two equalities we get $$ K \\cdot(D-U)=B \\cdot(D-T) . $$ By symmetry, we have $D \\cdot(D-U)=D \\cdot(D-T)$. Subtracting this from the previous equation, we obtain $(K-D) \\cdot(D-U)=(B-D) \\cdot(D-T)$ and rewrite it in vector form as $$ \\overrightarrow{D K} \\cdot \\overrightarrow{U D}=\\overrightarrow{D B} \\cdot \\overrightarrow{T D} $$ Finally, projecting the vectors $\\overrightarrow{D K}$ and $\\overrightarrow{D B}$ onto the lines $U D$ and $T D$ respectively, we can rewrite this equality in terms of segment lengths as $D L \\cdot U D=D J \\cdot T D$, thus $D L=D J$. Comment. The collinearity of $Z, F$, and $D$ may be shown in various more elementary ways. For instance, applying the sine theorem to the triangles $D T Z$ and $D U Z$, one gets $\\frac{\\sin \\angle D Z T}{\\sin \\angle D Z U}=\\frac{\\sin \\angle D T Z}{\\sin \\angle D U Z}$; analogously, $\\frac{\\sin \\angle F Z W}{\\sin \\angle F Z V}=\\frac{\\sin \\angle F W Z}{\\sin \\angle F V Z}$. The right-hand sides are equal, hence so are the left-hand sides, which implies the collinearity of the points $D, F$, and $Z$. There also exist purely synthetic proofs of this fact. E.g., let $Q$ be the point of intersection of the circumcircles of the triangles $Z T V$ and $Z W U$ different from $Z$. Then $Q Z$ is the bisector of $\\angle V Q W$ since $\\angle V Q Z=\\angle V T Z=\\angle V U W=\\angle Z Q W$. Moreover, all these angles are equal to $\\frac{1}{2} \\angle V O W$, so $\\angle V Q W=\\angle V O W$, hence the quadrilateral $V W O Q$ is cyclic. On the other hand, the points $O$, $V, W$ lie on the circle with diameter $O F$ due to the right angles; so $Q$ also belongs to this circle. Since $F V=F W, Q F$ is also the bisector of $\\angle V Q W$, so $F$ lies on $Q Z$. Analogously, $D$ lies on the same line.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G8", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle with circumcircle $\\omega$. Let $t$ be a tangent line to $\\omega$. Let $t_{a}, t_{b}$, and $t_{c}$ be the lines obtained by reflecting $t$ in the lines $B C, C A$, and $A B$, respectively. Show that the circumcircle of the triangle determined by the lines $t_{a}, t_{b}$, and $t_{c}$ is tangent to the circle $\\omega$.", "solution": "Denote by $T$ the point of tangency of $t$ and $\\omega$. Let $A^{\\prime}=t_{b} \\cap t_{c}, B^{\\prime}=t_{a} \\cap t_{c}$, $C^{\\prime}=t_{a} \\cap t_{b}$. Introduce the point $A^{\\prime \\prime}$ on $\\omega$ such that $T A=A A^{\\prime \\prime}\\left(A^{\\prime \\prime} \\neq T\\right.$ unless $T A$ is a diameter). Define the points $B^{\\prime \\prime}$ and $C^{\\prime \\prime}$ in a similar way. Since the points $C$ and $B$ are the midpoints of arcs $T C^{\\prime \\prime}$ and $T B^{\\prime \\prime}$, respectively, we have $$ \\begin{aligned} \\angle\\left(t, B^{\\prime \\prime} C^{\\prime \\prime}\\right) & =\\angle\\left(t, T C^{\\prime \\prime}\\right)+\\angle\\left(T C^{\\prime \\prime}, B^{\\prime \\prime} C^{\\prime \\prime}\\right)=2 \\angle(t, T C)+2 \\angle\\left(T C^{\\prime \\prime}, B C^{\\prime \\prime}\\right) \\\\ & =2(\\angle(t, T C)+\\angle(T C, B C))=2 \\angle(t, B C)=\\angle\\left(t, t_{a}\\right) . \\end{aligned} $$ It follows that $t_{a}$ and $B^{\\prime \\prime} C^{\\prime \\prime}$ are parallel. Similarly, $t_{b} \\| A^{\\prime \\prime} C^{\\prime \\prime}$ and $t_{c} \\| A^{\\prime \\prime} B^{\\prime \\prime}$. Thus, either the triangles $A^{\\prime} B^{\\prime} C^{\\prime}$ and $A^{\\prime \\prime} B^{\\prime \\prime} C^{\\prime \\prime}$ are homothetic, or they are translates of each other. Now we will prove that they are in fact homothetic, and that the center $K$ of the homothety belongs to $\\omega$. It would then follow that their circumcircles are also homothetic with respect to $K$ and are therefore tangent at this point, as desired. We need the two following claims. Claim 1. The point of intersection $X$ of the lines $B^{\\prime \\prime} C$ and $B C^{\\prime \\prime}$ lies on $t_{a}$. Proof. Actually, the points $X$ and $T$ are symmetric about the line $B C$, since the lines $C T$ and $C B^{\\prime \\prime}$ are symmetric about this line, as are the lines $B T$ and $B C^{\\prime \\prime}$. Claim 2. The point of intersection $I$ of the lines $B B^{\\prime}$ and $C C^{\\prime}$ lies on the circle $\\omega$. Proof. We consider the case that $t$ is not parallel to the sides of $A B C$; the other cases may be regarded as limit cases. Let $D=t \\cap B C, E=t \\cap A C$, and $F=t \\cap A B$. Due to symmetry, the line $D B$ is one of the angle bisectors of the lines $B^{\\prime} D$ and $F D$; analogously, the line $F B$ is one of the angle bisectors of the lines $B^{\\prime} F$ and $D F$. So $B$ is either the incenter or one of the excenters of the triangle $B^{\\prime} D F$. In any case we have $\\angle(B D, D F)+\\angle(D F, F B)+$ $\\angle\\left(B^{\\prime} B, B^{\\prime} D\\right)=90^{\\circ}$, so $$ \\angle\\left(B^{\\prime} B, B^{\\prime} C^{\\prime}\\right)=\\angle\\left(B^{\\prime} B, B^{\\prime} D\\right)=90^{\\circ}-\\angle(B C, D F)-\\angle(D F, B A)=90^{\\circ}-\\angle(B C, A B) \\text {. } $$ Analogously, we get $\\angle\\left(C^{\\prime} C, B^{\\prime} C^{\\prime}\\right)=90^{\\circ}-\\angle(B C, A C)$. Hence, $$ \\angle(B I, C I)=\\angle\\left(B^{\\prime} B, B^{\\prime} C^{\\prime}\\right)+\\angle\\left(B^{\\prime} C^{\\prime}, C^{\\prime} C\\right)=\\angle(B C, A C)-\\angle(B C, A B)=\\angle(A B, A C), $$ which means exactly that the points $A, B, I, C$ are concyclic. Now we can complete the proof. Let $K$ be the second intersection point of $B^{\\prime} B^{\\prime \\prime}$ and $\\omega$. Applying PASCAL's theorem to hexagon $K B^{\\prime \\prime} C I B C^{\\prime \\prime}$ we get that the points $B^{\\prime}=K B^{\\prime \\prime} \\cap I B$ and $X=B^{\\prime \\prime} C \\cap B C^{\\prime \\prime}$ are collinear with the intersection point $S$ of $C I$ and $C^{\\prime \\prime} K$. So $S=$ $C I \\cap B^{\\prime} X=C^{\\prime}$, and the points $C^{\\prime}, C^{\\prime \\prime}, K$ are collinear. Thus $K$ is the intersection point of $B^{\\prime} B^{\\prime \\prime}$ and $C^{\\prime} C^{\\prime \\prime}$ which implies that $K$ is the center of the homothety mapping $A^{\\prime} B^{\\prime} C^{\\prime}$ to $A^{\\prime \\prime} B^{\\prime \\prime} C^{\\prime \\prime}$, and it belongs to $\\omega$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G8", "problem_type": "Geometry", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle with circumcircle $\\omega$. Let $t$ be a tangent line to $\\omega$. Let $t_{a}, t_{b}$, and $t_{c}$ be the lines obtained by reflecting $t$ in the lines $B C, C A$, and $A B$, respectively. Show that the circumcircle of the triangle determined by the lines $t_{a}, t_{b}$, and $t_{c}$ is tangent to the circle $\\omega$.", "solution": "Define the points $T, A^{\\prime}, B^{\\prime}$, and $C^{\\prime}$ in the same way as in the previous solution. Let $X, Y$, and $Z$ be the symmetric images of $T$ about the lines $B C, C A$, and $A B$, respectively. Note that the projections of $T$ on these lines form a Simson line of $T$ with respect to $A B C$, therefore the points $X, Y, Z$ are also collinear. Moreover, we have $X \\in B^{\\prime} C^{\\prime}, Y \\in C^{\\prime} A^{\\prime}$, $Z \\in A^{\\prime} B^{\\prime}$. Denote $\\alpha=\\angle(t, T C)=\\angle(B T, B C)$. Using the symmetry in the lines $A C$ and $B C$, we get $$ \\angle(B C, B X)=\\angle(B T, B C)=\\alpha \\quad \\text { and } \\quad \\angle\\left(X C, X C^{\\prime}\\right)=\\angle(t, T C)=\\angle\\left(Y C, Y C^{\\prime}\\right)=\\alpha . $$ Since $\\angle\\left(X C, X C^{\\prime}\\right)=\\angle\\left(Y C, Y C^{\\prime}\\right)$, the points $X, Y, C, C^{\\prime}$ lie on some circle $\\omega_{c}$. Define the circles $\\omega_{a}$ and $\\omega_{b}$ analogously. Let $\\omega^{\\prime}$ be the circumcircle of triangle $A^{\\prime} B^{\\prime} C^{\\prime}$. Now, applying Miquel's theorem to the four lines $A^{\\prime} B^{\\prime}, A^{\\prime} C^{\\prime}, B^{\\prime} C^{\\prime}$, and $X Y$, we obtain that the circles $\\omega^{\\prime}, \\omega_{a}, \\omega_{b}, \\omega_{c}$ intersect at some point $K$. We will show that $K$ lies on $\\omega$, and that the tangent lines to $\\omega$ and $\\omega^{\\prime}$ at this point coincide; this implies the problem statement. Due to symmetry, we have $X B=T B=Z B$, so the point $B$ is the midpoint of one of the $\\operatorname{arcs} X Z$ of circle $\\omega_{b}$. Therefore $\\angle(K B, K X)=\\angle(X Z, X B)$. Analogously, $\\angle(K X, K C)=$ $\\angle(X C, X Y)$. Adding these equalities and using the symmetry in the line $B C$ we get $$ \\angle(K B, K C)=\\angle(X Z, X B)+\\angle(X C, X Z)=\\angle(X C, X B)=\\angle(T B, T C) . $$ Therefore, $K$ lies on $\\omega$. Next, let $k$ be the tangent line to $\\omega$ at $K$. We have $$ \\begin{aligned} \\angle\\left(k, K C^{\\prime}\\right) & =\\angle(k, K C)+\\angle\\left(K C, K C^{\\prime}\\right)=\\angle(K B, B C)+\\angle\\left(X C, X C^{\\prime}\\right) \\\\ & =(\\angle(K B, B X)-\\angle(B C, B X))+\\alpha=\\angle\\left(K B^{\\prime}, B^{\\prime} X\\right)-\\alpha+\\alpha=\\angle\\left(K B^{\\prime}, B^{\\prime} C^{\\prime}\\right), \\end{aligned} $$ which means exactly that $k$ is tangent to $\\omega^{\\prime}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-63.jpg?height=1165&width=1219&top_left_y=1185&top_left_x=424) Comment. There exist various solutions combining the ideas from the two solutions presented above. For instance, one may define the point $X$ as the reflection of $T$ with respect to the line $B C$, and then introduce the point $K$ as the second intersection point of the circumcircles of $B B^{\\prime} X$ and $C C^{\\prime} X$. Using the fact that $B B^{\\prime}$ and $C C^{\\prime}$ are the bisectors of $\\angle\\left(A^{\\prime} B^{\\prime}, B^{\\prime} C^{\\prime}\\right)$ and $\\angle\\left(A^{\\prime} C^{\\prime}, B^{\\prime} C^{\\prime}\\right)$ one can show successively that $K \\in \\omega, K \\in \\omega^{\\prime}$, and that the tangents to $\\omega$ and $\\omega^{\\prime}$ at $K$ coincide.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For any integer $d>0$, let $f(d)$ be the smallest positive integer that has exactly $d$ positive divisors (so for example we have $f(1)=1, f(5)=16$, and $f(6)=12$ ). Prove that for every integer $k \\geq 0$ the number $f\\left(2^{k}\\right)$ divides $f\\left(2^{k+1}\\right)$.", "solution": "For any positive integer $n$, let $d(n)$ be the number of positive divisors of $n$. Let $n=\\prod_{p} p^{a(p)}$ be the prime factorization of $n$ where $p$ ranges over the prime numbers, the integers $a(p)$ are nonnegative and all but finitely many $a(p)$ are zero. Then we have $d(n)=\\prod_{p}(a(p)+1)$. Thus, $d(n)$ is a power of 2 if and only if for every prime $p$ there is a nonnegative integer $b(p)$ with $a(p)=2^{b(p)}-1=1+2+2^{2}+\\cdots+2^{b(p)-1}$. We then have $$ n=\\prod_{p} \\prod_{i=0}^{b(p)-1} p^{2^{i}}, \\quad \\text { and } \\quad d(n)=2^{k} \\quad \\text { with } \\quad k=\\sum_{p} b(p) $$ Let $\\mathcal{S}$ be the set of all numbers of the form $p^{2^{r}}$ with $p$ prime and $r$ a nonnegative integer. Then we deduce that $d(n)$ is a power of 2 if and only if $n$ is the product of the elements of some finite subset $\\mathcal{T}$ of $\\mathcal{S}$ that satisfies the following condition: for all $t \\in \\mathcal{T}$ and $s \\in \\mathcal{S}$ with $s \\mid t$ we have $s \\in \\mathcal{T}$. Moreover, if $d(n)=2^{k}$ then the corresponding set $\\mathcal{T}$ has $k$ elements. Note that the set $\\mathcal{T}_{k}$ consisting of the smallest $k$ elements from $\\mathcal{S}$ obviously satisfies the condition above. Thus, given $k$, the smallest $n$ with $d(n)=2^{k}$ is the product of the elements of $\\mathcal{T}_{k}$. This $n$ is $f\\left(2^{k}\\right)$. Since obviously $\\mathcal{T}_{k} \\subset \\mathcal{T}_{k+1}$, it follows that $f\\left(2^{k}\\right) \\mid f\\left(2^{k+1}\\right)$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For any integer $d>0$, let $f(d)$ be the smallest positive integer that has exactly $d$ positive divisors (so for example we have $f(1)=1, f(5)=16$, and $f(6)=12$ ). Prove that for every integer $k \\geq 0$ the number $f\\left(2^{k}\\right)$ divides $f\\left(2^{k+1}\\right)$.", "solution": "This is an alternative to the second part of the $$ m=p^{2^{b(p)}}>q^{2^{b(q)-1}}=\\ell . $$ To see this, note first that $\\ell$ divides $f\\left(2^{k}\\right)$. With the first part of Solution 1 one can see that the integer $n=f\\left(2^{k}\\right) m / \\ell$ also satisfies $d(n)=2^{k}$. By the definition of $f\\left(2^{k}\\right)$ this implies that $n \\geq f\\left(2^{k}\\right)$ so $m \\geq \\ell$. Since $p \\neq q$ the inequality (1) follows. Let the prime factorization of $f\\left(2^{k+1}\\right)$ be given by $f\\left(2^{k+1}\\right)=\\prod_{p} p^{r(p)}$ with $r(p)=2^{s(p)}-1$. Since we have $\\sum_{p} s(p)=k+1>k=\\sum_{p} b(p)$ there is a prime $p$ with $s(p)>b(p)$. For any prime $q \\neq p$ with $b(q)>0$ we apply inequality (1) twice and get $$ q^{2^{s(q)}}>p^{2^{s(p)-1}} \\geq p^{2^{b(p)}}>q^{2^{b(q)-1}} $$ which implies $s(q) \\geq b(q)$. It follows that $s(q) \\geq b(q)$ for all primes $q$, so $f\\left(2^{k}\\right) \\mid f\\left(2^{k+1}\\right)$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Consider a polynomial $P(x)=\\left(x+d_{1}\\right)\\left(x+d_{2}\\right) \\cdot \\ldots \\cdot\\left(x+d_{9}\\right)$, where $d_{1}, d_{2}, \\ldots, d_{9}$ are nine distinct integers. Prove that there exists an integer $N$ such that for all integers $x \\geq N$ the number $P(x)$ is divisible by a prime number greater than 20 .", "solution": "Note that the statement of the problem is invariant under translations of $x$; hence without loss of generality we may suppose that the numbers $d_{1}, d_{2}, \\ldots, d_{9}$ are positive. The key observation is that there are only eight primes below 20, while $P(x)$ involves more than eight factors. We shall prove that $N=d^{8}$ satisfies the desired property, where $d=\\max \\left\\{d_{1}, d_{2}, \\ldots, d_{9}\\right\\}$. Suppose for the sake of contradiction that there is some integer $x \\geq N$ such that $P(x)$ is composed of primes below 20 only. Then for every index $i \\in\\{1,2, \\ldots, 9\\}$ the number $x+d_{i}$ can be expressed as product of powers of the first 8 primes. Since $x+d_{i}>x \\geq d^{8}$ there is some prime power $f_{i}>d$ that divides $x+d_{i}$. Invoking the pigeonhole principle we see that there are two distinct indices $i$ and $j$ such that $f_{i}$ and $f_{j}$ are powers of the same prime number. For reasons of symmetry, we may suppose that $f_{i} \\leq f_{j}$. Now both of the numbers $x+d_{i}$ and $x+d_{j}$ are divisible by $f_{i}$ and hence so is their difference $d_{i}-d_{j}$. But as $$ 0<\\left|d_{i}-d_{j}\\right| \\leq \\max \\left(d_{i}, d_{j}\\right) \\leq d<f_{i} $$ this is impossible. Thereby the problem is solved.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Consider a polynomial $P(x)=\\left(x+d_{1}\\right)\\left(x+d_{2}\\right) \\cdot \\ldots \\cdot\\left(x+d_{9}\\right)$, where $d_{1}, d_{2}, \\ldots, d_{9}$ are nine distinct integers. Prove that there exists an integer $N$ such that for all integers $x \\geq N$ the number $P(x)$ is divisible by a prime number greater than 20 .", "solution": "Observe that for each index $i \\in\\{1,2, \\ldots, 9\\}$ the product $$ D_{i}=\\prod_{1 \\leq j \\leq 9, j \\neq i}\\left|d_{i}-d_{j}\\right| $$ is positive. We claim that $N=\\max \\left\\{D_{1}-d_{1}, D_{2}-d_{2}, \\ldots, D_{9}-d_{9}\\right\\}+1$ satisfies the statement of the problem. Suppose there exists an integer $x \\geq N$ such that all primes dividing $P(x)$ are smaller than 20. For each index $i$ we reduce the fraction $\\left(x+d_{i}\\right) / D_{i}$ to lowest terms. Since $x+d_{i}>D_{i}$ the numerator of the fraction we thereby get cannot be 1 , and hence it has to be divisible by some prime number $p_{i}<20$. By the pigeonhole principle, there are a prime number $p$ and two distinct indices $i$ and $j$ such that $p_{i}=p_{j}=p$. Let $p^{\\alpha_{i}}$ and $p^{\\alpha_{j}}$ be the greatest powers of $p$ dividing $x+d_{i}$ and $x+d_{j}$, respectively. Due to symmetry we may suppose $\\alpha_{i} \\leq \\alpha_{j}$. But now $p^{\\alpha_{i}}$ divides $d_{i}-d_{j}$ and hence also $D_{i}$, which means that all occurrences of $p$ in the numerator of the fraction $\\left(x+d_{i}\\right) / D_{i}$ cancel out, contrary to the choice of $p=p_{i}$. This contradiction proves our claim.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Consider a polynomial $P(x)=\\left(x+d_{1}\\right)\\left(x+d_{2}\\right) \\cdot \\ldots \\cdot\\left(x+d_{9}\\right)$, where $d_{1}, d_{2}, \\ldots, d_{9}$ are nine distinct integers. Prove that there exists an integer $N$ such that for all integers $x \\geq N$ the number $P(x)$ is divisible by a prime number greater than 20 .", "solution": "Given a nonzero integer $N$ as well as a prime number $p$ we write $v_{p}(N)$ for the exponent with which $p$ occurs in the prime factorization of $|N|$. Evidently, if the statement of the problem were not true, then there would exist an infinite sequence $\\left(x_{n}\\right)$ of positive integers tending to infinity such that for each $n \\in \\mathbb{Z}_{+}$the integer $P\\left(x_{n}\\right)$ is not divisible by any prime number $>20$. Observe that the numbers $-d_{1},-d_{2}, \\ldots,-d_{9}$ do not appear in this sequence. Now clearly there exists a prime $p_{1}<20$ for which the sequence $v_{p_{1}}\\left(x_{n}+d_{1}\\right)$ is not bounded; thinning out the sequence $\\left(x_{n}\\right)$ if necessary we may even suppose that $$ v_{p_{1}}\\left(x_{n}+d_{1}\\right) \\longrightarrow \\infty . $$ Repeating this argument eight more times we may similarly choose primes $p_{2}, \\ldots, p_{9}<20$ and suppose that our sequence $\\left(x_{n}\\right)$ has been thinned out to such an extent that $v_{p_{i}}\\left(x_{n}+d_{i}\\right) \\longrightarrow \\infty$ holds for $i=2, \\ldots, 9$ as well. In view of the pigeonhole principle, there are distinct indices $i$ and $j$ as well as a prime $p<20$ such that $p_{i}=p_{j}=p$. Setting $k=v_{p}\\left(d_{i}-d_{j}\\right)$ there now has to be some $n$ for which both $v_{p}\\left(x_{n}+d_{i}\\right)$ and $v_{p}\\left(x_{n}+d_{j}\\right)$ are greater than $k$. But now the numbers $x_{n}+d_{i}$ and $x_{n}+d_{j}$ are divisible by $p^{k+1}$ whilst their difference $d_{i}-d_{j}$ is not - a contradiction. Comment. This problem is supposed to be a relatively easy one, so one might consider adding the hypothesis that the numbers $d_{1}, d_{2}, \\ldots, d_{9}$ be positive. Then certain merely technical issues are not going to arise while the main ideas required to solve the problems remain the same. Let $n \\geq 1$ be an odd integer. Determine all functions $f$ from the set of integers to itself such that for all integers $x$ and $y$ the difference $f(x)-f(y)$ divides $x^{n}-y^{n}$. Answer. All functions $f$ of the form $f(x)=\\varepsilon x^{d}+c$, where $\\varepsilon$ is in $\\{1,-1\\}$, the integer $d$ is a positive divisor of $n$, and $c$ is an integer.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Consider a polynomial $P(x)=\\left(x+d_{1}\\right)\\left(x+d_{2}\\right) \\cdot \\ldots \\cdot\\left(x+d_{9}\\right)$, where $d_{1}, d_{2}, \\ldots, d_{9}$ are nine distinct integers. Prove that there exists an integer $N$ such that for all integers $x \\geq N$ the number $P(x)$ is divisible by a prime number greater than 20 .", "solution": "Obviously, all functions in the answer satisfy the condition of the problem. We will show that there are no other functions satisfying that condition. Let $f$ be a function satisfying the given condition. For each integer $n$, the function $g$ defined by $g(x)=f(x)+n$ also satisfies the same condition. Therefore, by subtracting $f(0)$ from $f(x)$ we may assume that $f(0)=0$. For any prime $p$, the condition on $f$ with $(x, y)=(p, 0)$ states that $f(p)$ divides $p^{n}$. Since the set of primes is infinite, there exist integers $d$ and $\\varepsilon$ with $0 \\leq d \\leq n$ and $\\varepsilon \\in\\{1,-1\\}$ such that for infinitely many primes $p$ we have $f(p)=\\varepsilon p^{d}$. Denote the set of these primes by $P$. Since a function $g$ satisfies the given condition if and only if $-g$ satisfies the same condition, we may suppose $\\varepsilon=1$. The case $d=0$ is easily ruled out, because 0 does not divide any nonzero integer. Suppose $d \\geq 1$ and write $n$ as $m d+r$, where $m$ and $r$ are integers such that $m \\geq 1$ and $0 \\leq r \\leq d-1$. Let $x$ be an arbitrary integer. For each prime $p$ in $P$, the difference $f(p)-f(x)$ divides $p^{n}-x^{n}$. Using the equality $f(p)=p^{d}$, we get $$ p^{n}-x^{n}=p^{r}\\left(p^{d}\\right)^{m}-x^{n} \\equiv p^{r} f(x)^{m}-x^{n} \\equiv 0 \\quad\\left(\\bmod p^{d}-f(x)\\right) $$ Since we have $r<d$, for large enough primes $p \\in P$ we obtain $$ \\left|p^{r} f(x)^{m}-x^{n}\\right|<p^{d}-f(x) . $$ Hence $p^{r} f(x)^{m}-x^{n}$ has to be zero. This implies $r=0$ and $x^{n}=\\left(x^{d}\\right)^{m}=f(x)^{m}$. Since $m$ is odd, we obtain $f(x)=x^{d}$. Comment. If $n$ is an even positive integer, then the functions $f$ of the form $$ f(x)=\\left\\{\\begin{array}{l} x^{d}+c \\text { for some integers, } \\\\ -x^{d}+c \\text { for the rest of integers } \\end{array}\\right. $$ where $d$ is a positive divisor of $n / 2$ and $c$ is an integer, also satisfy the condition of the problem. Together with the functions in the answer, they are all functions that satisfy the condition when $n$ is even.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n \\geq 1$ be an odd integer. Determine all functions $f$ from the set of integers to itself such that for all integers $x$ and $y$ the difference $f(x)-f(y)$ divides $x^{n}-y^{n}$.", "solution": null, "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N4", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For each positive integer $k$, let $t(k)$ be the largest odd divisor of $k$. Determine all positive integers $a$ for which there exists a positive integer $n$ such that all the differences $$ t(n+a)-t(n), \\quad t(n+a+1)-t(n+1), \\quad \\ldots, \\quad t(n+2 a-1)-t(n+a-1) $$ are divisible by 4 .", "solution": "A pair $(a, n)$ satisfying the condition of the problem will be called a winning pair. It is straightforward to check that the pairs $(1,1),(3,1)$, and $(5,4)$ are winning pairs. Now suppose that $a$ is a positive integer not equal to 1,3 , and 5 . We will show that there are no winning pairs $(a, n)$ by distinguishing three cases. Case 1: $a$ is even. In this case we have $a=2^{\\alpha} d$ for some positive integer $\\alpha$ and some odd $d$. Since $a \\geq 2^{\\alpha}$, for each positive integer $n$ there exists an $i \\in\\{0,1, \\ldots, a-1\\}$ such that $n+i=2^{\\alpha-1} e$, where $e$ is some odd integer. Then we have $t(n+i)=t\\left(2^{\\alpha-1} e\\right)=e$ and $$ t(n+a+i)=t\\left(2^{\\alpha} d+2^{\\alpha-1} e\\right)=2 d+e \\equiv e+2 \\quad(\\bmod 4) . $$ So we get $t(n+i)-t(n+a+i) \\equiv 2(\\bmod 4)$, and $(a, n)$ is not a winning pair. Case 2: $a$ is odd and $a>8$. For each positive integer $n$, there exists an $i \\in\\{0,1, \\ldots, a-5\\}$ such that $n+i=2 d$ for some odd $d$. We get $$ t(n+i)=d \\not \\equiv d+2=t(n+i+4) \\quad(\\bmod 4) $$ and $$ t(n+a+i)=n+a+i \\equiv n+a+i+4=t(n+a+i+4) \\quad(\\bmod 4) $$ Therefore, the integers $t(n+a+i)-t(n+i)$ and $t(n+a+i+4)-t(n+i+4)$ cannot be both divisible by 4 , and therefore there are no winning pairs in this case. Case 3: $a=7$. For each positive integer $n$, there exists an $i \\in\\{0,1, \\ldots, 6\\}$ such that $n+i$ is either of the form $8 k+3$ or of the form $8 k+6$, where $k$ is a nonnegative integer. But we have $$ t(8 k+3) \\equiv 3 \\not \\equiv 1 \\equiv 4 k+5=t(8 k+3+7) \\quad(\\bmod 4) $$ and $$ t(8 k+6)=4 k+3 \\equiv 3 \\not \\equiv 1 \\equiv t(8 k+6+7) \\quad(\\bmod 4) . $$ Hence, there are no winning pairs of the form $(7, n)$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N5", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $f$ be a function from the set of integers to the set of positive integers. Suppose that for any two integers $m$ and $n$, the difference $f(m)-f(n)$ is divisible by $f(m-n)$. Prove that for all integers $m, n$ with $f(m) \\leq f(n)$ the number $f(n)$ is divisible by $f(m)$.", "solution": "Suppose that $x$ and $y$ are two integers with $f(x)<f(y)$. We will show that $f(x) \\mid f(y)$. By taking $m=x$ and $n=y$ we see that $$ f(x-y)|| f(x)-f(y) \\mid=f(y)-f(x)>0 $$ so $f(x-y) \\leq f(y)-f(x)<f(y)$. Hence the number $d=f(x)-f(x-y)$ satisfies $$ -f(y)<-f(x-y)<d<f(x)<f(y) . $$ Taking $m=x$ and $n=x-y$ we see that $f(y) \\mid d$, so we deduce $d=0$, or in other words $f(x)=f(x-y)$. Taking $m=x$ and $n=y$ we see that $f(x)=f(x-y) \\mid f(x)-f(y)$, which implies $f(x) \\mid f(y)$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N5", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $f$ be a function from the set of integers to the set of positive integers. Suppose that for any two integers $m$ and $n$, the difference $f(m)-f(n)$ is divisible by $f(m-n)$. Prove that for all integers $m, n$ with $f(m) \\leq f(n)$ the number $f(n)$ is divisible by $f(m)$.", "solution": "We split the solution into a sequence of claims; in each claim, the letters $m$ and $n$ denote arbitrary integers. Claim 1. $f(n) \\mid f(m n)$. Proof. Since trivially $f(n) \\mid f(1 \\cdot n)$ and $f(n) \\mid f((k+1) n)-f(k n)$ for all integers $k$, this is easily seen by using induction on $m$ in both directions. Claim 2. $f(n) \\mid f(0)$ and $f(n)=f(-n)$. Proof. The first part follows by plugging $m=0$ into Claim 1. Using Claim 1 twice with $m=-1$, we get $f(n)|f(-n)| f(n)$, from which the second part follows. From Claim 1, we get $f(1) \\mid f(n)$ for all integers $n$, so $f(1)$ is the minimal value attained by $f$. Next, from Claim 2, the function $f$ can attain only a finite number of values since all these values divide $f(0)$. Now we prove the statement of the problem by induction on the number $N_{f}$ of values attained by $f$. In the base case $N_{f} \\leq 2$, we either have $f(0) \\neq f(1)$, in which case these two numbers are the only values attained by $f$ and the statement is clear, or we have $f(0)=f(1)$, in which case we have $f(1)|f(n)| f(0)$ for all integers $n$, so $f$ is constant and the statement is obvious again. For the induction step, assume that $N_{f} \\geq 3$, and let $a$ be the least positive integer with $f(a)>f(1)$. Note that such a number exists due to the symmetry of $f$ obtained in Claim 2. Claim 3. $f(n) \\neq f(1)$ if and only if $a \\mid n$. Proof. Since $f(1)=\\cdots=f(a-1)<f(a)$, the claim follows from the fact that $$ f(n)=f(1) \\Longleftrightarrow f(n+a)=f(1) . $$ So it suffices to prove this fact. Assume that $f(n)=f(1)$. Then $f(n+a) \\mid f(a)-f(-n)=f(a)-f(n)>0$, so $f(n+a) \\leq$ $f(a)-f(n)<f(a)$; in particular the difference $f(n+a)-f(n)$ is stricly smaller than $f(a)$. Furthermore, this difference is divisible by $f(a)$ and nonnegative since $f(n)=f(1)$ is the least value attained by $f$. So we have $f(n+a)-f(n)=0$, as desired. For the converse direction we only need to remark that $f(n+a)=f(1)$ entails $f(-n-a)=f(1)$, and hence $f(n)=f(-n)=f(1)$ by the forward implication. We return to the induction step. So let us take two arbitrary integers $m$ and $n$ with $f(m) \\leq f(n)$. If $a \\nmid m$, then we have $f(m)=f(1) \\mid f(n)$. On the other hand, suppose that $a \\mid m$; then by Claim $3 a \\mid n$ as well. Now define the function $g(x)=f(a x)$. Clearly, $g$ satisfies the conditions of the problem, but $N_{g}<N_{f}-1$, since $g$ does not attain $f(1)$. Hence, by the induction hypothesis, $f(m)=g(m / a) \\mid g(n / a)=f(n)$, as desired. Comment. After the fact that $f$ attains a finite number of values has been established, there are several ways of finishing the solution. For instance, let $f(0)=b_{1}>b_{2}>\\cdots>b_{k}$ be all these values. One may show (essentially in the same way as in Claim 3) that the set $S_{i}=\\left\\{n: f(n) \\geq b_{i}\\right\\}$ consists exactly of all numbers divisible by some integer $a_{i} \\geq 0$. One obviously has $a_{i} \\mid a_{i-1}$, which implies $f\\left(a_{i}\\right) \\mid f\\left(a_{i-1}\\right)$ by Claim 1. So, $b_{k}\\left|b_{k-1}\\right| \\cdots \\mid b_{1}$, thus proving the problem statement. Moreover, now it is easy to describe all functions satisfying the conditions of the problem. Namely, all these functions can be constructed as follows. Consider a sequence of nonnegative integers $a_{1}, a_{2}, \\ldots, a_{k}$ and another sequence of positive integers $b_{1}, b_{2}, \\ldots, b_{k}$ such that $\\left|a_{k}\\right|=1, a_{i} \\neq a_{j}$ and $b_{i} \\neq b_{j}$ for all $1 \\leq i<j \\leq k$, and $a_{i} \\mid a_{i-1}$ and $b_{i} \\mid b_{i-1}$ for all $i=2, \\ldots, k$. Then one may introduce the function $$ f(n)=b_{i(n)}, \\quad \\text { where } \\quad i(n)=\\min \\left\\{i: a_{i} \\mid n\\right\\} $$ These are all the functions which satisfy the conditions of the problem.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N6", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $P(x)$ and $Q(x)$ be two polynomials with integer coefficients such that no nonconstant polynomial with rational coefficients divides both $P(x)$ and $Q(x)$. Suppose that for every positive integer $n$ the integers $P(n)$ and $Q(n)$ are positive, and $2^{Q(n)}-1$ divides $3^{P(n)}-1$. Prove that $Q(x)$ is a constant polynomial.", "solution": "First we show that there exists an integer $d$ such that for all positive integers $n$ we have $\\operatorname{gcd}(P(n), Q(n)) \\leq d$. Since $P(x)$ and $Q(x)$ are coprime (over the polynomials with rational coefficients), EuCLID's algorithm provides some polynomials $R_{0}(x), S_{0}(x)$ with rational coefficients such that $P(x) R_{0}(x)-$ $Q(x) S_{0}(x)=1$. Multiplying by a suitable positive integer $d$, we obtain polynomials $R(x)=$ $d \\cdot R_{0}(x)$ and $S(x)=d \\cdot S_{0}(x)$ with integer coefficients for which $P(x) R(x)-Q(x) S(x)=d$. Then we have $\\operatorname{gcd}(P(n), Q(n)) \\leq d$ for any integer $n$. To prove the problem statement, suppose that $Q(x)$ is not constant. Then the sequence $Q(n)$ is not bounded and we can choose a positive integer $m$ for which $$ M=2^{Q(m)}-1 \\geq 3^{\\max \\{P(1), P(2), \\ldots, P(d)\\}} $$ Since $M=2^{Q(n)}-1 \\mid 3^{P(n)}-1$, we have $2,3 \\not M$. Let $a$ and $b$ be the multiplicative orders of 2 and 3 modulo $M$, respectively. Obviously, $a=Q(m)$ since the lower powers of 2 do not reach $M$. Since $M$ divides $3^{P(m)}-1$, we have $b \\mid P(m)$. Then $\\operatorname{gcd}(a, b) \\leq \\operatorname{gcd}(P(m), Q(m)) \\leq d$. Since the expression $a x$ - by attains all integer values divisible by $\\operatorname{gcd}(a, b)$ when $x$ and $y$ run over all nonnegative integer values, there exist some nonnegative integers $x, y$ such that $1 \\leq m+a x-b y \\leq d$. By $Q(m+a x) \\equiv Q(m)(\\bmod a)$ we have $$ 2^{Q(m+a x)} \\equiv 2^{Q(m)} \\equiv 1 \\quad(\\bmod M) $$ and therefore $$ M\\left|2^{Q(m+a x)}-1\\right| 3^{P(m+a x)}-1 . $$ Then, by $P(m+a x-b y) \\equiv P(m+a x)(\\bmod b)$ we have $$ 3^{P(m+a x-b y)} \\equiv 3^{P(m+a x)} \\equiv 1 \\quad(\\bmod M) $$ Since $P(m+a x-b y)>0$ this implies $M \\leq 3^{P(m+a x-b y)}-1$. But $P(m+a x-b y)$ is listed among $P(1), P(2), \\ldots, P(d)$, so $$ M<3^{P(m+a x-b y)} \\leq 3^{\\max \\{P(1), P(2), \\ldots, P(d)\\}} $$ which contradicts (1). Comment. We present another variant of the solution above. Denote the degree of $P$ by $k$ and its leading coefficient by $p$. Consider any positive integer $n$ and let $a=Q(n)$. Again, denote by $b$ the multiplicative order of 3 modulo $2^{a}-1$. Since $2^{a}-1 \\mid 3^{P(n)}-1$, we have $b \\mid P(n)$. Moreover, since $2^{Q(n+a t)}-1 \\mid 3^{P(n+a t)}-1$ and $a=Q(n) \\mid Q(n+a t)$ for each positive integer $t$, we have $2^{a}-1 \\mid 3^{P(n+a t)}-1$, hence $b \\mid P(n+a t)$ as well. Therefore, $b$ divides $\\operatorname{gcd}\\{P(n+a t): t \\geq 0\\}$; hence it also divides the number $$ \\sum_{i=0}^{k}(-1)^{k-i}\\left(\\begin{array}{c} k \\\\ i \\end{array}\\right) P(n+a i)=p \\cdot k ! \\cdot a^{k} $$ Finally, we get $b \\mid \\operatorname{gcd}\\left(P(n), k ! \\cdot p \\cdot Q(n)^{k}\\right)$, which is bounded by the same arguments as in the beginning of the solution. So $3^{b}-1$ is bounded, and hence $2^{Q(n)}-1$ is bounded as well.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $p$ be an odd prime number. For every integer $a$, define the number $$ S_{a}=\\frac{a}{1}+\\frac{a^{2}}{2}+\\cdots+\\frac{a^{p-1}}{p-1} $$ Let $m$ and $n$ be integers such that $$ S_{3}+S_{4}-3 S_{2}=\\frac{m}{n} $$ Prove that $p$ divides $m$.", "solution": "For rational numbers $p_{1} / q_{1}$ and $p_{2} / q_{2}$ with the denominators $q_{1}, q_{2}$ not divisible by $p$, we write $p_{1} / q_{1} \\equiv p_{2} / q_{2}(\\bmod p)$ if the numerator $p_{1} q_{2}-p_{2} q_{1}$ of their difference is divisible by $p$. We start with finding an explicit formula for the residue of $S_{a}$ modulo $p$. Note first that for every $k=1, \\ldots, p-1$ the number $\\left(\\begin{array}{l}p \\\\ k\\end{array}\\right)$ is divisible by $p$, and $$ \\frac{1}{p}\\left(\\begin{array}{l} p \\\\ k \\end{array}\\right)=\\frac{(p-1)(p-2) \\cdots(p-k+1)}{k !} \\equiv \\frac{(-1) \\cdot(-2) \\cdots(-k+1)}{k !}=\\frac{(-1)^{k-1}}{k} \\quad(\\bmod p) $$ Therefore, we have $$ S_{a}=-\\sum_{k=1}^{p-1} \\frac{(-a)^{k}(-1)^{k-1}}{k} \\equiv-\\sum_{k=1}^{p-1}(-a)^{k} \\cdot \\frac{1}{p}\\left(\\begin{array}{l} p \\\\ k \\end{array}\\right) \\quad(\\bmod p) $$ The number on the right-hand side is integer. Using the binomial formula we express it as $$ -\\sum_{k=1}^{p-1}(-a)^{k} \\cdot \\frac{1}{p}\\left(\\begin{array}{l} p \\\\ k \\end{array}\\right)=-\\frac{1}{p}\\left(-1-(-a)^{p}+\\sum_{k=0}^{p}(-a)^{k}\\left(\\begin{array}{l} p \\\\ k \\end{array}\\right)\\right)=\\frac{(a-1)^{p}-a^{p}+1}{p} $$ since $p$ is odd. So, we have $$ S_{a} \\equiv \\frac{(a-1)^{p}-a^{p}+1}{p} \\quad(\\bmod p) $$ Finally, using the obtained formula we get $$ \\begin{aligned} S_{3}+S_{4}-3 S_{2} & \\equiv \\frac{\\left(2^{p}-3^{p}+1\\right)+\\left(3^{p}-4^{p}+1\\right)-3\\left(1^{p}-2^{p}+1\\right)}{p} \\\\ & =\\frac{4 \\cdot 2^{p}-4^{p}-4}{p}=-\\frac{\\left(2^{p}-2\\right)^{2}}{p} \\quad(\\bmod p) . \\end{aligned} $$ By Fermat's theorem, $p \\mid 2^{p}-2$, so $p^{2} \\mid\\left(2^{p}-2\\right)^{2}$ and hence $S_{3}+S_{4}-3 S_{2} \\equiv 0(\\bmod p)$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $p$ be an odd prime number. For every integer $a$, define the number $$ S_{a}=\\frac{a}{1}+\\frac{a^{2}}{2}+\\cdots+\\frac{a^{p-1}}{p-1} $$ Let $m$ and $n$ be integers such that $$ S_{3}+S_{4}-3 S_{2}=\\frac{m}{n} $$ Prove that $p$ divides $m$.", "solution": "One may solve the problem without finding an explicit formula for $S_{a}$. It is enough to find the following property. Lemma. For every integer $a$, we have $S_{a+1} \\equiv S_{-a}(\\bmod p)$. Proof. We expand $S_{a+1}$ using the binomial formula as $$ S_{a+1}=\\sum_{k=1}^{p-1} \\frac{1}{k} \\sum_{j=0}^{k}\\left(\\begin{array}{l} k \\\\ j \\end{array}\\right) a^{j}=\\sum_{k=1}^{p-1}\\left(\\frac{1}{k}+\\sum_{j=1}^{k} a^{j} \\cdot \\frac{1}{k}\\left(\\begin{array}{l} k \\\\ j \\end{array}\\right)\\right)=\\sum_{k=1}^{p-1} \\frac{1}{k}+\\sum_{j=1}^{p-1} a^{j} \\sum_{k=j}^{p-1} \\frac{1}{k}\\left(\\begin{array}{l} k \\\\ j \\end{array}\\right) a^{k} . $$ Note that $\\frac{1}{k}+\\frac{1}{p-k}=\\frac{p}{k(p-k)} \\equiv 0(\\bmod p)$ for all $1 \\leq k \\leq p-1$; hence the first sum vanishes modulo $p$. For the second sum, we use the relation $\\frac{1}{k}\\left(\\begin{array}{c}k \\\\ j\\end{array}\\right)=\\frac{1}{j}\\left(\\begin{array}{c}k-1 \\\\ j-1\\end{array}\\right)$ to obtain $$ S_{a+1} \\equiv \\sum_{j=1}^{p-1} \\frac{a^{j}}{j} \\sum_{k=1}^{p-1}\\left(\\begin{array}{c} k-1 \\\\ j-1 \\end{array}\\right) \\quad(\\bmod p) $$ Finally, from the relation $$ \\sum_{k=1}^{p-1}\\left(\\begin{array}{l} k-1 \\\\ j-1 \\end{array}\\right)=\\left(\\begin{array}{c} p-1 \\\\ j \\end{array}\\right)=\\frac{(p-1)(p-2) \\ldots(p-j)}{j !} \\equiv(-1)^{j} \\quad(\\bmod p) $$ we obtain $$ S_{a+1} \\equiv \\sum_{j=1}^{p-1} \\frac{a^{j}(-1)^{j}}{j !}=S_{-a} $$ Now we turn to the problem. Using the lemma we get $$ S_{3}-3 S_{2} \\equiv S_{-2}-3 S_{2}=\\sum_{\\substack{1 \\leq k \\leq p-1 \\\\ k \\text { is even }}} \\frac{-2 \\cdot 2^{k}}{k}+\\sum_{\\substack{1 \\leq k \\leq p-1 \\\\ k \\text { is odd }}} \\frac{-4 \\cdot 2^{k}}{k}(\\bmod p) . $$ The first sum in (11) expands as $$ \\sum_{\\ell=1}^{(p-1) / 2} \\frac{-2 \\cdot 2^{2 \\ell}}{2 \\ell}=-\\sum_{\\ell=1}^{(p-1) / 2} \\frac{4^{\\ell}}{\\ell} $$ Next, using Fermat's theorem, we expand the second sum in (11) as $$ -\\sum_{\\ell=1}^{(p-1) / 2} \\frac{2^{2 \\ell+1}}{2 \\ell-1} \\equiv-\\sum_{\\ell=1}^{(p-1) / 2} \\frac{2^{p+2 \\ell}}{p+2 \\ell-1}=-\\sum_{m=(p+1) / 2}^{p-1} \\frac{2 \\cdot 4^{m}}{2 m}=-\\sum_{m=(p+1) / 2}^{p-1} \\frac{4^{m}}{m}(\\bmod p) $$ (here we set $m=\\ell+\\frac{p-1}{2}$ ). Hence, $$ S_{3}-3 S_{2} \\equiv-\\sum_{\\ell=1}^{(p-1) / 2} \\frac{4^{\\ell}}{\\ell}-\\sum_{m=(p+1) / 2}^{p-1} \\frac{4^{m}}{m}=-S_{4} \\quad(\\bmod p) $$ Let $k$ be a positive integer and set $n=2^{k}+1$. Prove that $n$ is a prime number if and only if the following holds: there is a permutation $a_{1}, \\ldots, a_{n-1}$ of the numbers $1,2, \\ldots, n-1$ and a sequence of integers $g_{1}, g_{2}, \\ldots, g_{n-1}$ such that $n$ divides $g_{i}^{a_{i}}-a_{i+1}$ for every $i \\in\\{1,2, \\ldots, n-1\\}$, where we set $a_{n}=a_{1}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $p$ be an odd prime number. For every integer $a$, define the number $$ S_{a}=\\frac{a}{1}+\\frac{a^{2}}{2}+\\cdots+\\frac{a^{p-1}}{p-1} $$ Let $m$ and $n$ be integers such that $$ S_{3}+S_{4}-3 S_{2}=\\frac{m}{n} $$ Prove that $p$ divides $m$.", "solution": "Let $N=\\{1,2, \\ldots, n-1\\}$. For $a, b \\in N$, we say that $b$ follows $a$ if there exists an integer $g$ such that $b \\equiv g^{a}(\\bmod n)$ and denote this property as $a \\rightarrow b$. This way we have a directed graph with $N$ as set of vertices. If $a_{1}, \\ldots, a_{n-1}$ is a permutation of $1,2, \\ldots, n-1$ such that $a_{1} \\rightarrow a_{2} \\rightarrow \\ldots \\rightarrow a_{n-1} \\rightarrow a_{1}$ then this is a Hamiltonian cycle in the graph. Step I. First consider the case when $n$ is composite. Let $n=p_{1}^{\\alpha_{1}} \\ldots p_{s}^{\\alpha_{s}}$ be its prime factorization. All primes $p_{i}$ are odd. Suppose that $\\alpha_{i}>1$ for some $i$. For all integers $a, g$ with $a \\geq 2$, we have $g^{a} \\not \\equiv p_{i}\\left(\\bmod p_{i}^{2}\\right)$, because $g^{a}$ is either divisible by $p_{i}^{2}$ or it is not divisible by $p_{i}$. It follows that in any Hamiltonian cycle $p_{i}$ comes immediately after 1 . The same argument shows that $2 p_{i}$ also should come immediately after 1, which is impossible. Hence, there is no Hamiltonian cycle in the graph. Now suppose that $n$ is square-free. We have $n=p_{1} p_{2} \\ldots p_{s}>9$ and $s \\geq 2$. Assume that there exists a Hamiltonian cycle. There are $\\frac{n-1}{2}$ even numbers in this cycle, and each number which follows one of them should be a quadratic residue modulo $n$. So, there should be at least $\\frac{n-1}{2}$ nonzero quadratic residues modulo $n$. On the other hand, for each $p_{i}$ there exist exactly $\\frac{p_{i}+1}{2}$ quadratic residues modulo $p_{i}$; by the Chinese Remainder Theorem, the number of quadratic residues modulo $n$ is exactly $\\frac{p_{1}+1}{2} \\cdot \\frac{p_{2}+1}{2} \\cdot \\ldots \\cdot \\frac{p_{s}+1}{2}$, including 0 . Then we have a contradiction by $$ \\frac{p_{1}+1}{2} \\cdot \\frac{p_{2}+1}{2} \\cdot \\ldots \\cdot \\frac{p_{s}+1}{2} \\leq \\frac{2 p_{1}}{3} \\cdot \\frac{2 p_{2}}{3} \\cdot \\ldots \\cdot \\frac{2 p_{s}}{3}=\\left(\\frac{2}{3}\\right)^{s} n \\leq \\frac{4 n}{9}<\\frac{n-1}{2} $$ This proves the \"if\"-part of the problem. Step II. Now suppose that $n$ is prime. For any $a \\in N$, denote by $\\nu_{2}(a)$ the exponent of 2 in the prime factorization of $a$, and let $\\mu(a)=\\max \\left\\{t \\in[0, k] \\mid 2^{t} \\rightarrow a\\right\\}$. Lemma. For any $a, b \\in N$, we have $a \\rightarrow b$ if and only if $\\nu_{2}(a) \\leq \\mu(b)$. Proof. Let $\\ell=\\nu_{2}(a)$ and $m=\\mu(b)$. Suppose $\\ell \\leq m$. Since $b$ follows $2^{m}$, there exists some $g_{0}$ such that $b \\equiv g_{0}^{2^{m}}(\\bmod n)$. By $\\operatorname{gcd}(a, n-1)=2^{\\ell}$ there exist some integers $p$ and $q$ such that $p a-q(n-1)=2^{\\ell}$. Choosing $g=g_{0}^{2^{m-\\ell} p}$ we have $g^{a}=g_{0}^{2^{m-\\ell} p a}=g_{0}^{2^{m}+2^{m-\\ell} q(n-1)} \\equiv g_{0}^{2^{m}} \\equiv b(\\bmod n)$ by FERMAT's theorem. Hence, $a \\rightarrow b$. To prove the reverse statement, suppose that $a \\rightarrow b$, so $b \\equiv g^{a}(\\bmod n)$ with some $g$. Then $b \\equiv\\left(g^{a / 2^{\\ell}}\\right)^{2^{\\ell}}$, and therefore $2^{\\ell} \\rightarrow b$. By the definition of $\\mu(b)$, we have $\\mu(b) \\geq \\ell$. The lemma is proved. Now for every $i$ with $0 \\leq i \\leq k$, let $$ \\begin{aligned} A_{i} & =\\left\\{a \\in N \\mid \\nu_{2}(a)=i\\right\\}, \\\\ B_{i} & =\\{a \\in N \\mid \\mu(a)=i\\}, \\\\ \\text { and } C_{i} & =\\{a \\in N \\mid \\mu(a) \\geq i\\}=B_{i} \\cup B_{i+1} \\cup \\ldots \\cup B_{k} . \\end{aligned} $$ We claim that $\\left|A_{i}\\right|=\\left|B_{i}\\right|$ for all $0 \\leq i \\leq k$. Obviously we have $\\left|A_{i}\\right|=2^{k-i-1}$ for all $i=$ $0, \\ldots, k-1$, and $\\left|A_{k}\\right|=1$. Now we determine $\\left|C_{i}\\right|$. We have $\\left|C_{0}\\right|=n-1$ and by Fermat's theorem we also have $C_{k}=\\{1\\}$, so $\\left|C_{k}\\right|=1$. Next, notice that $C_{i+1}=\\left\\{x^{2} \\bmod n \\mid x \\in C_{i}\\right\\}$. For every $a \\in N$, the relation $x^{2} \\equiv a(\\bmod n)$ has at most two solutions in $N$. Therefore we have $2\\left|C_{i+1}\\right| \\leq\\left|C_{i}\\right|$, with the equality achieved only if for every $y \\in C_{i+1}$, there exist distinct elements $x, x^{\\prime} \\in C_{i}$ such that $x^{2} \\equiv x^{\\prime 2} \\equiv y(\\bmod n)$ (this implies $\\left.x+x^{\\prime}=n\\right)$. Now, since $2^{k}\\left|C_{k}\\right|=\\left|C_{0}\\right|$, we obtain that this equality should be achieved in each step. Hence $\\left|C_{i}\\right|=2^{k-i}$ for $0 \\leq i \\leq k$, and therefore $\\left|B_{i}\\right|=2^{k-i-1}$ for $0 \\leq i \\leq k-1$ and $\\left|B_{k}\\right|=1$. From the previous arguments we can see that for each $z \\in C_{i}(0 \\leq i<k)$ the equation $x^{2} \\equiv z^{2}$ $(\\bmod n)$ has two solutions in $C_{i}$, so we have $n-z \\in C_{i}$. Hence, for each $i=0,1, \\ldots, k-1$, exactly half of the elements of $C_{i}$ are odd. The same statement is valid for $B_{i}=C_{i} \\backslash C_{i+1}$ for $0 \\leq i \\leq k-2$. In particular, each such $B_{i}$ contains an odd number. Note that $B_{k}=\\{1\\}$ also contains an odd number, and $B_{k-1}=\\left\\{2^{k}\\right\\}$ since $C_{k-1}$ consists of the two square roots of 1 modulo $n$. Step III. Now we construct a Hamiltonian cycle in the graph. First, for each $i$ with $0 \\leq i \\leq k$, connect the elements of $A_{i}$ to the elements of $B_{i}$ by means of an arbitrary bijection. After performing this for every $i$, we obtain a subgraph with all vertices having in-degree 1 and outdegree 1 , so the subgraph is a disjoint union of cycles. If there is a unique cycle, we are done. Otherwise, we modify the subgraph in such a way that the previous property is preserved and the number of cycles decreases; after a finite number of steps we arrive at a single cycle. For every cycle $C$, let $\\lambda(C)=\\min _{c \\in C} \\nu_{2}(c)$. Consider a cycle $C$ for which $\\lambda(C)$ is maximal. If $\\lambda(C)=0$, then for any other cycle $C^{\\prime}$ we have $\\lambda\\left(C^{\\prime}\\right)=0$. Take two arbitrary vertices $a \\in C$ and $a^{\\prime} \\in C^{\\prime}$ such that $\\nu_{2}(a)=\\nu_{2}\\left(a^{\\prime}\\right)=0$; let their direct successors be $b$ and $b^{\\prime}$, respectively. Then we can unify $C$ and $C^{\\prime}$ to a single cycle by replacing the edges $a \\rightarrow b$ and $a^{\\prime} \\rightarrow b^{\\prime}$ by $a \\rightarrow b^{\\prime}$ and $a^{\\prime} \\rightarrow b$. Now suppose that $\\lambda=\\lambda(C) \\geq 1$; let $a \\in C \\cap A_{\\lambda}$. If there exists some $a^{\\prime} \\in A_{\\lambda} \\backslash C$, then $a^{\\prime}$ lies in another cycle $C^{\\prime}$ and we can merge the two cycles in exactly the same way as above. So, the only remaining case is $A_{\\lambda} \\subset C$. Since the edges from $A_{\\lambda}$ lead to $B_{\\lambda}$, we get also $B_{\\lambda} \\subset C$. If $\\lambda \\neq k-1$ then $B_{\\lambda}$ contains an odd number; this contradicts the assumption $\\lambda(C)>0$. Finally, if $\\lambda=k-1$, then $C$ contains $2^{k-1}$ which is the only element of $A_{k-1}$. Since $B_{k-1}=\\left\\{2^{k}\\right\\}=A_{k}$ and $B_{k}=\\{1\\}$, the cycle $C$ contains the path $2^{k-1} \\rightarrow 2^{k} \\rightarrow 1$ and it contains an odd number again. This completes the proof of the \"only if\"-part of the problem. Comment 1. The lemma and the fact $\\left|A_{i}\\right|=\\left|B_{i}\\right|$ together show that for every edge $a \\rightarrow b$ of the Hamiltonian cycle, $\\nu_{2}(a)=\\mu(b)$ must hold. After this observation, the Hamiltonian cycle can be built in many ways. For instance, it is possible to select edges from $A_{i}$ to $B_{i}$ for $i=k, k-1, \\ldots, 1$ in such a way that they form disjoint paths; at the end all these paths will have odd endpoints. In the final step, the paths can be closed to form a unique cycle. Comment 2. Step II is an easy consequence of some basic facts about the multiplicative group modulo the prime $n=2^{k}+1$. The Lemma follows by noting that this group has order $2^{k}$, so the $a$-th powers are exactly the $2^{\\nu_{2}(a)}$-th powers. Using the existence of a primitive root $g$ modulo $n$ one sees that the map from $\\{1,2, \\ldots, n-1\\}$ to itself that sends $a$ to $g^{a} \\bmod n$ is a bijection that sends $A_{i}$ to $B_{i}$ for each $i \\in\\{0, \\ldots, k\\}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N8", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $k$ be a positive integer and set $n=2^{k}+1$. Prove that $n$ is a prime number if and only if the following holds: there is a permutation $a_{1}, \\ldots, a_{n-1}$ of the numbers $1,2, \\ldots, n-1$ and a sequence of integers $g_{1}, g_{2}, \\ldots, g_{n-1}$ such that $n$ divides $g_{i}^{a_{i}}-a_{i+1}$ for every $i \\in\\{1,2, \\ldots, n-1\\}$, where we set $a_{n}=a_{1}$.", "solution": null, "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For any set $A=\\left\\{a_{1}, a_{2}, a_{3}, a_{4}\\right\\}$ of four distinct positive integers with sum $s_{A}=a_{1}+a_{2}+a_{3}+a_{4}$, let $p_{A}$ denote the number of pairs $(i, j)$ with $1 \\leq i<j \\leq 4$ for which $a_{i}+a_{j}$ divides $s_{A}$. Among all sets of four distinct positive integers, determine those sets $A$ for which $p_{A}$ is maximal. Answer. The sets $A$ for which $p_{A}$ is maximal are the sets the form $\\{d, 5 d, 7 d, 11 d\\}$ and $\\{d, 11 d, 19 d, 29 d\\}$, where $d$ is any positive integer. For all these sets $p_{A}$ is 4 .", "solution": "Firstly, we will prove that the maximum value of $p_{A}$ is at most 4 . Without loss of generality, we may assume that $a_{1}<a_{2}<a_{3}<a_{4}$. We observe that for each pair of indices $(i, j)$ with $1 \\leq i<j \\leq 4$, the sum $a_{i}+a_{j}$ divides $s_{A}$ if and only if $a_{i}+a_{j}$ divides $s_{A}-\\left(a_{i}+a_{j}\\right)=a_{k}+a_{l}$, where $k$ and $l$ are the other two indices. Since there are 6 distinct pairs, we have to prove that at least two of them do not satisfy the previous condition. We claim that two such pairs are $\\left(a_{2}, a_{4}\\right)$ and $\\left(a_{3}, a_{4}\\right)$. Indeed, note that $a_{2}+a_{4}>a_{1}+a_{3}$ and $a_{3}+a_{4}>a_{1}+a_{2}$. Hence $a_{2}+a_{4}$ and $a_{3}+a_{4}$ do not divide $s_{A}$. This proves $p_{A} \\leq 4$. Now suppose $p_{A}=4$. By the previous argument we have $$ \\begin{array}{lll} a_{1}+a_{4} \\mid a_{2}+a_{3} & \\text { and } & a_{2}+a_{3} \\mid a_{1}+a_{4}, \\\\ a_{1}+a_{2} \\mid a_{3}+a_{4} & \\text { and } & a_{3}+a_{4} \\not a_{1}+a_{2}, \\\\ a_{1}+a_{3} \\mid a_{2}+a_{4} & \\text { and } & a_{2}+a_{4} \\not a_{1}+a_{3} . \\end{array} $$ Hence, there exist positive integers $m$ and $n$ with $m>n \\geq 2$ such that $$ \\left\\{\\begin{array}{l} a_{1}+a_{4}=a_{2}+a_{3} \\\\ m\\left(a_{1}+a_{2}\\right)=a_{3}+a_{4} \\\\ n\\left(a_{1}+a_{3}\\right)=a_{2}+a_{4} \\end{array}\\right. $$ Adding up the first equation and the third one, we get $n\\left(a_{1}+a_{3}\\right)=2 a_{2}+a_{3}-a_{1}$. If $n \\geq 3$, then $n\\left(a_{1}+a_{3}\\right)>3 a_{3}>2 a_{2}+a_{3}>2 a_{2}+a_{3}-a_{1}$. This is a contradiction. Therefore $n=2$. If we multiply by 2 the sum of the first equation and the third one, we obtain $$ 6 a_{1}+2 a_{3}=4 a_{2} $$ while the sum of the first one and the second one is $$ (m+1) a_{1}+(m-1) a_{2}=2 a_{3} . $$ Adding up the last two equations we get $$ (m+7) a_{1}=(5-m) a_{2} . $$ It follows that $5-m \\geq 1$, because the left-hand side of the last equation and $a_{2}$ are positive. Since we have $m>n=2$, the integer $m$ can be equal only to either 3 or 4 . Substituting $(3,2)$ and $(4,2)$ for $(m, n)$ and solving the previous system of equations, we find the families of solutions $\\{d, 5 d, 7 d, 11 d\\}$ and $\\{d, 11 d, 19 d, 29 d\\}$, where $d$ is any positive integer.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Determine all sequences $\\left(x_{1}, x_{2}, \\ldots, x_{2011}\\right)$ of positive integers such that for every positive integer $n$ there is an integer $a$ with $$ x_{1}^{n}+2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}=a^{n+1}+1 . $$ Answer. The only sequence that satisfies the condition is $$ \\left(x_{1}, \\ldots, x_{2011}\\right)=(1, k, \\ldots, k) \\quad \\text { with } k=2+3+\\cdots+2011=2023065 $$", "solution": "Throughout this solution, the set of positive integers will be denoted by $\\mathbb{Z}_{+}$. Put $k=2+3+\\cdots+2011=2023065$. We have $$ 1^{n}+2 k^{n}+\\cdots 2011 k^{n}=1+k \\cdot k^{n}=k^{n+1}+1 $$ for all $n$, so $(1, k, \\ldots, k)$ is a valid sequence. We shall prove that it is the only one. Let a valid sequence $\\left(x_{1}, \\ldots, x_{2011}\\right)$ be given. For each $n \\in \\mathbb{Z}_{+}$we have some $y_{n} \\in \\mathbb{Z}_{+}$with $$ x_{1}^{n}+2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}=y_{n}^{n+1}+1 . $$ Note that $x_{1}^{n}+2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}<\\left(x_{1}+2 x_{2}+\\cdots+2011 x_{2011}\\right)^{n+1}$, which implies that the sequence $\\left(y_{n}\\right)$ is bounded. In particular, there is some $y \\in \\mathbb{Z}_{+}$with $y_{n}=y$ for infinitely many $n$. Let $m$ be the maximum of all the $x_{i}$. Grouping terms with equal $x_{i}$ together, the sum $x_{1}^{n}+$ $2 x_{2}^{n}+\\cdots+2011 x_{2011}^{n}$ can be written as $$ x_{1}^{n}+2 x_{2}^{n}+\\cdots+x_{2011}^{n}=a_{m} m^{n}+a_{m-1}(m-1)^{n}+\\cdots+a_{1} $$ with $a_{i} \\geq 0$ for all $i$ and $a_{1}+\\cdots+a_{m}=1+2+\\cdots+2011$. So there exist arbitrarily large values of $n$, for which $$ a_{m} m^{n}+\\cdots+a_{1}-1-y \\cdot y^{n}=0 \\text {. } $$ The following lemma will help us to determine the $a_{i}$ and $y$ : Lemma. Let integers $b_{1}, \\ldots, b_{N}$ be given and assume that there are arbitrarily large positive integers $n$ with $b_{1}+b_{2} 2^{n}+\\cdots+b_{N} N^{n}=0$. Then $b_{i}=0$ for all $i$. Proof. Suppose that not all $b_{i}$ are zero. We may assume without loss of generality that $b_{N} \\neq 0$. Dividing through by $N^{n}$ gives $$ \\left|b_{N}\\right|=\\left|b_{N-1}\\left(\\frac{N-1}{N}\\right)^{n}+\\cdots+b_{1}\\left(\\frac{1}{N}\\right)^{n}\\right| \\leq\\left(\\left|b_{N-1}\\right|+\\cdots+\\left|b_{1}\\right|\\right)\\left(\\frac{N-1}{N}\\right)^{n} . $$ The expression $\\left(\\frac{N-1}{N}\\right)^{n}$ can be made arbitrarily small for $n$ large enough, contradicting the assumption that $b_{N}$ be non-zero. We obviously have $y>1$. Applying the lemma to (1) we see that $a_{m}=y=m, a_{1}=1$, and all the other $a_{i}$ are zero. This implies $\\left(x_{1}, \\ldots, x_{2011}\\right)=(1, m, \\ldots, m)$. But we also have $1+m=a_{1}+\\cdots+a_{m}=1+\\cdots+2011=1+k$ so $m=k$, which is what we wanted to show.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Determine all pairs $(f, g)$ of functions from the set of real numbers to itself that satisfy $$ g(f(x+y))=f(x)+(2 x+y) g(y) $$ for all real numbers $x$ and $y$. Answer. Either both $f$ and $g$ vanish identically, or there exists a real number $C$ such that $f(x)=x^{2}+C$ and $g(x)=x$ for all real numbers $x$.", "solution": "Clearly all these pairs of functions satisfy the functional equation in question, so it suffices to verify that there cannot be any further ones. Substituting $-2 x$ for $y$ in the given functional equation we obtain $$ g(f(-x))=f(x) . $$ Using this equation for $-x-y$ in place of $x$ we obtain $$ f(-x-y)=g(f(x+y))=f(x)+(2 x+y) g(y) . $$ Now for any two real numbers $a$ and $b$, setting $x=-b$ and $y=a+b$ we get $$ f(-a)=f(-b)+(a-b) g(a+b) . $$ If $c$ denotes another arbitrary real number we have similarly $$ f(-b)=f(-c)+(b-c) g(b+c) $$ as well as $$ f(-c)=f(-a)+(c-a) g(c+a) . $$ Adding all these equations up, we obtain $$ ((a+c)-(b+c)) g(a+b)+((a+b)-(a+c)) g(b+c)+((b+c)-(a+b)) g(a+c)=0 \\text {. } $$ Now given any three real numbers $x, y$, and $z$ one may determine three reals $a, b$, and $c$ such that $x=b+c, y=c+a$, and $z=a+b$, so that we get $$ (y-x) g(z)+(z-y) g(x)+(x-z) g(y)=0 . $$ This implies that the three points $(x, g(x)),(y, g(y))$, and $(z, g(z))$ from the graph of $g$ are collinear. Hence that graph is a line, i.e., $g$ is either a constant or a linear function. Let us write $g(x)=A x+B$, where $A$ and $B$ are two real numbers. Substituting $(0,-y)$ for $(x, y)$ in (2) and denoting $C=f(0)$, we have $f(y)=A y^{2}-B y+C$. Now, comparing the coefficients of $x^{2}$ in (1I) we see that $A^{2}=A$, so $A=0$ or $A=1$. If $A=0$, then (1) becomes $B=-B x+C$ and thus $B=C=0$, which provides the first of the two solutions mentioned above. Now suppose $A=1$. Then (1) becomes $x^{2}-B x+C+B=x^{2}-B x+C$, so $B=0$. Thus, $g(x)=x$ and $f(x)=x^{2}+C$, which is the second solution from above. Comment. Another way to show that $g(x)$ is either a constant or a linear function is the following. If we interchange $x$ and $y$ in the given functional equation and subtract this new equation from the given one, we obtain $$ f(x)-f(y)=(2 y+x) g(x)-(2 x+y) g(y) . $$ Substituting $(x, 0),(1, x)$, and $(0,1)$ for $(x, y)$, we get $$ \\begin{aligned} & f(x)-f(0)=x g(x)-2 x g(0), \\\\ & f(1)-f(x)=(2 x+1) g(1)-(x+2) g(x), \\\\ & f(0)-f(1)=2 g(0)-g(1) . \\end{aligned} $$ Taking the sum of these three equations and dividing by 2 , we obtain $$ g(x)=x(g(1)-g(0))+g(0) . $$ This proves that $g(x)$ is either a constant of a linear function.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A4", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Determine all pairs $(f, g)$ of functions from the set of positive integers to itself that satisfy $$ f^{g(n)+1}(n)+g^{f(n)}(n)=f(n+1)-g(n+1)+1 $$ for every positive integer $n$. Here, $f^{k}(n)$ means $\\underbrace{f(f(\\ldots f}_{k}(n) \\ldots))$. Answer. The only pair $(f, g)$ of functions that satisfies the equation is given by $f(n)=n$ and $g(n)=1$ for all $n$.", "solution": "The given relation implies $$ f\\left(f^{g(n)}(n)\\right)<f(n+1) \\text { for all } n $$ which will turn out to be sufficient to determine $f$. Let $y_{1}<y_{2}<\\ldots$ be all the values attained by $f$ (this sequence might be either finite or infinite). We will prove that for every positive $n$ the function $f$ attains at least $n$ values, and we have (i) $)_{n}: f(x)=y_{n}$ if and only if $x=n$, and (ii) $)_{n} y_{n}=n$. The proof will follow the scheme $$ (\\mathrm{i})_{1},(\\mathrm{ii})_{1},(\\mathrm{i})_{2},(\\mathrm{ii})_{2}, \\ldots,(\\mathrm{i})_{n},(\\mathrm{ii})_{n}, \\ldots $$ To start, consider any $x$ such that $f(x)=y_{1}$. If $x>1$, then (1) reads $f\\left(f^{g(x-1)}(x-1)\\right)<y_{1}$, contradicting the minimality of $y_{1}$. So we have that $f(x)=y_{1}$ is equivalent to $x=1$, establishing $(\\mathrm{i})_{1}$. Next, assume that for some $n$ statement (i) ${ }_{n}$ is established, as well as all the previous statements in (2). Note that these statements imply that for all $k \\geq 1$ and $a<n$ we have $f^{k}(x)=a$ if and only if $x=a$. Now, each value $y_{i}$ with $1 \\leq i \\leq n$ is attained at the unique integer $i$, so $y_{n+1}$ exists. Choose an arbitrary $x$ such that $f(x)=y_{n+1}$; we necessarily have $x>n$. Substituting $x-1$ into (1) we have $f\\left(f^{g(x-1)}(x-1)\\right)<y_{n+1}$, which implies $$ f^{g(x-1)}(x-1) \\in\\{1, \\ldots, n\\} $$ Set $b=f^{g(x-1)}(x-1)$. If $b<n$ then we would have $x-1=b$ which contradicts $x>n$. So $b=n$, and hence $y_{n}=n$, which proves (ii) ${ }_{n}$. Next, from (i) ${ }_{n}$ we now get $f(k)=n \\Longleftrightarrow k=n$, so removing all the iterations of $f$ in (3) we obtain $x-1=b=n$, which proves (i) ${ }_{n+1}$. So, all the statements in (2) are valid and hence $f(n)=n$ for all $n$. The given relation between $f$ and $g$ now reads $n+g^{n}(n)=n+1-g(n+1)+1$ or $g^{n}(n)+g(n+1)=2$, from which it immediately follows that we have $g(n)=1$ for all $n$. Comment. Several variations of the above solution are possible. For instance, one may first prove by induction that the smallest $n$ values of $f$ are exactly $f(1)<\\cdots<f(n)$ and proceed as follows. We certainly have $f(n) \\geq n$ for all $n$. If there is an $n$ with $f(n)>n$, then $f(x)>x$ for all $x \\geq n$. From this we conclude $f^{g(n)+1}(n)>f^{g(n)}(n)>\\cdots>f(n)$. But we also have $f^{g(n)+1}<f(n+1)$. Having squeezed in a function value between $f(n)$ and $f(n+1)$, we arrive at a contradiction. In any case, the inequality (11) plays an essential rôle.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $a, b$, and $c$ be positive real numbers satisfying $\\min (a+b, b+c, c+a)>\\sqrt{2}$ and $a^{2}+b^{2}+c^{2}=3$. Prove that $$ \\frac{a}{(b+c-a)^{2}}+\\frac{b}{(c+a-b)^{2}}+\\frac{c}{(a+b-c)^{2}} \\geq \\frac{3}{(a b c)^{2}} $$ Throughout both solutions, we denote the sums of the form $f(a, b, c)+f(b, c, a)+f(c, a, b)$ by $\\sum f(a, b, c)$.", "solution": "The condition $b+c>\\sqrt{2}$ implies $b^{2}+c^{2}>1$, so $a^{2}=3-\\left(b^{2}+c^{2}\\right)<2$, i.e. $a<\\sqrt{2}<b+c$. Hence we have $b+c-a>0$, and also $c+a-b>0$ and $a+b-c>0$ for similar reasons. We will use the variant of HÖLDER's inequality $$ \\frac{x_{1}^{p+1}}{y_{1}^{p}}+\\frac{x_{1}^{p+1}}{y_{1}^{p}}+\\ldots+\\frac{x_{n}^{p+1}}{y_{n}^{p}} \\geq \\frac{\\left(x_{1}+x_{2}+\\ldots+x_{n}\\right)^{p+1}}{\\left(y_{1}+y_{2}+\\ldots+y_{n}\\right)^{p}} $$ which holds for all positive real numbers $p, x_{1}, x_{2}, \\ldots, x_{n}, y_{1}, y_{2}, \\ldots, y_{n}$. Applying it to the left-hand side of (11) with $p=2$ and $n=3$, we get $$ \\sum \\frac{a}{(b+c-a)^{2}}=\\sum \\frac{\\left(a^{2}\\right)^{3}}{a^{5}(b+c-a)^{2}} \\geq \\frac{\\left(a^{2}+b^{2}+c^{2}\\right)^{3}}{\\left(\\sum a^{5 / 2}(b+c-a)\\right)^{2}}=\\frac{27}{\\left(\\sum a^{5 / 2}(b+c-a)\\right)^{2}} . $$ To estimate the denominator of the right-hand part, we use an instance of SCHUR's inequality, namely $$ \\sum a^{3 / 2}(a-b)(a-c) \\geq 0 $$ which can be rewritten as $$ \\sum a^{5 / 2}(b+c-a) \\leq a b c(\\sqrt{a}+\\sqrt{b}+\\sqrt{c}) . $$ Moreover, by the inequality between the arithmetic mean and the fourth power mean we also have $$ \\left(\\frac{\\sqrt{a}+\\sqrt{b}+\\sqrt{c}}{3}\\right)^{4} \\leq \\frac{a^{2}+b^{2}+c^{2}}{3}=1 $$ i.e., $\\sqrt{a}+\\sqrt{b}+\\sqrt{c} \\leq 3$. Hence, (2) yields $$ \\sum \\frac{a}{(b+c-a)^{2}} \\geq \\frac{27}{(a b c(\\sqrt{a}+\\sqrt{b}+\\sqrt{c}))^{2}} \\geq \\frac{3}{a^{2} b^{2} c^{2}} $$ thus solving the problem. Comment. In this solution, one may also start from the following version of HÖLDER's inequality $$ \\left(\\sum_{i=1}^{n} a_{i}^{3}\\right)\\left(\\sum_{i=1}^{n} b_{i}^{3}\\right)\\left(\\sum_{i=1}^{n} c_{i}^{3}\\right) \\geq\\left(\\sum_{i=1}^{n} a_{i} b_{i} c_{i}\\right)^{3} $$ applied as $$ \\sum \\frac{a}{(b+c-a)^{2}} \\cdot \\sum a^{3}(b+c-a) \\cdot \\sum a^{2}(b+c-a) \\geq 27 $$ After doing that, one only needs the slightly better known instances $$ \\sum a^{3}(b+c-a) \\leq(a+b+c) a b c \\quad \\text { and } \\quad \\sum a^{2}(b+c-a) \\leq 3 a b c $$ of Schur's Inequality.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "A7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $a, b$, and $c$ be positive real numbers satisfying $\\min (a+b, b+c, c+a)>\\sqrt{2}$ and $a^{2}+b^{2}+c^{2}=3$. Prove that $$ \\frac{a}{(b+c-a)^{2}}+\\frac{b}{(c+a-b)^{2}}+\\frac{c}{(a+b-c)^{2}} \\geq \\frac{3}{(a b c)^{2}} $$ Throughout both solutions, we denote the sums of the form $f(a, b, c)+f(b, c, a)+f(c, a, b)$ by $\\sum f(a, b, c)$.", "solution": "As in $$ a^{5}+b^{5}+c^{5} \\geq 3 $$ which is weaker than the given one. Due to the symmetry we may assume that $a \\geq b \\geq c$. In view of (3)), it suffices to prove the inequality $$ \\sum \\frac{a^{3} b^{2} c^{2}}{(b+c-a)^{2}} \\geq \\sum a^{5} $$ or, moving all the terms into the left-hand part, $$ \\sum \\frac{a^{3}}{(b+c-a)^{2}}\\left((b c)^{2}-(a(b+c-a))^{2}\\right) \\geq 0 $$ Note that the signs of the expressions $(y z)^{2}-(x(y+z-x))^{2}$ and $y z-x(y+z-x)=(x-y)(x-z)$ are the same for every positive $x, y, z$ satisfying the triangle inequality. So the terms in (4) corresponding to $a$ and $c$ are nonnegative, and hence it is sufficient to prove that the sum of the terms corresponding to $a$ and $b$ is nonnegative. Equivalently, we need the relation $$ \\frac{a^{3}}{(b+c-a)^{2}}(a-b)(a-c)(b c+a(b+c-a)) \\geq \\frac{b^{3}}{(a+c-b)^{2}}(a-b)(b-c)(a c+b(a+c-b)) $$ Obviously, we have $$ a^{3} \\geq b^{3} \\geq 0, \\quad 0<b+c-a \\leq a+c-b, \\quad \\text { and } \\quad a-c \\geq b-c \\geq 0 $$ hence it suffices to prove that $$ \\frac{a b+a c+b c-a^{2}}{b+c-a} \\geq \\frac{a b+a c+b c-b^{2}}{c+a-b} . $$ Since all the denominators are positive, it is equivalent to $$ (c+a-b)\\left(a b+a c+b c-a^{2}\\right)-\\left(a b+a c+b c-b^{2}\\right)(b+c-a) \\geq 0 $$ or $$ (a-b)\\left(2 a b-a^{2}-b^{2}+a c+b c\\right) \\geq 0 . $$ Since $a \\geq b$, the last inequality follows from $$ c(a+b)>(a-b)^{2} $$ which holds since $c>a-b \\geq 0$ and $a+b>a-b \\geq 0$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n>0$ be an integer. We are given a balance and $n$ weights of weight $2^{0}, 2^{1}, \\ldots, 2^{n-1}$. In a sequence of $n$ moves we place all weights on the balance. In the first move we choose a weight and put it on the left pan. In each of the following moves we choose one of the remaining weights and we add it either to the left or to the right pan. Compute the number of ways in which we can perform these $n$ moves in such a way that the right pan is never heavier than the left pan. Answer. The number $f(n)$ of ways of placing the $n$ weights is equal to the product of all odd positive integers less than or equal to $2 n-1$, i.e. $f(n)=(2 n-1) ! !=1 \\cdot 3 \\cdot 5 \\cdot \\ldots \\cdot(2 n-1)$.", "solution": "Assume $n \\geq 2$. We claim $$ f(n)=(2 n-1) f(n-1) . $$ Firstly, note that after the first move the left pan is always at least 1 heavier than the right one. Hence, any valid way of placing the $n$ weights on the scale gives rise, by not considering weight 1 , to a valid way of placing the weights $2,2^{2}, \\ldots, 2^{n-1}$. If we divide the weight of each weight by 2 , the answer does not change. So these $n-1$ weights can be placed on the scale in $f(n-1)$ valid ways. Now we look at weight 1 . If it is put on the scale in the first move, then it has to be placed on the left side, otherwise it can be placed either on the left or on the right side, because after the first move the difference between the weights on the left pan and the weights on the right pan is at least 2 . Hence, there are exactly $2 n-1$ different ways of inserting weight 1 in each of the $f(n-1)$ valid sequences for the $n-1$ weights in order to get a valid sequence for the $n$ weights. This proves the claim. Since $f(1)=1$, by induction we obtain for all positive integers $n$ $$ f(n)=(2 n-1) ! !=1 \\cdot 3 \\cdot 5 \\cdot \\ldots \\cdot(2 n-1) $$ Comment 1. The word \"compute\" in the statement of the problem is probably too vague. An alternative but more artificial question might ask for the smallest $n$ for which the number of valid ways is divisible by 2011. In this case the answer would be 1006 . Comment 2. It is useful to remark that the answer is the same for any set of weights where each weight is heavier than the sum of the lighter ones. Indeed, in such cases the given condition is equivalent to asking that during the process the heaviest weight on the balance is always on the left pan. Comment 3. Instead of considering the lightest weight, one may also consider the last weight put on the balance. If this weight is $2^{n-1}$ then it should be put on the left pan. Otherwise it may be put on any pan; the inequality would not be violated since at this moment the heaviest weight is already put onto the left pan. In view of the previous comment, in each of these $2 n-1$ cases the number of ways to place the previous weights is exactly $f(n-1)$, which yields (1).", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $n>0$ be an integer. We are given a balance and $n$ weights of weight $2^{0}, 2^{1}, \\ldots, 2^{n-1}$. In a sequence of $n$ moves we place all weights on the balance. In the first move we choose a weight and put it on the left pan. In each of the following moves we choose one of the remaining weights and we add it either to the left or to the right pan. Compute the number of ways in which we can perform these $n$ moves in such a way that the right pan is never heavier than the left pan. Answer. The number $f(n)$ of ways of placing the $n$ weights is equal to the product of all odd positive integers less than or equal to $2 n-1$, i.e. $f(n)=(2 n-1) ! !=1 \\cdot 3 \\cdot 5 \\cdot \\ldots \\cdot(2 n-1)$.", "solution": "We present a different way of obtaining (1). Set $f(0)=1$. Firstly, we find a recurrent formula for $f(n)$. Assume $n \\geq 1$. Suppose that weight $2^{n-1}$ is placed on the balance in the $i$-th move with $1 \\leq i \\leq n$. This weight has to be put on the left pan. For the previous moves we have $\\left(\\begin{array}{c}n-1 \\\\ i-1\\end{array}\\right)$ choices of the weights and from Comment 2 there are $f(i-1)$ valid ways of placing them on the balance. For later moves there is no restriction on the way in which the weights are to be put on the pans. Therefore, all $(n-i) ! 2^{n-i}$ ways are possible. This gives $$ f(n)=\\sum_{i=1}^{n}\\left(\\begin{array}{c} n-1 \\\\ i-1 \\end{array}\\right) f(i-1)(n-i) ! 2^{n-i}=\\sum_{i=1}^{n} \\frac{(n-1) ! f(i-1) 2^{n-i}}{(i-1) !} $$ Now we are ready to prove (11). Using $n-1$ instead of $n$ in (2) we get $$ f(n-1)=\\sum_{i=1}^{n-1} \\frac{(n-2) ! f(i-1) 2^{n-1-i}}{(i-1) !} . $$ Hence, again from (2) we get $$ \\begin{aligned} f(n)=2(n-1) \\sum_{i=1}^{n-1} & \\frac{(n-2) ! f(i-1) 2^{n-1-i}}{(i-1) !}+f(n-1) \\\\ & =(2 n-2) f(n-1)+f(n-1)=(2 n-1) f(n-1), \\end{aligned} $$ QED. Comment. There exist different ways of obtaining the formula (2). Here we show one of them. Suppose that in the first move we use weight $2^{n-i+1}$. Then the lighter $n-i$ weights may be put on the balance at any moment and on either pan. This gives $2^{n-i} \\cdot(n-1) ! /(i-1)$ ! choices for the moves (moments and choices of pan) with the lighter weights. The remaining $i-1$ moves give a valid sequence for the $i-1$ heavier weights and this is the only requirement for these moves, so there are $f(i-1)$ such sequences. Summing over all $i=1,2, \\ldots, n$ we again come to (2).", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C2", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Suppose that 1000 students are standing in a circle. Prove that there exists an integer $k$ with $100 \\leq k \\leq 300$ such that in this circle there exists a contiguous group of $2 k$ students, for which the first half contains the same number of girls as the second half.", "solution": "Number the students consecutively from 1 to 1000. Let $a_{i}=1$ if the $i$ th student is a girl, and $a_{i}=0$ otherwise. We expand this notion for all integers $i$ by setting $a_{i+1000}=$ $a_{i-1000}=a_{i}$. Next, let $$ S_{k}(i)=a_{i}+a_{i+1}+\\cdots+a_{i+k-1} $$ Now the statement of the problem can be reformulated as follows: There exist an integer $k$ with $100 \\leq k \\leq 300$ and an index $i$ such that $S_{k}(i)=S_{k}(i+k)$. Assume now that this statement is false. Choose an index $i$ such that $S_{100}(i)$ attains the maximal possible value. In particular, we have $S_{100}(i-100)-S_{100}(i)<0$ and $S_{100}(i)-S_{100}(i+100)>0$, for if we had an equality, then the statement would hold. This means that the function $S(j)-$ $S(j+100)$ changes sign somewhere on the segment $[i-100, i]$, so there exists some index $j \\in$ $[i-100, i-1]$ such that $$ S_{100}(j) \\leq S_{100}(j+100)-1, \\quad \\text { but } \\quad S_{100}(j+1) \\geq S_{100}(j+101)+1 $$ Subtracting the first inequality from the second one, we get $a_{j+100}-a_{j} \\geq a_{j+200}-a_{j+100}+2$, so $$ a_{j}=0, \\quad a_{j+100}=1, \\quad a_{j+200}=0 $$ Substituting this into the inequalities of (1), we also obtain $S_{99}(j+1) \\leq S_{99}(j+101) \\leq S_{99}(j+1)$, which implies $$ S_{99}(j+1)=S_{99}(j+101) . $$ Now let $k$ and $\\ell$ be the least positive integers such that $a_{j-k}=1$ and $a_{j+200+\\ell}=1$. By symmetry, we may assume that $k \\geq \\ell$. If $k \\geq 200$ then we have $a_{j}=a_{j-1}=\\cdots=a_{j-199}=0$, so $S_{100}(j-199)=S_{100}(j-99)=0$, which contradicts the initial assumption. Hence $\\ell \\leq k \\leq 199$. Finally, we have $$ \\begin{gathered} S_{100+\\ell}(j-\\ell+1)=\\left(a_{j-\\ell+1}+\\cdots+a_{j}\\right)+S_{99}(j+1)+a_{j+100}=S_{99}(j+1)+1, \\\\ S_{100+\\ell}(j+101)=S_{99}(j+101)+\\left(a_{j+200}+\\cdots+a_{j+200+\\ell-1}\\right)+a_{j+200+\\ell}=S_{99}(j+101)+1 . \\end{gathered} $$ Comparing with (2) we get $S_{100+\\ell}(j-\\ell+1)=S_{100+\\ell}(j+101)$ and $100+\\ell \\leq 299$, which again contradicts our assumption. Comment. It may be seen from the solution that the number 300 from the problem statement can be replaced by 299. Here we consider some improvements of this result. Namely, we investigate which interval can be put instead of $[100,300]$ in order to keep the problem statement valid. First of all, the two examples ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-31.jpg?height=109&width=1054&top_left_y=454&top_left_x=501) and $$ \\underbrace{1,1, \\ldots, 1}_{249}, \\underbrace{0,0, \\ldots, 0}_{251}, \\underbrace{1,1, \\ldots, 1}_{249}, \\underbrace{0,0, \\ldots, 0}_{251} $$ show that the interval can be changed neither to $[84,248]$ nor to $[126,374]$. On the other hand, we claim that this interval can be changed to $[125,250]$. Note that this statement is invariant under replacing all 1's by 0's and vice versa. Assume, to the contrary, that there is no admissible $k \\in[125,250]$. The arguments from the solution easily yield the following lemma. Lemma. Under our assumption, suppose that for some indices $i<j$ we have $S_{125}(i) \\leq S_{125}(i+125)$ but $S_{125}(j) \\geq S_{125}(j+125)$. Then there exists some $t \\in[i, j-1]$ such that $a_{t}=a_{t-1}=\\cdots=a_{t-125}=0$ and $a_{t+250}=a_{t+251}=\\cdots=a_{t+375}=0$. Let us call a segment $[i, j]$ of indices a crowd, if (a) $a_{i}=a_{i+1}=\\cdots=a_{j}$, but $a_{i-1} \\neq a_{i} \\neq a_{j+1}$, and (b) $j-i \\geq 125$. Now, using the lemma, one can get in the same way as in the solution that there exists some crowd. Take all the crowds in the circle, and enumerate them in cyclic order as $A_{1}, \\ldots, A_{d}$. We also assume always that $A_{s+d}=A_{s-d}=A_{s}$. Consider one of the crowds, say $A_{1}$. We have $A_{1}=[i, i+t]$ with $125 \\leq t \\leq 248$ (if $t \\geq 249$, then $a_{i}=a_{i+1}=\\cdots=a_{i+249}$ and therefore $S_{125}(i)=S_{125}(i+125)$, which contradicts our assumption). We may assume that $a_{i}=1$. Then we have $S_{125}(i+t-249) \\leq 125=S_{125}(i+t-124)$ and $S_{125}(i)=125 \\geq S_{125}(i+125)$, so by the lemma there exists some index $j \\in[i+t-249, i-1]$ such that the segments $[j-125, j]$ and $[j+250, j+375]$ are contained in some crowds. Let us fix such $j$ and denote the segment $[j+1, j+249]$ by $B_{1}$. Clearly, $A_{1} \\subseteq B_{1}$. Moreover, $B_{1}$ cannot contain any crowd other than $A_{1}$ since $\\left|B_{1}\\right|=249<2 \\cdot 126$. Hence it is clear that $j \\in A_{d}$ and $j+250 \\in A_{2}$. In particular, this means that the genders of $A_{d}$ and $A_{2}$ are different from that of $A_{1}$. Performing this procedure for every crowd $A_{s}$, we find segments $B_{s}=\\left[j_{s}+1, j_{s}+249\\right]$ such that $\\left|B_{s}\\right|=249, A_{s} \\subseteq B_{s}$, and $j_{s} \\in A_{s-1}, j_{s}+250 \\in A_{s+1}$. So, $B_{s}$ covers the whole segment between $A_{s-1}$ and $A_{s+1}$, hence the sets $B_{1}, \\ldots, B_{d}$ cover some 1000 consecutive indices. This implies $249 d \\geq 1000$, and $d \\geq 5$. Moreover, the gender of $A_{i}$ is alternating, so $d$ is even; therefore $d \\geq 6$. Consider now three segments $A_{1}=\\left[i_{1}, i_{1}^{\\prime}\\right], B_{2}=\\left[j_{2}+1, j_{2}+249\\right], A_{3}=\\left[i_{3}, i_{3}^{\\prime}\\right]$. By construction, we have $\\left[j_{2}-125, j_{2}\\right] \\subseteq A_{1}$ and $\\left[j_{2}+250, j_{2}+375\\right] \\subseteq A_{3}$, whence $i_{1} \\leq j_{2}-125, i_{3}^{\\prime} \\geq j_{2}+375$. Therefore $i_{3}^{\\prime}-i_{1} \\geq 500$. Analogously, if $A_{4}=\\left[i_{4}, i_{4}^{\\prime}\\right], A_{6}=\\left[i_{6}, i_{6}^{\\prime}\\right]$ then $i_{6}^{\\prime}-i_{4} \\geq 500$. But from $d \\geq 6$ we get $i_{1}<i_{3}^{\\prime}<i_{4}<i_{6}^{\\prime}<i_{1}+1000$, so $1000>\\left(i_{3}^{\\prime}-i_{1}\\right)+\\left(i_{6}^{\\prime}-i_{4}\\right) \\geq 500+500$. This final contradiction shows that our claim holds. One may even show that the interval in the statement of the problem may be replaced by $[125,249]$ (both these numbers cannot be improved due to the examples above). But a proof of this fact is a bit messy, and we do not present it here.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $\\mathcal{S}$ be a finite set of at least two points in the plane. Assume that no three points of $\\mathcal{S}$ are collinear. By a windmill we mean a process as follows. Start with a line $\\ell$ going through a point $P \\in \\mathcal{S}$. Rotate $\\ell$ clockwise around the pivot $P$ until the line contains another point $Q$ of $\\mathcal{S}$. The point $Q$ now takes over as the new pivot. This process continues indefinitely, with the pivot always being a point from $\\mathcal{S}$. Show that for a suitable $P \\in \\mathcal{S}$ and a suitable starting line $\\ell$ containing $P$, the resulting windmill will visit each point of $\\mathcal{S}$ as a pivot infinitely often.", "solution": "Give the rotating line an orientation and distinguish its sides as the oranje side and the blue side. Notice that whenever the pivot changes from some point $T$ to another point $U$, after the change, $T$ is on the same side as $U$ was before. Therefore, the number of elements of $\\mathcal{S}$ on the oranje side and the number of those on the blue side remain the same throughout the whole process (except for those moments when the line contains two points). ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-32.jpg?height=422&width=1108&top_left_y=1198&top_left_x=474) First consider the case that $|\\mathcal{S}|=2 n+1$ is odd. We claim that through any point $T \\in \\mathcal{S}$, there is a line that has $n$ points on each side. To see this, choose an oriented line through $T$ containing no other point of $\\mathcal{S}$ and suppose that it has $n+r$ points on its oranje side. If $r=0$ then we have established the claim, so we may assume that $r \\neq 0$. As the line rotates through $180^{\\circ}$ around $T$, the number of points of $\\mathcal{S}$ on its oranje side changes by 1 whenever the line passes through a point; after $180^{\\circ}$, the number of points on the oranje side is $n-r$. Therefore there is an intermediate stage at which the oranje side, and thus also the blue side, contains $n$ points. Now select the point $P$ arbitrarily, and choose a line through $P$ that has $n$ points of $\\mathcal{S}$ on each side to be the initial state of the windmill. We will show that during a rotation over $180^{\\circ}$, the line of the windmill visits each point of $\\mathcal{S}$ as a pivot. To see this, select any point $T$ of $\\mathcal{S}$ and select a line $\\ell$ through $T$ that separates $\\mathcal{S}$ into equal halves. The point $T$ is the unique point of $\\mathcal{S}$ through which a line in this direction can separate the points of $\\mathcal{S}$ into equal halves (parallel translation would disturb the balance). Therefore, when the windmill line is parallel to $\\ell$, it must be $\\ell$ itself, and so pass through $T$. Next suppose that $|\\mathcal{S}|=2 n$. Similarly to the odd case, for every $T \\in \\mathcal{S}$ there is an oriented line through $T$ with $n-1$ points on its oranje side and $n$ points on its blue side. Select such an oriented line through an arbitrary $P$ to be the initial state of the windmill. We will now show that during a rotation over $360^{\\circ}$, the line of the windmill visits each point of $\\mathcal{S}$ as a pivot. To see this, select any point $T$ of $\\mathcal{S}$ and an oriented line $\\ell$ through $T$ that separates $\\mathcal{S}$ into two subsets with $n-1$ points on its oranje and $n$ points on its blue side. Again, parallel translation would change the numbers of points on the two sides, so when the windmill line is parallel to $\\ell$ with the same orientation, the windmill line must pass through $T$. Comment. One may shorten this solution in the following way. Suppose that $|\\mathcal{S}|=2 n+1$. Consider any line $\\ell$ that separates $\\mathcal{S}$ into equal halves; this line is unique given its direction and contains some point $T \\in \\mathcal{S}$. Consider the windmill starting from this line. When the line has made a rotation of $180^{\\circ}$, it returns to the same location but the oranje side becomes blue and vice versa. So, for each point there should have been a moment when it appeared as pivot, as this is the only way for a point to pass from on side to the other. Now suppose that $|\\mathcal{S}|=2 n$. Consider a line having $n-1$ and $n$ points on the two sides; it contains some point $T$. Consider the windmill starting from this line. After having made a rotation of $180^{\\circ}$, the windmill line contains some different point $R$, and each point different from $T$ and $R$ has changed the color of its side. So, the windmill should have passed through all the points. ## $\\mathrm{C} 4$ Determine the greatest positive integer $k$ that satisfies the following property: The set of positive integers can be partitioned into $k$ subsets $A_{1}, A_{2}, \\ldots, A_{k}$ such that for all integers $n \\geq 15$ and all $i \\in\\{1,2, \\ldots, k\\}$ there exist two distinct elements of $A_{i}$ whose sum is $n$. Answer. The greatest such number $k$ is 3 .", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $\\mathcal{S}$ be a finite set of at least two points in the plane. Assume that no three points of $\\mathcal{S}$ are collinear. By a windmill we mean a process as follows. Start with a line $\\ell$ going through a point $P \\in \\mathcal{S}$. Rotate $\\ell$ clockwise around the pivot $P$ until the line contains another point $Q$ of $\\mathcal{S}$. The point $Q$ now takes over as the new pivot. This process continues indefinitely, with the pivot always being a point from $\\mathcal{S}$. Show that for a suitable $P \\in \\mathcal{S}$ and a suitable starting line $\\ell$ containing $P$, the resulting windmill will visit each point of $\\mathcal{S}$ as a pivot infinitely often.", "solution": "There are various examples showing that $k=3$ does indeed have the property under consideration. E.g. one can take $$ \\begin{gathered} A_{1}=\\{1,2,3\\} \\cup\\{3 m \\mid m \\geq 4\\}, \\\\ A_{2}=\\{4,5,6\\} \\cup\\{3 m-1 \\mid m \\geq 4\\}, \\\\ A_{3}=\\{7,8,9\\} \\cup\\{3 m-2 \\mid m \\geq 4\\} \\end{gathered} $$ To check that this partition fits, we notice first that the sums of two distinct elements of $A_{i}$ obviously represent all numbers $n \\geq 1+12=13$ for $i=1$, all numbers $n \\geq 4+11=15$ for $i=2$, and all numbers $n \\geq 7+10=17$ for $i=3$. So, we are left to find representations of the numbers 15 and 16 as sums of two distinct elements of $A_{3}$. These are $15=7+8$ and $16=7+9$. Let us now suppose that for some $k \\geq 4$ there exist sets $A_{1}, A_{2}, \\ldots, A_{k}$ satisfying the given property. Obviously, the sets $A_{1}, A_{2}, A_{3}, A_{4} \\cup \\cdots \\cup A_{k}$ also satisfy the same property, so one may assume $k=4$. Put $B_{i}=A_{i} \\cap\\{1,2, \\ldots, 23\\}$ for $i=1,2,3,4$. Now for any index $i$ each of the ten numbers $15,16, \\ldots, 24$ can be written as sum of two distinct elements of $B_{i}$. Therefore this set needs to contain at least five elements. As we also have $\\left|B_{1}\\right|+\\left|B_{2}\\right|+\\left|B_{3}\\right|+\\left|B_{4}\\right|=23$, there has to be some index $j$ for which $\\left|B_{j}\\right|=5$. Let $B_{j}=\\left\\{x_{1}, x_{2}, x_{3}, x_{4}, x_{5}\\right\\}$. Finally, now the sums of two distinct elements of $A_{j}$ representing the numbers $15,16, \\ldots, 24$ should be exactly all the pairwise sums of the elements of $B_{j}$. Calculating the sum of these numbers in two different ways, we reach $$ 4\\left(x_{1}+x_{2}+x_{3}+x_{4}+x_{5}\\right)=15+16+\\ldots+24=195 . $$ Thus the number 195 should be divisible by 4 , which is false. This contradiction completes our solution. Comment. There are several variation of the proof that $k$ should not exceed 3. E.g., one may consider the sets $C_{i}=A_{i} \\cap\\{1,2, \\ldots, 19\\}$ for $i=1,2,3,4$. As in the previous solution one can show that for some index $j$ one has $\\left|C_{j}\\right|=4$, and the six pairwise sums of the elements of $C_{j}$ should represent all numbers $15,16, \\ldots, 20$. Let $C_{j}=\\left\\{y_{1}, y_{2}, y_{3}, y_{4}\\right\\}$ with $y_{1}<y_{2}<y_{3}<y_{4}$. It is not hard to deduce $C_{j}=\\{7,8,9,11\\}$, so in particular we have $1 \\notin C_{j}$. Hence it is impossible to represent 21 as sum of two distinct elements of $A_{j}$, which completes our argument.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C3", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $\\mathcal{S}$ be a finite set of at least two points in the plane. Assume that no three points of $\\mathcal{S}$ are collinear. By a windmill we mean a process as follows. Start with a line $\\ell$ going through a point $P \\in \\mathcal{S}$. Rotate $\\ell$ clockwise around the pivot $P$ until the line contains another point $Q$ of $\\mathcal{S}$. The point $Q$ now takes over as the new pivot. This process continues indefinitely, with the pivot always being a point from $\\mathcal{S}$. Show that for a suitable $P \\in \\mathcal{S}$ and a suitable starting line $\\ell$ containing $P$, the resulting windmill will visit each point of $\\mathcal{S}$ as a pivot infinitely often.", "solution": "Again we only prove that $k \\leq 3$. Assume that $A_{1}, A_{2}, \\ldots, A_{k}$ is a partition satisfying the given property. We construct a graph $\\mathcal{G}$ on the set $V=\\{1,2, \\ldots, 18\\}$ of vertices as follows. For each $i \\in\\{1,2, \\ldots, k\\}$ and each $d \\in\\{15,16,17,19\\}$ we choose one pair of distinct elements $a, b \\in A_{i}$ with $a+b=d$, and we draw an edge in the $i^{\\text {th }}$ color connecting $a$ with $b$. By hypothesis, $\\mathcal{G}$ has exactly 4 edges of each color. Claim. The graph $\\mathcal{G}$ contains at most one circuit. Proof. Note that all the connected components of $\\mathcal{G}$ are monochromatic and hence contain at most four edges. Thus also all circuits of $\\mathcal{G}$ are monochromatic and have length at most four. Moreover, each component contains at most one circuit since otherwise it should contain at least five edges. Suppose that there is a 4-cycle in $\\mathcal{G}$, say with vertices $a, b, c$, and $d$ in order. Then $\\{a+b, b+$ $c, c+d, d+a\\}=\\{15,16,17,19\\}$. Taking sums we get $2(a+b+c+d)=15+16+17+19$ which is impossible for parity reasons. Thus all circuits of $\\mathcal{G}$ are triangles. Now if the vertices $a, b$, and $c$ form such a triangle, then by a similar reasoning the set $\\{a+b, b+$ $c, c+a\\}$ coincides with either $\\{15,16,17\\}$, or $\\{15,16,19\\}$, or $\\{16,17,19\\}$, or $\\{15,17,19\\}$. The last of these alternatives can be excluded for parity reasons again, whilst in the first three cases the set $\\{a, b, c\\}$ appears to be either $\\{7,8,9\\}$, or $\\{6,9,10\\}$, or $\\{7,9,10\\}$, respectively. Thus, a component containing a circuit should contain 9 as a vertex. Therefore there is at most one such component and hence at most one circuit. By now we know that $\\mathcal{G}$ is a graph with $4 k$ edges, at least $k$ components and at most one circuit. Consequently, $\\mathcal{G}$ must have at least $4 k+k-1$ vertices. Thus $5 k-1 \\leq 18$, and $k \\leq 3$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C5", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $m$ be a positive integer and consider a checkerboard consisting of $m$ by $m$ unit squares. At the midpoints of some of these unit squares there is an ant. At time 0 , each ant starts moving with speed 1 parallel to some edge of the checkerboard. When two ants moving in opposite directions meet, they both turn $90^{\\circ}$ clockwise and continue moving with speed 1 . When more than two ants meet, or when two ants moving in perpendicular directions meet, the ants continue moving in the same direction as before they met. When an ant reaches one of the edges of the checkerboard, it falls off and will not re-appear. Considering all possible starting positions, determine the latest possible moment at which the last ant falls off the checkerboard or prove that such a moment does not necessarily exist. Antswer. The latest possible moment for the last ant to fall off is $\\frac{3 m}{2}-1$.", "solution": "For $m=1$ the answer is clearly correct, so assume $m>1$. In the sequel, the word collision will be used to denote meeting of exactly two ants, moving in opposite directions. If at the beginning we place an ant on the southwest corner square facing east and an ant on the southeast corner square facing west, then they will meet in the middle of the bottom row at time $\\frac{m-1}{2}$. After the collision, the ant that moves to the north will stay on the board for another $m-\\frac{1}{2}$ time units and thus we have established an example in which the last ant falls off at time $\\frac{m-1}{2}+m-\\frac{1}{2}=\\frac{3 m}{2}-1$. So, we are left to prove that this is the latest possible moment. Consider any collision of two ants $a$ and $a^{\\prime}$. Let us change the rule for this collision, and enforce these two ants to turn anticlockwise. Then the succeeding behavior of all the ants does not change; the only difference is that $a$ and $a^{\\prime}$ swap their positions. These arguments may be applied to any collision separately, so we may assume that at any collision, either both ants rotate clockwise or both of them rotate anticlockwise by our own choice. For instance, we may assume that there are only two types of ants, depending on their initial direction: $N E$-ants, which move only north or east, and $S W$-ants, moving only south and west. Then we immediately obtain that all ants will have fallen off the board after $2 m-1$ time units. However, we can get a better bound by considering the last moment at which a given ant collides with another ant. Choose a coordinate system such that the corners of the checkerboard are $(0,0),(m, 0),(m, m)$ and $(0, m)$. At time $t$, there will be no NE-ants in the region $\\{(x, y): x+y<t+1\\}$ and no $\\mathrm{SW}$-ants in the region $\\{(x, y): x+y>2 m-t-1\\}$. So if two ants collide at $(x, y)$ at time $t$, we have $$ t+1 \\leq x+y \\leq 2 m-t-1 $$ Analogously, we may change the rules so that each ant would move either alternatingly north and west, or alternatingly south and east. By doing so, we find that apart from (1) we also have $|x-y| \\leq m-t-1$ for each collision at point $(x, y)$ and time $t$. To visualize this, put $$ B(t)=\\left\\{(x, y) \\in[0, m]^{2}: t+1 \\leq x+y \\leq 2 m-t-1 \\text { and }|x-y| \\leq m-t-1\\right\\} . $$ An ant can thus only collide with another ant at time $t$ if it happens to be in the region $B(t)$. The following figure displays $B(t)$ for $t=\\frac{1}{2}$ and $t=\\frac{7}{2}$ in the case $m=6$ : ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-37.jpg?height=622&width=623&top_left_y=771&top_left_x=722) Now suppose that an NE-ant has its last collision at time $t$ and that it does so at the point $(x, y)$ (if the ant does not collide at all, it will fall off the board within $m-\\frac{1}{2}<\\frac{3 m}{2}-1$ time units, so this case can be ignored). Then we have $(x, y) \\in B(t)$ and thus $x+y \\geq t+1$ and $x-y \\geq-(m-t-1)$. So we get $$ x \\geq \\frac{(t+1)-(m-t-1)}{2}=t+1-\\frac{m}{2} $$ By symmetry we also have $y \\geq t+1-\\frac{m}{2}$, and hence $\\min \\{x, y\\} \\geq t+1-\\frac{m}{2}$. After this collision, the ant will move directly to an edge, which will take at $\\operatorname{most} m-\\min \\{x, y\\}$ units of time. In sum, the total amount of time the ant stays on the board is at most $$ t+(m-\\min \\{x, y\\}) \\leq t+m-\\left(t+1-\\frac{m}{2}\\right)=\\frac{3 m}{2}-1 $$ By symmetry, the same bound holds for $\\mathrm{SW}$-ants as well.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "On a square table of 2011 by 2011 cells we place a finite number of napkins that each cover a square of 52 by 52 cells. In each cell we write the number of napkins covering it, and we record the maximal number $k$ of cells that all contain the same nonzero number. Considering all possible napkin configurations, what is the largest value of $k$ ? Answer. $2011^{2}-\\left(\\left(52^{2}-35^{2}\\right) \\cdot 39-17^{2}\\right)=4044121-57392=3986729$.", "solution": "Let $m=39$, then $2011=52 m-17$. We begin with an example showing that there can exist 3986729 cells carrying the same positive number. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-40.jpg?height=577&width=580&top_left_y=1022&top_left_x=744) To describe it, we number the columns from the left to the right and the rows from the bottom to the top by $1,2, \\ldots, 2011$. We will denote each napkin by the coordinates of its lowerleft cell. There are four kinds of napkins: first, we take all napkins $(52 i+36,52 j+1)$ with $0 \\leq j \\leq i \\leq m-2$; second, we use all napkins $(52 i+1,52 j+36)$ with $0 \\leq i \\leq j \\leq m-2$; third, we use all napkins $(52 i+36,52 i+36)$ with $0 \\leq i \\leq m-2$; and finally the napkin $(1,1)$. Different groups of napkins are shown by different types of hatchings in the picture. Now except for those squares that carry two or more different hatchings, all squares have the number 1 written into them. The number of these exceptional cells is easily computed to be $\\left(52^{2}-35^{2}\\right) m-17^{2}=57392$. We are left to prove that 3986729 is an upper bound for the number of cells containing the same number. Consider any configuration of napkins and any positive integer $M$. Suppose there are $g$ cells with a number different from $M$. Then it suffices to show $g \\geq 57392$. Throughout the solution, a line will mean either a row or a column. Consider any line $\\ell$. Let $a_{1}, \\ldots, a_{52 m-17}$ be the numbers written into its consecutive cells. For $i=1,2, \\ldots, 52$, let $s_{i}=\\sum_{t \\equiv i(\\bmod 52)} a_{t}$. Note that $s_{1}, \\ldots, s_{35}$ have $m$ terms each, while $s_{36}, \\ldots, s_{52}$ have $m-1$ terms each. Every napkin intersecting $\\ell$ contributes exactly 1 to each $s_{i}$; hence the number $s$ of all those napkins satisfies $s_{1}=\\cdots=s_{52}=s$. Call the line $\\ell$ rich if $s>(m-1) M$ and poor otherwise. Suppose now that $\\ell$ is rich. Then in each of the sums $s_{36}, \\ldots, s_{52}$ there exists a term greater than $M$; consider all these terms and call the corresponding cells the rich bad cells for this line. So, each rich line contains at least 17 cells that are bad for this line. If, on the other hand, $\\ell$ is poor, then certainly $s<m M$ so in each of the sums $s_{1}, \\ldots, s_{35}$ there exists a term less than $M$; consider all these terms and call the corresponding cells the poor bad cells for this line. So, each poor line contains at least 35 cells that are bad for this line. Let us call all indices congruent to $1,2, \\ldots$, or 35 modulo 52 small, and all other indices, i.e. those congruent to $36,37, \\ldots$, or 52 modulo 52 , big. Recall that we have numbered the columns from the left to the right and the rows from the bottom to the top using the numbers $1,2, \\ldots, 52 m-17$; we say that a line is big or small depending on whether its index is big or small. By definition, all rich bad cells for the rows belong to the big columns, while the poor ones belong to the small columns, and vice versa. In each line, we put a strawberry on each cell that is bad for this line. In addition, for each small rich line we put an extra strawberry on each of its (rich) bad cells. A cell gets the strawberries from its row and its column independently. Notice now that a cell with a strawberry on it contains a number different from $M$. If this cell gets a strawberry by the extra rule, then it contains a number greater than $M$. Moreover, it is either in a small row and in a big column, or vice versa. Suppose that it is in a small row, then it is not bad for its column. So it has not more than two strawberries in this case. On the other hand, if the extra rule is not applied to some cell, then it also has not more than two strawberries. So, the total number $N$ of strawberries is at most $2 g$. We shall now estimate $N$ in a different way. For each of the $2 \\cdot 35 m$ small lines, we have introduced at least 34 strawberries if it is rich and at least 35 strawberries if it is poor, so at least 34 strawberries in any case. Similarly, for each of the $2 \\cdot 17(m-1)$ big lines, we put at least $\\min (17,35)=17$ strawberries. Summing over all lines we obtain $$ 2 g \\geq N \\geq 2(35 m \\cdot 34+17(m-1) \\cdot 17)=2(1479 m-289)=2 \\cdot 57392 $$ as desired. Comment. The same reasoning applies also if we replace 52 by $R$ and 2011 by $R m-H$, where $m, R$, and $H$ are integers with $m, R \\geq 1$ and $0 \\leq H \\leq \\frac{1}{3} R$. More detailed information is provided after the next solution.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "C7", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "On a square table of 2011 by 2011 cells we place a finite number of napkins that each cover a square of 52 by 52 cells. In each cell we write the number of napkins covering it, and we record the maximal number $k$ of cells that all contain the same nonzero number. Considering all possible napkin configurations, what is the largest value of $k$ ? Answer. $2011^{2}-\\left(\\left(52^{2}-35^{2}\\right) \\cdot 39-17^{2}\\right)=4044121-57392=3986729$.", "solution": "We present a different proof of the estimate which is the hard part of the problem. Let $S=35, H=17, m=39$; so the table size is $2011=S m+H(m-1)$, and the napkin size is $52=S+H$. Fix any positive integer $M$ and call a cell vicious if it contains a number distinct from $M$. We will prove that there are at least $H^{2}(m-1)+2 S H m$ vicious cells. Firstly, we introduce some terminology. As in the previous solution, we number rows and columns and we use the same notions of small and big indices and lines; so, an index is small if it is congruent to one of the numbers $1,2, \\ldots, S$ modulo $(S+H)$. The numbers $1,2, \\ldots, S+H$ will be known as residues. For two residues $i$ and $j$, we say that a cell is of type $(i, j)$ if the index of its row is congruent to $i$ and the index of its column to $j$ modulo $(S+H)$. The number of vicious cells of this type is denoted by $v_{i j}$. Let $s, s^{\\prime}$ be two variables ranging over small residues and let $h, h^{\\prime}$ be two variables ranging over big residues. A cell is said to be of class $A, B, C$, or $D$ if its type is of shape $\\left(s, s^{\\prime}\\right),(s, h),(h, s)$, or $\\left(h, h^{\\prime}\\right)$, respectively. The numbers of vicious cells belonging to these classes are denoted in this order by $a, b, c$, and $d$. Observe that each cell belongs to exactly one class. Claim 1. We have $$ m \\leq \\frac{a}{S^{2}}+\\frac{b+c}{2 S H} $$ Proof. Consider an arbitrary small row $r$. Denote the numbers of vicious cells on $r$ belonging to the classes $A$ and $B$ by $\\alpha$ and $\\beta$, respectively. As in the previous solution, we obtain that $\\alpha \\geq S$ or $\\beta \\geq H$. So in each case we have $\\frac{\\alpha}{S}+\\frac{\\beta}{H} \\geq 1$. Performing this argument separately for each small row and adding up all the obtained inequalities, we get $\\frac{a}{S}+\\frac{b}{H} \\geq m S$. Interchanging rows and columns we similarly get $\\frac{a}{S}+\\frac{c}{H} \\geq m S$. Summing these inequalities and dividing by $2 S$ we get what we have claimed. Claim 2. Fix two small residue $s, s^{\\prime}$ and two big residues $h, h^{\\prime}$. Then $2 m-1 \\leq v_{s s^{\\prime}}+v_{s h^{\\prime}}+v_{h h^{\\prime}}$. Proof. Each napkin covers exactly one cell of type $\\left(s, s^{\\prime}\\right)$. Removing all napkins covering a vicious cell of this type, we get another collection of napkins, which covers each cell of type $\\left(s, s^{\\prime}\\right)$ either 0 or $M$ times depending on whether the cell is vicious or not. Hence $\\left(m^{2}-v_{s s^{\\prime}}\\right) M$ napkins are left and throughout the proof of Claim 2 we will consider only these remaining napkins. Now, using a red pen, write in each cell the number of napkins covering it. Notice that a cell containing a red number greater than $M$ is surely vicious. We call two cells neighbors if they can be simultaneously covered by some napkin. So, each cell of type $\\left(h, h^{\\prime}\\right)$ has not more than four neighbors of type $\\left(s, s^{\\prime}\\right)$, while each cell of type $\\left(s, h^{\\prime}\\right)$ has not more than two neighbors of each of the types $\\left(s, s^{\\prime}\\right)$ and $\\left(h, h^{\\prime}\\right)$. Therefore, each red number at a cell of type $\\left(h, h^{\\prime}\\right)$ does not exceed $4 M$, while each red number at a cell of type $\\left(s, h^{\\prime}\\right)$ does not exceed $2 M$. Let $x, y$, and $z$ be the numbers of cells of type $\\left(h, h^{\\prime}\\right)$ whose red number belongs to $(M, 2 M]$, $(2 M, 3 M]$, and $(3 M, 4 M]$, respectively. All these cells are vicious, hence $x+y+z \\leq v_{h h^{\\prime}}$. The red numbers appearing in cells of type $\\left(h, h^{\\prime}\\right)$ clearly sum up to $\\left(m^{2}-v_{s s^{\\prime}}\\right) M$. Bounding each of these numbers by a multiple of $M$ we get $$ \\left(m^{2}-v_{s s^{\\prime}}\\right) M \\leq\\left((m-1)^{2}-(x+y+z)\\right) M+2 x M+3 y M+4 z M $$ i.e. $$ 2 m-1 \\leq v_{s s^{\\prime}}+x+2 y+3 z \\leq v_{s s^{\\prime}}+v_{h h^{\\prime}}+y+2 z $$ So, to prove the claim it suffices to prove that $y+2 z \\leq v_{s h^{\\prime}}$. For a cell $\\delta$ of type $\\left(h, h^{\\prime}\\right)$ and a cell $\\beta$ of type $\\left(s, h^{\\prime}\\right)$ we say that $\\delta$ forces $\\beta$ if there are more than $M$ napkins covering both of them. Since each red number in a cell of type $\\left(s, h^{\\prime}\\right)$ does not exceed $2 M$, it cannot be forced by more than one cell. On the other hand, if a red number in a $\\left(h, h^{\\prime}\\right)$-cell belongs to $(2 M, 3 M]$, then it forces at least one of its neighbors of type $\\left(s, h^{\\prime}\\right)$ (since the sum of red numbers in their cells is greater than $2 M)$. Analogously, an $\\left(h, h^{\\prime}\\right)$-cell with the red number in $(3 M, 4 M]$ forces both its neighbors of type $\\left(s, h^{\\prime}\\right)$, since their red numbers do not exceed $2 M$. Therefore there are at least $y+2 z$ forced cells and clearly all of them are vicious, as desired. Claim 3. We have $$ 2 m-1 \\leq \\frac{a}{S^{2}}+\\frac{b+c}{2 S H}+\\frac{d}{H^{2}} $$ Proof. Averaging the previous result over all $S^{2} H^{2}$ possibilities for the quadruple $\\left(s, s^{\\prime}, h, h^{\\prime}\\right)$, we get $2 m-1 \\leq \\frac{a}{S^{2}}+\\frac{b}{S H}+\\frac{d}{H^{2}}$. Due to the symmetry between rows and columns, the same estimate holds with $b$ replaced by $c$. Averaging these two inequalities we arrive at our claim. Now let us multiply (2) by $H^{2}$, multiply (II) by $\\left(2 S H-H^{2}\\right)$ and add them; we get $H^{2}(2 m-1)+\\left(2 S H-H^{2}\\right) m \\leq a \\cdot \\frac{H^{2}+2 S H-H^{2}}{S^{2}}+(b+c) \\frac{H^{2}+2 S H-H^{2}}{2 S H}+d=a \\cdot \\frac{2 H}{S}+b+c+d$. The left-hand side is exactly $H^{2}(m-1)+2 S H m$, while the right-hand side does not exceed $a+b+c+d$ since $2 H \\leq S$. Hence we come to the desired inequality. Comment 1. Claim 2 is the key difference between the two solutions, because it allows to get rid of the notions of rich and poor cells. However, one may prove it by the \"strawberry method\" as well. It suffices to put a strawberry on each cell which is bad for an $s$-row, and a strawberry on each cell which is bad for an $h^{\\prime}$-column. Then each cell would contain not more than one strawberry. Comment 2. Both solutions above work if the residue of the table size $T$ modulo the napkin size $R$ is at least $\\frac{2}{3} R$, or equivalently if $T=S m+H(m-1)$ and $R=S+H$ for some positive integers $S, H$, $m$ such that $S \\geq 2 H$. Here we discuss all other possible combinations. Case 1. If $2 H \\geq S \\geq H / 2$, then the sharp bound for the number of vicious cells is $m S^{2}+(m-1) H^{2}$; it can be obtained by the same methods as in any of the solutions. To obtain an example showing that the bound is sharp, one may simply remove the napkins of the third kind from the example in Solution 1 (with an obvious change in the numbers). Case 2. If $2 S \\leq H$, the situation is more difficult. If $(S+H)^{2}>2 H^{2}$, then the answer and the example are the same as in the previous case; otherwise the answer is $(2 m-1) S^{2}+2 S H(m-1)$, and the example is provided simply by $(m-1)^{2}$ nonintersecting napkins. Now we sketch the proof of both estimates for Case 2. We introduce a more appropriate notation based on that from Solution 2. Denote by $a_{-}$and $a_{+}$the number of cells of class $A$ that contain the number which is strictly less than $M$ and strictly greater than $M$, respectively. The numbers $b_{ \\pm}, c_{ \\pm}$, and $d_{ \\pm}$are defined in a similar way. One may notice that the proofs of Claim 1 and Claims 2, 3 lead in fact to the inequalities $$ m-1 \\leq \\frac{b_{-}+c_{-}}{2 S H}+\\frac{d_{+}}{H^{2}} \\quad \\text { and } \\quad 2 m-1 \\leq \\frac{a}{S^{2}}+\\frac{b_{+}+c_{+}}{2 S H}+\\frac{d_{+}}{H^{2}} $$ (to obtain the first one, one needs to look at the big lines instead of the small ones). Combining these inequalities, one may obtain the desired estimates. These estimates can also be proved in some different ways, e.g. without distinguishing rich and poor cells.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G1", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle. Let $\\omega$ be a circle whose center $L$ lies on the side $B C$. Suppose that $\\omega$ is tangent to $A B$ at $B^{\\prime}$ and to $A C$ at $C^{\\prime}$. Suppose also that the circumcenter $O$ of the triangle $A B C$ lies on the shorter arc $B^{\\prime} C^{\\prime}$ of $\\omega$. Prove that the circumcircle of $A B C$ and $\\omega$ meet at two points.", "solution": "The point $B^{\\prime}$, being the perpendicular foot of $L$, is an interior point of side $A B$. Analogously, $C^{\\prime}$ lies in the interior of $A C$. The point $O$ is located inside the triangle $A B^{\\prime} C^{\\prime}$, hence $\\angle C O B<\\angle C^{\\prime} O B^{\\prime}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-45.jpg?height=837&width=674&top_left_y=895&top_left_x=697) Let $\\alpha=\\angle C A B$. The angles $\\angle C A B$ and $\\angle C^{\\prime} O B^{\\prime}$ are inscribed into the two circles with centers $O$ and $L$, respectively, so $\\angle C O B=2 \\angle C A B=2 \\alpha$ and $2 \\angle C^{\\prime} O B^{\\prime}=360^{\\circ}-\\angle C^{\\prime} L B^{\\prime}$. From the kite $A B^{\\prime} L C^{\\prime}$ we have $\\angle C^{\\prime} L B^{\\prime}=180^{\\circ}-\\angle C^{\\prime} A B^{\\prime}=180^{\\circ}-\\alpha$. Combining these, we get $$ 2 \\alpha=\\angle C O B<\\angle C^{\\prime} O B^{\\prime}=\\frac{360^{\\circ}-\\angle C^{\\prime} L B^{\\prime}}{2}=\\frac{360^{\\circ}-\\left(180^{\\circ}-\\alpha\\right)}{2}=90^{\\circ}+\\frac{\\alpha}{2}, $$ So $$ \\alpha<60^{\\circ} \\text {. } $$ Let $O^{\\prime}$ be the reflection of $O$ in the line $B C$. In the quadrilateral $A B O^{\\prime} C$ we have $$ \\angle C O^{\\prime} B+\\angle C A B=\\angle C O B+\\angle C A B=2 \\alpha+\\alpha<180^{\\circ}, $$ so the point $O^{\\prime}$ is outside the circle $A B C$. Hence, $O$ and $O^{\\prime}$ are two points of $\\omega$ such that one of them lies inside the circumcircle, while the other one is located outside. Therefore, the two circles intersect. Comment. There are different ways of reducing the statement of the problem to the case $\\alpha<60^{\\circ}$. E.g., since the point $O$ lies in the interior of the isosceles triangle $A B^{\\prime} C^{\\prime}$, we have $O A<A B^{\\prime}$. So, if $A B^{\\prime} \\leq 2 L B^{\\prime}$ then $O A<2 L O$, which means that $\\omega$ intersects the circumcircle of $A B C$. Hence the only interesting case is $A B^{\\prime}>2 L B^{\\prime}$, and this condition implies $\\angle C A B=2 \\angle B^{\\prime} A L<2 \\cdot 30^{\\circ}=60^{\\circ}$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G8", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle with circumcircle $\\omega$. Let $t$ be a tangent line to $\\omega$. Let $t_{a}, t_{b}$, and $t_{c}$ be the lines obtained by reflecting $t$ in the lines $B C, C A$, and $A B$, respectively. Show that the circumcircle of the triangle determined by the lines $t_{a}, t_{b}$, and $t_{c}$ is tangent to the circle $\\omega$. To avoid a large case distinction, we will use the notion of oriented angles. Namely, for two lines $\\ell$ and $m$, we denote by $\\angle(\\ell, m)$ the angle by which one may rotate $\\ell$ anticlockwise to obtain a line parallel to $m$. Thus, all oriented angles are considered modulo $180^{\\circ}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-61.jpg?height=1090&width=1676&top_left_y=820&top_left_x=196)", "solution": "Denote by $T$ the point of tangency of $t$ and $\\omega$. Let $A^{\\prime}=t_{b} \\cap t_{c}, B^{\\prime}=t_{a} \\cap t_{c}$, $C^{\\prime}=t_{a} \\cap t_{b}$. Introduce the point $A^{\\prime \\prime}$ on $\\omega$ such that $T A=A A^{\\prime \\prime}\\left(A^{\\prime \\prime} \\neq T\\right.$ unless $T A$ is a diameter). Define the points $B^{\\prime \\prime}$ and $C^{\\prime \\prime}$ in a similar way. Since the points $C$ and $B$ are the midpoints of arcs $T C^{\\prime \\prime}$ and $T B^{\\prime \\prime}$, respectively, we have $$ \\begin{aligned} \\angle\\left(t, B^{\\prime \\prime} C^{\\prime \\prime}\\right) & =\\angle\\left(t, T C^{\\prime \\prime}\\right)+\\angle\\left(T C^{\\prime \\prime}, B^{\\prime \\prime} C^{\\prime \\prime}\\right)=2 \\angle(t, T C)+2 \\angle\\left(T C^{\\prime \\prime}, B C^{\\prime \\prime}\\right) \\\\ & =2(\\angle(t, T C)+\\angle(T C, B C))=2 \\angle(t, B C)=\\angle\\left(t, t_{a}\\right) . \\end{aligned} $$ It follows that $t_{a}$ and $B^{\\prime \\prime} C^{\\prime \\prime}$ are parallel. Similarly, $t_{b} \\| A^{\\prime \\prime} C^{\\prime \\prime}$ and $t_{c} \\| A^{\\prime \\prime} B^{\\prime \\prime}$. Thus, either the triangles $A^{\\prime} B^{\\prime} C^{\\prime}$ and $A^{\\prime \\prime} B^{\\prime \\prime} C^{\\prime \\prime}$ are homothetic, or they are translates of each other. Now we will prove that they are in fact homothetic, and that the center $K$ of the homothety belongs to $\\omega$. It would then follow that their circumcircles are also homothetic with respect to $K$ and are therefore tangent at this point, as desired. We need the two following claims. Claim 1. The point of intersection $X$ of the lines $B^{\\prime \\prime} C$ and $B C^{\\prime \\prime}$ lies on $t_{a}$. Proof. Actually, the points $X$ and $T$ are symmetric about the line $B C$, since the lines $C T$ and $C B^{\\prime \\prime}$ are symmetric about this line, as are the lines $B T$ and $B C^{\\prime \\prime}$. Claim 2. The point of intersection $I$ of the lines $B B^{\\prime}$ and $C C^{\\prime}$ lies on the circle $\\omega$. Proof. We consider the case that $t$ is not parallel to the sides of $A B C$; the other cases may be regarded as limit cases. Let $D=t \\cap B C, E=t \\cap A C$, and $F=t \\cap A B$. Due to symmetry, the line $D B$ is one of the angle bisectors of the lines $B^{\\prime} D$ and $F D$; analogously, the line $F B$ is one of the angle bisectors of the lines $B^{\\prime} F$ and $D F$. So $B$ is either the incenter or one of the excenters of the triangle $B^{\\prime} D F$. In any case we have $\\angle(B D, D F)+\\angle(D F, F B)+$ $\\angle\\left(B^{\\prime} B, B^{\\prime} D\\right)=90^{\\circ}$, so $$ \\angle\\left(B^{\\prime} B, B^{\\prime} C^{\\prime}\\right)=\\angle\\left(B^{\\prime} B, B^{\\prime} D\\right)=90^{\\circ}-\\angle(B C, D F)-\\angle(D F, B A)=90^{\\circ}-\\angle(B C, A B) \\text {. } $$ Analogously, we get $\\angle\\left(C^{\\prime} C, B^{\\prime} C^{\\prime}\\right)=90^{\\circ}-\\angle(B C, A C)$. Hence, $$ \\angle(B I, C I)=\\angle\\left(B^{\\prime} B, B^{\\prime} C^{\\prime}\\right)+\\angle\\left(B^{\\prime} C^{\\prime}, C^{\\prime} C\\right)=\\angle(B C, A C)-\\angle(B C, A B)=\\angle(A B, A C), $$ which means exactly that the points $A, B, I, C$ are concyclic. Now we can complete the proof. Let $K$ be the second intersection point of $B^{\\prime} B^{\\prime \\prime}$ and $\\omega$. Applying PASCAL's theorem to hexagon $K B^{\\prime \\prime} C I B C^{\\prime \\prime}$ we get that the points $B^{\\prime}=K B^{\\prime \\prime} \\cap I B$ and $X=B^{\\prime \\prime} C \\cap B C^{\\prime \\prime}$ are collinear with the intersection point $S$ of $C I$ and $C^{\\prime \\prime} K$. So $S=$ $C I \\cap B^{\\prime} X=C^{\\prime}$, and the points $C^{\\prime}, C^{\\prime \\prime}, K$ are collinear. Thus $K$ is the intersection point of $B^{\\prime} B^{\\prime \\prime}$ and $C^{\\prime} C^{\\prime \\prime}$ which implies that $K$ is the center of the homothety mapping $A^{\\prime} B^{\\prime} C^{\\prime}$ to $A^{\\prime \\prime} B^{\\prime \\prime} C^{\\prime \\prime}$, and it belongs to $\\omega$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "G8", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "Let $A B C$ be an acute triangle with circumcircle $\\omega$. Let $t$ be a tangent line to $\\omega$. Let $t_{a}, t_{b}$, and $t_{c}$ be the lines obtained by reflecting $t$ in the lines $B C, C A$, and $A B$, respectively. Show that the circumcircle of the triangle determined by the lines $t_{a}, t_{b}$, and $t_{c}$ is tangent to the circle $\\omega$. To avoid a large case distinction, we will use the notion of oriented angles. Namely, for two lines $\\ell$ and $m$, we denote by $\\angle(\\ell, m)$ the angle by which one may rotate $\\ell$ anticlockwise to obtain a line parallel to $m$. Thus, all oriented angles are considered modulo $180^{\\circ}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-61.jpg?height=1090&width=1676&top_left_y=820&top_left_x=196)", "solution": "Define the points $T, A^{\\prime}, B^{\\prime}$, and $C^{\\prime}$ in the same way as in the previous solution. Let $X, Y$, and $Z$ be the symmetric images of $T$ about the lines $B C, C A$, and $A B$, respectively. Note that the projections of $T$ on these lines form a Simson line of $T$ with respect to $A B C$, therefore the points $X, Y, Z$ are also collinear. Moreover, we have $X \\in B^{\\prime} C^{\\prime}, Y \\in C^{\\prime} A^{\\prime}$, $Z \\in A^{\\prime} B^{\\prime}$. Denote $\\alpha=\\angle(t, T C)=\\angle(B T, B C)$. Using the symmetry in the lines $A C$ and $B C$, we get $$ \\angle(B C, B X)=\\angle(B T, B C)=\\alpha \\quad \\text { and } \\quad \\angle\\left(X C, X C^{\\prime}\\right)=\\angle(t, T C)=\\angle\\left(Y C, Y C^{\\prime}\\right)=\\alpha . $$ Since $\\angle\\left(X C, X C^{\\prime}\\right)=\\angle\\left(Y C, Y C^{\\prime}\\right)$, the points $X, Y, C, C^{\\prime}$ lie on some circle $\\omega_{c}$. Define the circles $\\omega_{a}$ and $\\omega_{b}$ analogously. Let $\\omega^{\\prime}$ be the circumcircle of triangle $A^{\\prime} B^{\\prime} C^{\\prime}$. Now, applying Miquel's theorem to the four lines $A^{\\prime} B^{\\prime}, A^{\\prime} C^{\\prime}, B^{\\prime} C^{\\prime}$, and $X Y$, we obtain that the circles $\\omega^{\\prime}, \\omega_{a}, \\omega_{b}, \\omega_{c}$ intersect at some point $K$. We will show that $K$ lies on $\\omega$, and that the tangent lines to $\\omega$ and $\\omega^{\\prime}$ at this point coincide; this implies the problem statement. Due to symmetry, we have $X B=T B=Z B$, so the point $B$ is the midpoint of one of the $\\operatorname{arcs} X Z$ of circle $\\omega_{b}$. Therefore $\\angle(K B, K X)=\\angle(X Z, X B)$. Analogously, $\\angle(K X, K C)=$ $\\angle(X C, X Y)$. Adding these equalities and using the symmetry in the line $B C$ we get $$ \\angle(K B, K C)=\\angle(X Z, X B)+\\angle(X C, X Z)=\\angle(X C, X B)=\\angle(T B, T C) . $$ Therefore, $K$ lies on $\\omega$. Next, let $k$ be the tangent line to $\\omega$ at $K$. We have $$ \\begin{aligned} \\angle\\left(k, K C^{\\prime}\\right) & =\\angle(k, K C)+\\angle\\left(K C, K C^{\\prime}\\right)=\\angle(K B, B C)+\\angle\\left(X C, X C^{\\prime}\\right) \\\\ & =(\\angle(K B, B X)-\\angle(B C, B X))+\\alpha=\\angle\\left(K B^{\\prime}, B^{\\prime} X\\right)-\\alpha+\\alpha=\\angle\\left(K B^{\\prime}, B^{\\prime} C^{\\prime}\\right), \\end{aligned} $$ which means exactly that $k$ is tangent to $\\omega^{\\prime}$. ![](https://cdn.mathpix.com/cropped/2024_04_17_481ddb3576adc2313a2eg-63.jpg?height=1165&width=1219&top_left_y=1185&top_left_x=424) Comment. There exist various solutions combining the ideas from the two solutions presented above. For instance, one may define the point $X$ as the reflection of $T$ with respect to the line $B C$, and then introduce the point $K$ as the second intersection point of the circumcircles of $B B^{\\prime} X$ and $C C^{\\prime} X$. Using the fact that $B B^{\\prime}$ and $C C^{\\prime}$ are the bisectors of $\\angle\\left(A^{\\prime} B^{\\prime}, B^{\\prime} C^{\\prime}\\right)$ and $\\angle\\left(A^{\\prime} C^{\\prime}, B^{\\prime} C^{\\prime}\\right)$ one can show successively that $K \\in \\omega, K \\in \\omega^{\\prime}$, and that the tangents to $\\omega$ and $\\omega^{\\prime}$ at $K$ coincide.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}
{"year": "2011", "tier": "T0", "problem_label": "N4", "problem_type": "Number Theory", "exam": "IMO-SL", "problem": "For each positive integer $k$, let $t(k)$ be the largest odd divisor of $k$. Determine all positive integers $a$ for which there exists a positive integer $n$ such that all the differences $$ t(n+a)-t(n), \\quad t(n+a+1)-t(n+1), \\quad \\ldots, \\quad t(n+2 a-1)-t(n+a-1) $$ are divisible by 4 . Answer. $a=1,3$, or 5 .", "solution": "A pair $(a, n)$ satisfying the condition of the problem will be called a winning pair. It is straightforward to check that the pairs $(1,1),(3,1)$, and $(5,4)$ are winning pairs. Now suppose that $a$ is a positive integer not equal to 1,3 , and 5 . We will show that there are no winning pairs $(a, n)$ by distinguishing three cases. Case 1: $a$ is even. In this case we have $a=2^{\\alpha} d$ for some positive integer $\\alpha$ and some odd $d$. Since $a \\geq 2^{\\alpha}$, for each positive integer $n$ there exists an $i \\in\\{0,1, \\ldots, a-1\\}$ such that $n+i=2^{\\alpha-1} e$, where $e$ is some odd integer. Then we have $t(n+i)=t\\left(2^{\\alpha-1} e\\right)=e$ and $$ t(n+a+i)=t\\left(2^{\\alpha} d+2^{\\alpha-1} e\\right)=2 d+e \\equiv e+2 \\quad(\\bmod 4) . $$ So we get $t(n+i)-t(n+a+i) \\equiv 2(\\bmod 4)$, and $(a, n)$ is not a winning pair. Case 2: $a$ is odd and $a>8$. For each positive integer $n$, there exists an $i \\in\\{0,1, \\ldots, a-5\\}$ such that $n+i=2 d$ for some odd $d$. We get $$ t(n+i)=d \\not \\equiv d+2=t(n+i+4) \\quad(\\bmod 4) $$ and $$ t(n+a+i)=n+a+i \\equiv n+a+i+4=t(n+a+i+4) \\quad(\\bmod 4) $$ Therefore, the integers $t(n+a+i)-t(n+i)$ and $t(n+a+i+4)-t(n+i+4)$ cannot be both divisible by 4 , and therefore there are no winning pairs in this case. Case 3: $a=7$. For each positive integer $n$, there exists an $i \\in\\{0,1, \\ldots, 6\\}$ such that $n+i$ is either of the form $8 k+3$ or of the form $8 k+6$, where $k$ is a nonnegative integer. But we have $$ t(8 k+3) \\equiv 3 \\not \\equiv 1 \\equiv 4 k+5=t(8 k+3+7) \\quad(\\bmod 4) $$ and $$ t(8 k+6)=4 k+3 \\equiv 3 \\not \\equiv 1 \\equiv t(8 k+6+7) \\quad(\\bmod 4) . $$ Hence, there are no winning pairs of the form $(7, n)$.", "metadata": {"resource_path": "IMO_SL/segmented/en-IMO2011SL.jsonl"}}