{"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 ia_{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)1$, then (1) reads $f\\left(f^{g(x-1)}(x-1)\\right)n$. Substituting $x-1$ into (1) we have $f\\left(f^{g(x-1)}(x-1)\\right)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)<\\cdotsn$, 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}(c-b)(c+b)>a^{2}$. Now we turn to the induction step. Let $n>1$ and put $t=\\lfloor n / 2\\rfloor\\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}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}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(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}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+y2 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 i2^{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 $s2 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 A2 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 B0$, 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 dD_{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 $r8$. 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)0 $$ so $f(x-y) \\leq f(y)-f(x)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)0$, so $f(n+a) \\leq$ $f(a)-f(n)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 i0$ 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 i0$. 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 ia_{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)1$, then (1) reads $f\\left(f^{g(x-1)}(x-1)\\right)n$. Substituting $x-1$ into (1) we have $f\\left(f^{g(x-1)}(x-1)\\right)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)<\\cdotsn$, 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}\\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}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(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\\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}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+y2 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 $s2 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 A2 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"}}