![](https://cdn.mathpix.com/cropped/2024_06_05_527c55a525ffee97dfebg-01.jpg?height=331&width=374&top_left_y=286&top_left_x=247) # Problems and Solutions Problem 1. Let $a, b, c$ be non-zero real numbers such that $$ \begin{aligned} & a^{2}+b+c=\frac{1}{a} \\ & b^{2}+c+a=\frac{1}{b} \\ & c^{2}+a+b=\frac{1}{c} \end{aligned} $$ Prove that at least two of $a, b, c$ are equal. (Daniel Paleka) First Solution. Let's assume the opposite, i.e. $a, b$ and $c$ are pairwise non-equal. By subtracting the second equality from the first one, we obtain $$ \begin{aligned} \left(a^{2}+b+c\right)-\left(b^{2}+c+a\right) & =\frac{1}{a}-\frac{1}{b} \\ \left(a^{2}-b^{2}\right)+(b-a) & =\frac{b-a}{a b} \\ (a-b)(a+b)-(a-b)+\frac{a-b}{a b} & =0 \\ (a-b)\left(a+b-1+\frac{1}{a b}\right) & =0 \end{aligned} $$ Since $a \neq b$ we may conclude $$ a+b-1+\frac{1}{a b}=0 $$ 1 point. Similarly, subtracting the third equality from the second one, combined with $b \neq c$, gives us $$ b+c-1+\frac{1}{b c}=0 $$ 1 point. Expressions on the left side in (1) and (2) are both equal to 0 which specifically implies $$ \begin{aligned} a+b-1+\frac{1}{a b} & =b+c-1+\frac{1}{b c} \\ (a-c)+\frac{1}{b} \cdot\left(\frac{1}{a}-\frac{1}{c}\right) & =0 \\ (a-c)+\frac{1}{b} \cdot \frac{c-a}{a c} & =0 \\ (a-c)\left(1-\frac{1}{b} \cdot \frac{1}{a c}\right) & =0 \\ 1-\frac{1}{a b c} & =0 \\ a b c & =1 \end{aligned} $$ Inserting that back into (1) results with $$ \begin{gathered} 0=a+b-1+\frac{1}{a b}=a+b-1+\frac{a b c}{a b}=a+b-1+c \\ \Rightarrow b+c=1-a \end{gathered} $$ 2 points. Finally, combining (3) with the first of the 3 given equations results with $$ \begin{aligned} a^{2}+b+c & =\frac{1}{a} \\ a^{2}+1-a & =\frac{1}{a} \\ \left(a^{2}-a\right)+\left(1-\frac{1}{a}\right) & =0 \\ a(a-1)+\frac{a-1}{a} & =0 \\ (a-1)\left(a+\frac{1}{a}\right) & =0 \\ (a-1) \cdot \frac{a^{2}+1}{a} & =0 \end{aligned} $$ Because of $a^{2}+1>0$ we obtain $a-1=0$, i.e. $a=1$. 2 points. Analogously we also find $b=c=1$ which is a contradiction with the assumption so we conclude that at least two of $a, b, c$ are equal. 1 point. Second Solution. Let's assume the contrary, i.e. $a, b$ and $c$ are pairwise different. After multiplying the first equation with $a$, the second with $b$, and the third with $c$, we get: $$ a^{3}+a b+a c=b^{3}+b c+b a=c^{3}+c a+c b=1 $$ 0 points. In particular, the first two expressions are equal. Subtracting them and factorizing leads to: $$ \begin{aligned} a^{3}-b^{3}+a c-b c & =0 \\ (a-b)\left(a^{2}+a b+b^{2}+c\right) & =0 \end{aligned} $$ 1 point. Since $a \neq b$ we may conclude: $$ a^{2}+a b+b^{2}+c=0 $$ 1 point. Similarly, we can get the same thing for $b$ and $c$ : $$ b^{2}+b c+c^{2}+a=0 $$ 1 point. Subtracting these two equations yields: $$ \begin{aligned} a^{2}-c^{2}+a b-b c+c-a & =0 \\ (a-c)(a+c+b-1) & =0 \end{aligned} $$ 2 points. Because $a \neq c$, we obtain: $$ a+b+c=1 $$ 2 points. Now we proceed to arrive to a contradiction in the same way as in the previous solution. 3 points. ## Notes on marking: - After obtaining $a=1$, we may use that fact in (3) to conclude $b+c=0$, i.e. $c=-b$. That gives us $$ 1=a b c=1 \cdot b \cdot(-b)=-b^{2} $$ which isn't satisfied for any $b \in \mathbb{R}$. Again we reach contradiction with the assumption and conclude that at least two of $a, b, c$ are equal. This part of the solution should be awarded with 1 point. Problem 2. Find all pairs $(x, y)$ of positive integers such that $$ x y \mid x^{2}+2 y-1 $$ (Ivan Novak) First Solution. Notice that the condition implies $$ x \mid 2 y-1 $$ 1 point. This implies that there exists a positive integer $k$ such that $k x=2 y-1$, so $y=\frac{k x+1}{2}$. 1 point. Returning to the starting assertion, we get that $$ \frac{x(k x+1)}{2}\left|x^{2}+k x \Longrightarrow k x+1\right| 2(k+x) $$ 2 points. For all positive integers $k, x$, the following inequality is satisfied, with equality if and only if $k=1$ or $x=1$ : $$ \frac{2(k+x)}{k x+1} \leqslant 2 \Longleftrightarrow 2(k-1)(x-1) \geqslant 0 $$ 2 points. So as $\frac{2(k+x)}{k x+1} \in \mathbb{N}$, then we conclude that $\frac{2(k+x)}{k x+1} \in\{1,2\}$. 1 point. We now have two possible cases. 1. $k+x=k x+1$. In this case, $k=1$ or $x=1$. (a) If $x=1$, then $y$ can be any positive integer. (b) If $k=1$, then $x=2 y-1$, where $y$ is any positive integer. 1 point. 2. $2 k+2 x=k x+1$. Then $2 x-1=k(x-2) \Longrightarrow x-2|2 x-1 \Longrightarrow x-2| 3$. This has only two solutions, both of which are true by an easy check: $x=3, k=5, y=8$ or $x=5, k=3, y=8$. 2 points. Therefore, the set of solutions is $$ (x, y) \in\{(1, t),(2 t-1, t),(3,8),(5,8) \mid t \in \mathbb{N} .\} $$ Second Solution. Let $(x, y)$ be a solution, and let $\frac{x^{2}+2 y-1}{x y}=g$. This equation is equivalent with $x^{2}-(g y) x+2 y-1=0$. We know $x$ is one root of the equation. Let $R$ be the other root. Using Vieta's formulas, we obtain the following system of equations: $$ \begin{gathered} x+R=g y \\ x R=2 y-1 \end{gathered} $$ 3 points. From the first equation we get that $R$ is an integer, and from the second equation we get that it is a positive integer. 1 point. Using the same inequality as in Solution 1 , we get that $g y \leqslant 2 y$, which implies $g=1$ or $g=2$. 3 points. We now split into two cases: 1. If $g=1$, then $x^{2}+2 y-1=x y \Longrightarrow x^{2}-1=y(x-2) \Longrightarrow x-2\left|x^{2}-1 \Longrightarrow x-2\right| 3$. This has only two solutions, both of which are true by an easy check: $x=5, y=8$ or $x=3, y=8$. 2 points. 2. If $g=2$, then $x^{2}+2 y-1=2 x y \Longrightarrow x^{2}-1=2 y(x-1) \Longrightarrow x=1$ or $x=2 y-1$, and $y$ can be any positive integer. 1 point. Therefore, the set of solutions is $$ (x, y) \in\{(1, t),(2 t-1, t),(3,8),(5,8) \mid t \in \mathbb{N} .\} $$ Third Solution. Let $(x, y)$ be a solution, and let $\frac{x^{2}+2 y-1}{x y}=g$. This equation is equivalent with $x^{2}-(g y) x+2 y-1=0$. The condition of the problem is satisfied if and only if the discriminant is a square of a positive integer. 1 point. Let the discriminant be equal to $k^{2}$. Then $$ \begin{gathered} k^{2}=g^{2} y^{2}-8 y+4 \Longleftrightarrow k^{2}=(g y-2)^{2}+4 g y-8 y \Longleftrightarrow \\ (k-g y+2)(k+g y-2)=4 y(g-2) \end{gathered} $$ 2 points. We now split into 3 cases depending on the size of $g$. 1. If $g>2$, then $4 y(g-2)>0$ and $k+g y-2>0$, which implies $$ k-g y+2>0 $$ 1 point. Adding $2 g y-4 y=2 y(g-2)$ to the both sides, we obtain $$ \begin{gathered} k+g y-2 \geqslant k+g y+2-4 y>2 y(g-2)=\frac{(k+g y-2)(k-g y+2)}{2} \Longrightarrow \\ k-g y+2<2 \end{gathered} $$ so the only possibility is $k-g y+2=1, k+g y-2=4 y(g-2)$. However, summing up the two equalities yields $2 k=4 y(g-2)+1$, which is a contradiction modulo 2. Therefore, there are no solutions in this case. 2 points. 2. If $g=1$, then $x^{2}+2 y-1=x y \Longrightarrow x^{2}-1=y(x-2) \Longrightarrow x-2\left|x^{2}-1 \Longrightarrow x-2\right| 3$. This has only two solutions, both of which are true by an easy check: $x=5, y=8$ or $x=3, y=8$. 2 points. 3. If $g=2$, then $x^{2}+2 y-1=2 x y \Longrightarrow x^{2}-1=2 y(x-1) \Longrightarrow x=1$ or $x=2 y-1$, and $y$ can be any positive integer. 1 point. ## Notes on marking: - Points from separate solutions can not be added. The competitor should be awarded the maximum of the points scored in the 2 presented solutions, or an appropriate number of points on an alternative solution. Problem 3. Let $A B C$ be an acute triangle with $|A B|<|A C|$ and orthocenter $H$. The circle with center $A$ and radius $|A C|$ intersects the circumcircle of $\triangle A B C$ at point $D$ and the circle with center $A$ and radius $|A B|$ intersects the segment $\overline{A D}$ at point $K$. The line through $K$ parallel to $C D$ intersects $B C$ at the point $L$. If $M$ is the midpoint of $\overline{B C}$ and $N$ is the foot of the perpendicular from $H$ to $A L$, prove that the line $M N$ bisects the segment $\overline{A H}$. (Miroslav Marinov) First Sketch. ![](https://cdn.mathpix.com/cropped/2024_06_05_527c55a525ffee97dfebg-07.jpg?height=951&width=1037&top_left_y=518&top_left_x=521) First Solution. We start with the following: Lemma 1. $A L$ is the angle bisector of $\angle B A C$. Proof: Since $A, B, C$ and $D$ lie on the same circle we obtain that $\angle A B C=\angle A D C=\angle A C D$. 1 point. From that we get the following three equations: $$ \angle C A D=180^{\circ}-2 \angle A D C=180^{\circ}-2 \angle A B C $$ 1 point. $\angle B C D=\angle B A D=\angle B A K=\angle B A C-\left(180^{\circ}-2 \angle A B C\right)=\angle A B C-\angle A C B$ 1 point. $\angle A B K=\angle A K B=90^{\circ}-\frac{\angle B A K}{2}=90^{\circ}-\frac{\angle A B C-\angle A C B}{2}$ 1 point. Next from $L K \| C D$ it follows that $\angle C L K=\angle L C D=\angle B C D=\angle B A K$ so $A, B, L$ and $K$ are concyclic. 1 point. Now we have $$ \angle B A L=\angle B A K-\angle L A K=\angle B A K-\angle L B K=(\angle A B C-\angle A C B)-(\angle A B C-\angle A B K)=\frac{\angle B A C}{2} $$ hence $A L$ is the angle bisector of $\angle B A C$. 1 point. Let $E$ and $F$ be the feet of the altitudes from $B$ and $C$ in $\triangle A B C$. Observe that $\angle A E H=\angle A F H=\angle A N H=90^{\circ}$ so $A, E, H, N$ and $F$ lie on the circle with diameter $\overline{A H}$. 1 point. Since $A L$ is the angle bisector of $\angle B A C$ its follows that $|N E|=|N F|$. 1 point. Denote by $T$ the midpoint of $\overline{A H}$. Since $T$ is the circumcenter of $A E H N F$ we get $|T E|=|T F|$. 1 point. Also since $\angle B E C=\angle C F B, E$ and $F$ lie on the circle with diameter $\overline{B C}$ from where we get $|M E|=|M F|$ so $M, N$ and $T$ lie on the bisector of $\overline{E F}$. 1 point. ## Alternative proof of Lemma 1. Similarly as in the first proof, we obtain that $\angle A B C=\angle A D C=\angle A C D$. 1 point. Let $S$ be the intersection of $K L$ and $A C$. Since $L S \| D C$, we have $\angle A S L=\angle A C D=\angle A B C=\angle A B L$. 2 points. We also get $\angle A K S=\angle A D C=\angle A S K$, hence $|A S|=|A K|=|A B|$. 1 point. Since $B, L, S$ are not collinear (this is since $S L$ is parallel to $C D$, which in turn isn't parallel to $B C$ since $|A B|<|A C|$ ), we may conclude that $\triangle A B L$ and $\triangle A S L$ are congruent. The claim now follows. 2 points. ## Second Sketch. ![](https://cdn.mathpix.com/cropped/2024_06_05_527c55a525ffee97dfebg-08.jpg?height=934&width=928&top_left_y=978&top_left_x=564) Second Solution. We get similarly as in the First Solution that $A L$ is the angle bisector of $\angle B A C$. 6 points. Denote by $T$ the midpoint of $\overline{A H}$. As $\triangle H N A$ is right-angled, we have that $\angle N T H=2 \angle N A H$. 1 point. Denote by $O$ the circumcenter of $\triangle A B C$. It is known that (as a consequence of existence of Euler line) $$ |A H|=2|O M| \Longrightarrow|A T|=\frac{|A H|}{2}=|O M| $$ and as $A T$ and $O M$ are both orthogonal to $B C$, they are parallel, so $A T M O$ is an parallelogram. 1 point. Now as $\angle H A B=90^{\circ}-\angle A B C=\angle O A C$, we know that $A L$ is the angle bisector of $O A H$. 1 point. Then we have that $\angle M T H=\angle O A H=2 \angle N A H=\angle N T H$ and we conclude that $T, N$ and $M$ are colinear. 1 point. ## Notes on marking: - If a student has a partial solution with analytic methods, only points for proving facts that can be expressed in geometric ways and lead to a compete solution can be awarded. Problem 4. Let $n$ be a positive integer. Ana and Banana are playing the following game: First, Ana arranges $2 n$ cups in a row on a table, each facing upside-down. She then places a ball under a cup and makes a hole in the table under some other cup. Banana then gives a finite sequence of commands to Ana, where each command consists of swapping two adjacent cups in the row. Her goal is to achieve that the ball has fallen into the hole during the game. Assuming Banana has no information about the position of the hole and the position of the ball at any point, what is the smallest number of commands she has to give in order to achieve her goal? (Adrian Beker) First Solution. We claim that the minimum number of commands is $n(3 n-2)$. Call a finite sequence of commands valid if it results in the ball falling into the hole while performing the commands, regardless of the inital position of the ball and the position of the hole. Also call a position an endpoint if it is either the first or the last position in the row. Lemma 1. A sequence of commands is valid if and only if it results in each cup visiting both endpoints. Proof. Suppose there exists a cup $c$ that hasn't visited an endpoint $p$. Then the ball fails to fall into the hole in the case when it is under $c$ and the hole is at $p$. Hence, the sequence is not valid. Conversely, if each cup has visited both endpoints, by discrete continuity it must have also visited all positions in between. Hence, the ball has certainly fallen into the hole, so the sequence is valid. 2 points. Now consider a valid sequence of commands. We will show that it has length at least $n(3 n-2)$. Let $C$ be the set of cups. For each $c \in C$, let $k_{c}$ be the total number of commands involving $c$. Since each command involves two cups, the total number of commands is $\frac{1}{2} \sum_{c \in C} k_{c}$. So it suffices to show that $\sum_{c \in C} k_{c} \geqslant 2 n(3 n-2)$. 1 point. For each $c \in C$, let $x_{c}$ be the number of commands involving $c$ before its first visit to an endpoint. Similarly, let $y_{c}$ be the number of commands involving $c$ after its last visit to an endpoint. Since $c$ visited both endpoints, the number of commands between its first and last visit to an endpoint must be at least $2 n-1$. Hence, $k_{c} \geqslant x_{c}+y_{c}+2 n-1$. 2 points. Now for each $1 \leqslant i \leqslant 2 n$, let $a_{i}$ be the cup at the $i$-th position from the left in the initial arrangement and similarly let $b_{i}$ be the cup at the $i$-th position in the final arrangement. Then it follows that $x_{a_{i}}, y_{b_{i}} \geqslant \min (i-1,2 n-i)$ for all $1 \leqslant i \leqslant 2 n$. Hence $$ \begin{gathered} \sum_{c \in C} x_{c}=\sum_{i=1}^{2 n} x_{a_{i}} \geqslant \sum_{i=1}^{2 n} \min (i-1,2 n-i)=n(n-1), \\ \sum_{c \in C} y_{c}=\sum_{i=1}^{2 n} y_{b_{i}} \geqslant \sum_{i=1}^{2 n} \min (i-1,2 n-i)=n(n-1), \\ \sum_{c \in C} k_{c} \geqslant \sum_{c \in C}\left(x_{c}+y_{c}+2 n-1\right) \geqslant n(n-1)+n(n-1)+2 n(2 n-1)=2 n(3 n-2), \end{gathered} $$ as desired. It remains to exhibit a valid sequence consisting of $n(3 n-2)$ commands 2 points. Lemma 2. Consider $n$ cups in a row. Then there is a sequence of $\frac{n(n-1)}{2}$ commands resulting in each cup visiting the first position (and similarly for the last position). Proof. For each $1 \leqslant i \leqslant n$ in increasing order, for each $1 \leqslant j4$, partition $(3, n-3)$ is not in the image of $f$, since every element of the image contains at least one number 1 , so the number of even partition is equal to the the number of odd partitions if and only if $n \in\{2,4\}$. 1 point. Notes on marking: - Stating that $n=2,4$ are the only solutions on its own is worth 0 points. - Clearly attempting to construct an injection from the set of even partitions to the set of odd partitions without success is worth 1 point. Problem 2. Let $A B C$ be a triangle with $|A B|<|A C|$. Let $k$ be the circumcircle of $\triangle A B C$ and let $O$ be the center of $k$. Point $M$ is the midpoint of the arc $\widehat{B C}$ of $k$ not containing $A$. Let $D$ be the second intersection of the perpendicular line from $M$ to $A B$ with $k$ and $E$ be the second intersection of the perpendicular line from $M$ to $A C$ with $k$. Points $X$ and $Y$ are the intersections of $C D$ and $B E$ with $O M$ respectively. Denote by $k_{b}$ and $k_{c}$ circumcircles of triangles $B D X$ and $C E Y$ respectively. Let $G$ and $H$ be the second intersections of $k_{b}$ and $k_{c}$ with $A B$ and $A C$ respectively. Denote by $k_{a}$ the circumcircle of triangle $A G H$. Prove that $O$ is the circumcenter of $\triangle O_{a} O_{b} O_{c}$, where $O_{a}, O_{b}, O_{c}$ are the centers of $k_{a}, k_{b}, k_{c}$ respectively. (Petar Nizić-Nikolac) First Sketch. ![](https://cdn.mathpix.com/cropped/2024_06_05_527c55a525ffee97dfebg-12.jpg?height=917&width=899&top_left_y=615&top_left_x=584) First Solution. We introduce standard angle notation, $\angle C A B=\alpha, \angle A B C=\beta$ and $\angle B C A=\gamma$. As $M$ is midpoint of arc $\widehat{B C}$, we know that $\angle M O B=\angle C O M=\frac{\angle C O B}{2}=\angle C A B=\alpha$, so $$ 180^{\circ}-\angle B D X=180^{\circ}-\angle B D C=\angle B A C=\angle B O M=\angle B O X $$ implying that $B D X O$ is a cyclic quadrilateral. Analogously we get that $C E O Y$ is a cyclic quadrilateral. 2 points. Another property of $M$ being a midpoint of arc $\widehat{B C}$ is that $\angle C A M=\angle M A B=\frac{\alpha}{2}$, so $$ \begin{aligned} & \angle D A B=180^{\circ}-\angle A B D-\angle B D A=\left(\angle B D M-90^{\circ}\right)-\angle B C A=\left(90^{\circ}-\angle M A B\right)-\gamma=\left(90^{\circ}-\frac{\alpha}{2}\right)-\gamma=\frac{\beta-\gamma}{2} \\ & \angle E A C=180^{\circ}-\angle C E A-\angle A C E=\angle A B C-\left(90^{\circ}-\angle C E M\right)=\beta-\left(90^{\circ}-\angle C A M\right)=\beta-\left(90^{\circ}-\frac{\alpha}{2}\right)=\frac{\beta-\gamma}{2} \end{aligned} $$ Combining (1) and (2) we obtain that $|B D|=|E C|$. 2 points. As $B, C, D$ and $E$ lie on circumcircle, $|B O|=|C O|=|D O|=|E O|$, thus $\triangle B O D \cong \triangle C O D$. As $k_{b}$ and $k_{c}$ are circumcircles of triangles $B O D$ and $C O E$ respectively, we conclude that $k_{b} \cong k_{c}$, thus $\left|O O_{b}\right|=\left|O O_{c}\right|$. 2 points. Now see that $$ \begin{gathered} \angle A G O=\angle O D B=90^{\circ}-\frac{\angle D O B}{2}=90^{\circ}-\angle D A B \\ \angle O H A=180^{\circ}-\angle O E C=180^{\circ}-\left(90^{\circ}-\frac{\angle E O C}{2}\right)=90^{\circ}+\angle E A C \end{gathered} $$ Combining (1), (2), (3) and (4) we obtain that $A G O H$ is a cyclic quadrilateral. 2 points. Now as $|A O|=|B O|$ and $\angle A G O=\angle B D O$ we conclude that $k_{a} \cong k_{b}$, thus $\left|O O_{a}\right|=\left|O O_{b}\right|=\left|O O_{c}\right|$, so $O$ is the circumcenter of $\triangle O_{a} O_{b} O_{c}$. 2 points. ## Second Sketch. ![](https://cdn.mathpix.com/cropped/2024_06_05_527c55a525ffee97dfebg-13.jpg?height=914&width=899&top_left_y=231&top_left_x=584) Second Solution. We introduce standard angle notation, $\angle C A B=\alpha, \angle A B C=\beta$ and $\angle B C A=\gamma$. As $M$ is midpoint of $\operatorname{arc} \widehat{B C}$, we know that $\angle C A M=\angle M A B=\frac{\alpha}{2}$, so $$ \begin{aligned} & \angle D A B=180^{\circ}-\angle A B D-\angle B D A=\left(\angle B D M-90^{\circ}\right)-\angle B C A=\left(90^{\circ}-\angle M A B\right)-\gamma=\left(90^{\circ}-\frac{\alpha}{2}\right)-\gamma=\frac{\beta-\gamma}{2} \\ & \angle E A C=180^{\circ}-\angle C E A-\angle A C E=\angle A B C-\left(90^{\circ}-\angle C E M\right)=\beta-\left(90^{\circ}-\angle C A M\right)=\beta-\left(90^{\circ}-\frac{\alpha}{2}\right)=\frac{\beta-\gamma}{2} \end{aligned} $$ Combining (1) and (2) we obtain that $|B D|=|E C|$, so $B D C E$ is an isoscales trapezoid. Let $S$ be the intersection of diagonals of $B D C E$. Then using (1) and (2) we have $$ \angle D S B=\angle S B E+\angle S D C=2 \angle E A C=2 \angle D A B=\angle D O_{b} D $$ so $S$ lies on $k_{b}$. Analogously we get that $S$ lies on $k_{c}$ as well. 2 points. Let $O^{\prime}$ be the second intersection of $k_{b}$ and $k_{c}$. Then $$ \angle E O^{\prime} B=\angle E O^{\prime} S+\angle S O^{\prime} B=360^{\circ}-\angle S C E-\angle B D S=2\left(180^{\circ}-\angle S C E\right)=2(\angle E A B)=\angle E O B $$ and as $k_{b}$ is symmetric to $k_{c}$ over $O S$ (perpendicular bisector of $\overline{B E}$ and $\overline{C E}$ ), we conclude that $O$ and $O^{\prime}$ lie on that line so $O \equiv O^{\prime}$, and we conclude that $O$ is the second intersection of $k_{b}$ and $k_{c}$. 2 points. As $k_{b}$ is symmetric to $k_{c}$ over $O S$, we conclude that $\left|O O_{b}\right|=\left|O O_{c}\right|$. 1 point. As $k_{a}=(A G H), k_{b}=(B S O G)$ and $k_{c}=(C E O S)$, due to Miquel's theorem we have that $O$ lies on $k_{a}$. 1 point. Now as $|A O|=|B O|$ and $\angle A G O=\angle B D O$ we conclude that $k_{a} \cong k_{b}$, thus $\left|O O_{a}\right|=\left|O O_{b}\right|=\left|O O_{c}\right|$, so $O$ is the circumcenter of $\triangle O_{a} O_{b} O_{c}$. 2 points. ## Notes on marking: - If a student has a partial solution with analytic methods, only points for proving facts that can be expressed in geometric ways and lead to a compete solution can be awarded. Problem 3. For which real numbers $k>1$ does there exist a bounded set of positive real numbers $S$ with at least 3 elements such that $$ k(a-b) \in S $$ for all $a, b \in S$ with $a>b$ ? Remark: A set of positive real numbers $S$ is bounded if there exists a positive real number $M$ such that $x1$ such that all required properties are satisfied. Lemma 1. $k(a-b) \leqslant a$ for all $a, b \in S$ with $a>b$ Proof. Assume the opposite, that there exist $a, b \in S$ with $a>b$ such that $k(a-b)>a$. Fix $b$ and denote $f(x)=k(x-b)$. We have $f(a)>a$. Consider these two conclusion for some $x$ such that $f(x)>x$ : $$ \begin{gathered} f(x)>x \Longrightarrow k(x-b)-b>x-b \Longrightarrow k(k(x-b)-b)-k b>k(x-b)-k b \Longrightarrow f(f(x))>f(x) \\ f(x)>x \Longrightarrow(k-1) f(x)>(k-1) x \Longrightarrow k(f(x)-b)-k(x-b)>f(x)-x \Longrightarrow f(f(x))-f(x)>f(x)-x \end{gathered} $$ 1 point. 1 point. By (1) we have that $f^{n}(a)>f^{n-1}(a)>\ldots>f(a)>a>b$ so $f^{n}(a) \in S, \forall n \in \mathbb{N}$. On the other hand, by (2) we have $f^{k}(a)-f^{k-1}(a) \geqslant f(a)-a$ for all natural $k$. Summing up for $k$ from 1 to $n$, we obtain $$ f^{n}(a)-a=\sum_{k=1}^{n}\left(f^{k}(a)-f^{k-1}(a)\right) \geqslant n(f(a)-a) $$ However, this means that $f^{n}(a) \in S$ is unbounded as $n$ grows, which is impossible. Hence, the lemma is proved. 1 point. Lemma 2. $S$ has a minimum and it is greater than 0 Proof. Now, denote $m=\inf S$. Let's first settle the case $m=0$. However, then by fixing $a$ and taking $b$ small enough such that $k(a-b)>a$ we contradict the lemma. Therefore, we have $m>0$. 1 point. Without loss of generality we can take that $m=1$ as we can scale the whole set. Assume that $1 \notin S$, and then there exists an infinite sequence of elements of $S$ tending to 1, i.e., for every $a \in S$ there exists $b \in S$ with $11 \Longrightarrow a>b+\frac{1}{k} \Longrightarrow a>1+\frac{1}{k} $$ However, then every $a$ in $S$ is larger than $1+\frac{1}{k}$ so $1=\inf S \geqslant 1+\frac{1}{k}>1$, which is a contradiction. Hence min $S=1$. 1 point. Lemma 3. For some $x \in S$, if $x>G_{n-1}$ then $x \geqslant G_{n}$ for all $n \in \mathbb{N}$, where $G_{n}=1+\frac{1}{k}+\ldots+\frac{1}{k^{n}}$ Proof. We prove by induction on $n$. Basis for $n=0$ is true as $$ k(x-1) \geqslant \min S=1 \Longrightarrow x \geqslant 1+\frac{1}{k} $$ Now we proceed with the inductive step. Take $x>G_{n}$. This implies that $$ k(x-1)>k\left(G_{n}-1\right)=G_{n-1} $$ Obviously, $k(x-1) \in S$. However, by the induction hypothesis, it follows that $k(x-1) \geqslant G_{n}$ which rearranges into $$ x \geqslant \frac{1}{k}\left(G_{n}+k\right)=G_{n+1} $$ so the lemma is proved by mathematical induction. Let $T=\left\{G_{0}, G_{1}, G_{2}, \ldots\right\}$. Assume that exists some $a \in S \backslash T$. Then using Lemma 3 we get that $$ a>G_{n} \text { and } a \notin T \Longrightarrow a \geqslant G_{n+1} \text { and } a \notin T \Longrightarrow a>G_{n+1} $$ and as $a \neq G_{0}=1=\min S$, then $a \geqslant \sup T=\frac{k}{k-1}$. 1 point. However, $a \leqslant \frac{k}{k-1}$ holds as a consequence of Lemma 2, so the only member of $S \backslash T$ is $\frac{k}{k-1}$. Therefore, $$ S \subseteq\left\{\frac{k}{k-1}, G_{0}, G_{1}, G_{2}, \ldots\right\} $$ 1 point. However, if for some $n>1, G_{n} \in S$, then $G_{n-1}=k\left(G_{n}-1\right) \in S$, so we have that $$ k\left(G_{n}-G_{n-1}\right)=\frac{1}{k^{n-1}} \in S $$ which is impossible due to $k>1$, so we in fact have $$ S \subseteq\left\{1, \frac{k+1}{k}, \frac{k}{k-1}\right\} $$ and due to $|S| \geqslant 3$ all three numbers must belong to the set (easy to see that they are distinct). However, then $$ k\left(\frac{k}{k-1}-\frac{k+1}{k}\right)=\frac{1}{k-1} \in\left\{1, \frac{k+1}{k}, \frac{k}{k-1}\right\} $$ which gives $k \in\left\{\frac{1+\sqrt{5}}{2}, 2\right\}$, both of which satisfy the condition by verification. 1 point. Second Solution. Verification is the same and also worth 1 point. For a set $A \subseteq \mathbb{R}^{+}$, we will write $\triangle A=\{a-b \mid$ $a, b \in A, a>b\}$. Suppose $k>1$ is such that there exists a set $S$ with the required properties. Lemma 1. If $d \in \triangle S$ is not a maximal element, then $k d \in \triangle S$. Proof. Let $a, b \in S$ be such that $a-b=d>0$. Since $d$ is not maximal in $\triangle S$, either $a$ is not maximal in $S$ or $b$ is not minimal in $S$. If the former is true, then $\exists c \in S$ with $c>a$, hence $k(c-a), k(c-b) \in S$. But then $k(c-b)-k(c-a)=k(a-b)=k d \in \triangle S$, as desired. Otherwise, $\exists c \in S$ with $cM$, so we must have $k^{n} d=M$ (otherwise we would have $k^{n+1} d \in \triangle S$ by the Lemma 1). It follows that $d=\frac{M}{k^{n}}$ and also $\frac{M}{k^{2}} \in \triangle S$ for all $0 \leqslant ib$, one can choose $c$ in this progression with $ca-b$. This contradicts the fact that $\triangle S$ has a maximal element, so $\triangle S$ must be finite. 1 point. Now by scaling WLOG assume that $\triangle S=\left\{1, k, \ldots, k^{m-1}\right\}$ for some $m \in \mathbb{N}$. Then $\left\{k, k^{2}, \ldots, k^{m}\right\} \subseteq S$, hence $\triangle\left\{k, k^{2}, \ldots, k^{m}\right\} \subseteq \triangle S$. But note that $k^{i+1}-k^{i}k^{m}-k^{i+1}$ for all $1 \leqslant i0$. But then $\triangle S=\{d, 2 d, 3 d\}$, which is not a geometric progression. Hence, $|S|=3$. 1 point. Now we can write $S=\{a, b, c\}$, with $a0$, there exist $a, b \in S$ such that $a>M-\frac{\varepsilon}{2}, bM-m-\varepsilon$. 1 point. Since $k \triangle S \subseteq S$, we have $\sup (k \triangle S) \leqslant M$, i.e. $\sup \triangle S \leqslant \frac{M}{k}, M-m \leqslant \frac{M}{k}, m \geqslant \frac{k-1}{k} M$. Again since $k \triangle S \subseteq S$, we have $\inf (k \triangle S) \geqslant m$, i.e. $\inf \triangle S \geqslant \frac{m}{k} \geqslant \frac{k-1}{k^{2}} M$. 1 point. So if $a_{1}, a_{2}, \ldots, a_{n}$ are some elements of $S$ with $m \leqslant a_{1}k\left(a_{n-1}-a_{1}\right)>\ldots>k\left(a_{2}-a_{1}\right)$ are elements of $S$, and there are at least $n-2$ elements of $S$ greater than $k\left(a_{2}-a_{1}\right)$. This implies $k\left(a_{2}-a_{1}\right) \in\left\{a_{1}, a_{2}\right\}$. Using a similar argument, $k\left(a_{3}-a_{1}\right) \in\left\{a_{2}, a_{3}\right\}$, $k\left(a_{3}-a_{2}\right) \in\left\{a_{1}, a_{2}\right\}$ and $k\left(a_{4}-a_{1}\right) \in\left\{a_{3}, a_{4}\right\}$. 2 points. If $k\left(a_{2}-a_{1}\right)=a_{2}$, then $k\left(a_{3}-a_{1}\right)=a_{3}$, so $a_{2}=a_{1} \frac{k}{k-1}=a_{3}$, which is impossible, therefore $k\left(a_{2}-a_{1}\right)=a_{1}$ which implies that $a_{2}=a_{1}\left(1+\frac{1}{k}\right)$. 1 point. If $k\left(a_{3}-a_{1}\right)=a_{2}$, then $a_{3}=a_{1}+\frac{a_{2}}{k}=a_{1}\left(1+\frac{1}{k}+\frac{1}{k^{2}}\right)$, so $k\left(a_{3}-a_{2}\right)=k a_{1}\left(1+\frac{1}{k}+\frac{1}{k^{2}}-1-\frac{1}{k}\right)=\frac{a_{1}}{k}k\left(a_{3}-a_{1}\right)=a_{3}$, we know that $k\left(a_{4}-a_{1}\right)=a_{4}$ as there are $n-4$ differences greater than this, but this implies $a_{4}=a_{1} \frac{k}{k-1}=a_{3}$, a contradiction. Therefore, $|S|=3$. 1 point. Similar finish as in the Second Solution which is also worth 1 point. ## Alternative proof of Lemma 2 . Fact. Let $A=\left\{a_{1}, a_{2}, \ldots, a_{n}\right\}$ with $a_{1}j$, we can choose two paths $\left(l_{i}, r_{i}\right)$ and $\left(l_{i}^{\prime}, r_{i}^{\prime}\right)$ such that $\left(l_{q-p}, r_{q-p}\right)=(p, q)$ and $\left(l_{q-p}^{\prime}, r_{q-p}^{\prime}\right)=$ $(p+1, q+1)$. By the previous observation, it follows that $a_{q}-a_{p}=a_{q+1}-a_{p+1}$, i.e. $a_{p+1}-a_{p}=a_{q+1}-a_{q}$. Since $1j$ and also $a_{p+1}-a_{p}=a_{n}-a_{n-1}$ for all $p0, j \in\{1, \ldots, n-1\}$ such that $a1$. Case 3. $\exists a, b>0$ such that $a1$. 2 points. ## Notes on marking: - A student cannot be awarded with points from two different solutions. - In all solutions, if a student states that verification "is trivial" it should be awarded $\mathbf{0}$ points. However, it is enough to give examples of sets for two possible values of $k$ and then the student should be awarded 1 point. This point can be awarded even if student hasn't solved the problem completely. - In First Solution, if a student writes explicitly that $a \leqslant \frac{k}{k-1}$ without showing that $S \subseteq\left\{\frac{k}{k-1}, G_{0}, G_{1}, G_{2}, \ldots\right\}$ it should also be awarded 1 point. - In Second Solution, if a student states that deduction from $|S|=3$ to $k=\frac{1+\sqrt{5}}{2}$ or 2 "is trivial" it should be awarded 0 points. - In Third Solution, if a student states that $|\triangle A|=|A|-1$ iff $A$ is an aritmetic sequence, it should be awarded 1 point. However, if a student states just that $|\triangle A| \geqslant|A|-1$ for all sequences, it should be awarded 0 points. - In Alternative proof of Lemma 2, if a student states correctly the whole class of sequences satisfying $|\triangle A|=|A|$, it should be awarded 1 point. - If student's solution is true with fact that $S$ is finite, it should be awarded at most 7 points. - If student proves that $|S| \leqslant c$ for some $c \in \mathbb{N}$ independent of $k$, it should be awarded 5 points) (1 point for verification is not included and can also be awarded separetly). Problem 4. Let $x, y, m, n$ be integers greater than 1 such that $$ \underbrace{x^{x^{x^{. x}}}}_{m \text { times }}=\underbrace{y^{y^{y .}}}_{n \text { times }} $$ Does it follow that $m=n$ ? Remark: This is a tetration operation, so we can also write ${ }^{m} x={ }^{n} y$ for the initial condition. (Petar Nizić-Nikolac) Solution. Yes, it does. Assume for the sake of contradiction that $xn$. Define function $f$ recursively $$ f(r)= \begin{cases}f\left(\log _{x}(r)\right)+1 & \text { if } \log _{x}(r) \in \mathbb{N} \\ 0 & \text { else }\end{cases} $$ for example, if $x=2$, then $f(256)=f\left(2^{2^{3}}\right)=2$. Essentially it is the least possible height of an exponent different from $x$. Lemma 1. $f(y) \geqslant 1$. Proof. Let $p$ be a prime number such that $p \mid x$ (it exists as $x>1$ ). Then $p \mid y$, so write $x=p^{a} \cdot x^{\prime}$ and $y=p^{b} \cdot y^{\prime}$, where $p \nmid x^{\prime}, y^{\prime}$. Let $a^{\prime}=\frac{a}{(a, b)}$ and $b^{\prime}=\frac{b}{(a, b)}$. Let $v_{p}(r)$ denote the largest integer such that $p^{v_{p}(r)} \mid r$. Then $$ \begin{aligned} v_{p}\left({ }^{m} x\right) & =v_{p}\left({ }^{n} y\right) \Longrightarrow v_{p}\left(\left(p^{a}\right)^{m-1} x\right)=v_{p}\left(\left(p^{b}\right)^{n-1} y\right. \\ & \Longrightarrow\left({ }^{m} x\right)^{a}=x^{b \cdot{ }^{n-1} y} \Longrightarrow\left({ }^{n} y\right)^{a}=x^{b \cdot n-1} x=b \cdot{ }^{n-1} y \Longrightarrow x^{a \cdot{ }^{m-1} x}=x^{b \cdot{ }^{n-1} y} \Longrightarrow \\ & \Longrightarrow y^{a \cdot{ }^{n-1} y}=x^{b \cdot{ }^{n-1}} y \Longrightarrow y^{a}=x^{b} \Longrightarrow y^{a^{\prime}}=x^{b^{\prime}} \end{aligned} $$ so there exists $z$ such that $x=z^{a^{\prime}}$ and $y=z^{b^{\prime}}$. 2 points. As $1 \leqslant a^{\prime}