![](https://cdn.mathpix.com/cropped/2024_06_05_c444d300704e54424959g-01.jpg?height=334&width=376&top_left_y=284&top_left_x=246) # $11^{\mathrm{TH}}$ EUROPEAN MATHEMATICAL CUP$10^{\text {th }}$ December 2022 - $18^{\text {th }}$ December 2022 Junior Category ## Problems and Solutions Problem 1. Find all positive integers $n$ for which there exist three positive divisors $a, b, c$ of $n$ such that $a>b>c$ and $$ a^{2}-b^{2}, b^{2}-c^{2}, a^{2}-c^{2} $$ are also divisors of $n$. (Kims Georgs Pavlovs) Solution. The answer is all positive integers $n$ which are divisible by 60 . Suppose that $n$ is divisible by 60 . Let $a=4, b=2, c=1$. Then $a^{2}-b^{2}=12, b^{2}-c^{2}=3, a^{2}-c^{2}=15$. All six of those numbers are divisors of 60 , so they're also divisors of $n$, so any $n$ which is a multiple of 60 is indeed a solution. 2 points. Now suppose that $n$ is a number for which such $a, b, c$ exist. Some two numbers among $a, b, c$ have the same parity. Without loss of generality let $a$ and $b$ be such numbers. Then $a-b$ and $a+b$ are both even, so 4 is a divisor of $a^{2}-b^{2}$, so 4 also divides $n$. We conclude that $n$ is divisible by 4 . 2 points. If any of $a, b, c$ is divisible by 3 , then $n$ is also divisible by 3 . Otherwise, two numbers among $a, b, c$ give the same remainder upon division by 3 . Without loss of generality let $a$ and $b$ be such numbers. Then 3 is a divisor of $a^{2}-b^{2}$, so 3 also divides $n$. We conclude that in any case, $n$ is divisible by 3 . 2 points. If any of $a, b, c$ is divisible by 5 , then $n$ is also divisible by 5 . Otherwise, none of $a, b, c$ is divisible by 5 . However, a square of a number which isn't divisible by 5 can only give remainder 1 or 4 upon division by 5 . Thus, some two numbers among $a^{2}, b^{2}, c^{2}$ have the same remainder upon division by 5 , so their difference is divisible by 5. We conclude that in any case, $n$ is divisible by 5 . 3 points. Since 3,4 and 5 all divide $n$, then their least common multiple, which is 60 , also divides $n$. 1 point. Notes on marking: - If a contestant proves that for some $a>1$, all numbers of the form $60 \cdot a \cdot k$ for $k \in \mathbb{N}$ are solutions, they should be awarded 1 point out of possible 2 points for the first part of the solution. - If a contestant proves that any $n$ which is a solution is even, they should be awarded 1 point out of possible 2 points given for proving divisibility by 4 . Problem 2. Find all pairs of positive real numbers $(x, y)$ such that $x y$ is an integer and $$ x+y=\left\lfloor x^{2}-y^{2}\right\rfloor $$ (Ivan Novak) First Solution. Let $(x, y)$ be a pair satisfying the problem's condition. Note that $x+y$ and $x y$ are both positive integers, so $(x-y)^{2}=(x+y)^{2}-4 x y$ is also a positive integer. 4 points. Let $D=(x-y)^{2}$, and let $a=x+y$. We have $$ a=\lfloor a \sqrt{D}\rfloor $$ where $a$ and $D$ are both positive integers. Furthermore, note that $D=(x+y)^{2}-4 x y$ gives remainder 0 or 1 upon division by 4 . If $D>1$, then $D \geqslant 4$, and $\lfloor a \sqrt{D}\rfloor \geqslant\lfloor 2 a\rfloor=2 a>a$, which is a contradiction. Thus, $D=1$. 3 points. This means that $x-y=1$. Since $x+y=a$, we must have $$ \begin{aligned} & x=\frac{a+1}{2} \\ & y=\frac{a-1}{2} \end{aligned} $$ for some positive integer $a$. Since $y>0$, we must have $a>1$. Since $x y$ is an integer, $\frac{a^{2}-1}{4}$ must be an integer. Thus, $a$ is odd. Let $a=2 n+1$ for some positive integer $n$. Then $$ (x, y)=(n+1, n) $$ It's easy to check that all such pairs satisfy the problem's conditions. 3 points. Second Solution. Note that $x>y$ since $x^{2}-y^{2} \geqslant x+y>0$. Let $a=x+y$ and $b=x y$. We then have $x^{2}-a x+b=0$ and $y^{2}-a y+b=0$. This means that $x$ and $y$ are the roots of the polynomial $t^{2}-a t+b$, so, since $x>y$, we have $$ \begin{aligned} & x=\frac{a+\sqrt{D}}{2} \\ & y=\frac{a-\sqrt{D}}{2} \end{aligned} $$ where $D=a^{2}-4 b$ is a positive integer. 2 points. Direct calculation yields $x^{2}-y^{2}=a \sqrt{D}$. 2 points. Thus, we again obtain the equality $$ a=\lfloor a \sqrt{D}\rfloor $$ The rest of the solution is the same as in the First Solution. 6 points. Third Solution. We let $a=x+y$ (note it must be a positive integer) and then the equality from the statement implies that $a \leqslant x^{2}-y^{2}1$ is lovely, with the decomposition $d_{1} d_{2} \ldots d_{k}$. Without loss of generality we may assume that all $d_{i}$ are greater than 1 , since adding or removing number 1 from the decomposition doesn't affect the problem's conditions. Note that the $d_{i}$ are pairwise coprime, since if some prime number $p$ divides $d_{i}$ and $d_{j}$, then $\nu_{p}\left(d_{j}\right)<\nu_{p}(n)$ so $\nu_{p}\left(n+d_{j}\right)=$ $\nu_{p}\left(d_{j}\right)<2 \nu_{p}\left(d_{j}\right)$, which is impossible since $d_{j}^{2} \mid n+d_{i}$. Consequently, since $n$ is a square, all the $d_{i}$ are squares. 1 point. If me multiply the $k$ conditions $d_{i}^{2} \mid n+d_{i}$ for $i=1, \ldots, k$, we get $$ d_{1}^{2} d_{2}^{2} \ldots d_{k}^{2} \mid\left(n+d_{1}\right)\left(n+d_{2}\right) \ldots\left(n+d_{k}\right) $$ or equivalently $$ n^{2} \mid\left(n+d_{1}\right)\left(n+d_{2}\right) \ldots\left(n+d_{k}\right) $$ 1 point. If we expand the $k$ brackets on the right hand side to get $2^{k}$ summands, the only summands which are not divisible by $n^{2}$ are $d_{1} d_{2} \ldots d_{k}=n$ and those of the form $n \cdot d_{1} \ldots d_{i-1} \cdot d_{i+1} \ldots \ldots d_{k}=\frac{n^{2}}{d_{i}}$ for some $i \in\{1, \ldots, k\}$. Thus, the condition can be rewritten as $$ n^{2} \left\lvert\, n+\frac{n^{2}}{d_{1}}+\ldots+\frac{n^{2}}{d_{k}}\right. $$ 2 points. This means that the number $$ \frac{1}{n}+\frac{1}{d_{1}}+\ldots+\frac{1}{d_{k}} $$ is a positive integer. However, note that for every positive integer $N$ we have $$ \begin{aligned} \frac{1}{2^{2}}+\frac{1}{3^{2}}+\ldots+\frac{1}{N^{2}} & <\frac{1}{1 \cdot 2}+\frac{1}{2 \cdot 3}+\ldots+\frac{1}{(N-1) N} \\ & =\frac{1}{1}-\frac{1}{2}+\frac{1}{2}-\frac{1}{3}+\ldots+\frac{1}{N-1}-\frac{1}{N} \\ & =1-\frac{1}{N}<1 \end{aligned} $$ This means that the sum $\frac{1}{d_{1}}+\ldots+\frac{1}{d_{k}}+\frac{1}{n}$ is less than 1 as well since it is a sum of reciprocals of distinct squares greater than 1. This means it cannot be a positive integer and we've reached a contradiction. 3 points. ## Notes on marking: - In part (a), it's possible to score partial points as follows. If a contestant tries constructing a lovely number $d_{1} \ldots d_{k} d_{k+1}$ by starting from a lovely number $d_{1} d_{2} \ldots d_{k}$, and writes down that $d_{k+1}$ should be congruent to 1 modulo $d_{i}$ for $i \leqslant k$, they should receive 1 point for part (a). If they write down the condition $d_{k+1} \mid d_{1} d_{2} \ldots d_{k}+1$ along with the condition $d_{k+1} \equiv 1\left(\bmod d_{i}\right)$, they should receive $\mathbf{2}$ points for part (a). Only writing down the condition $d_{k+1} \mid d_{1} d_{2} \ldots d_{k}+1$ is worth $\mathbf{0}$ points on its own. - In the induction step in part (a), stating the claim "When $n$ is lovely, then $n(n+1)$ is lovely" without any proof should be awarded 1 point out of possible 3 points for part (a). Stating the claim and also providing the decomposition of $n(n+1)$ into $d_{i}$, but not checking that they satisfy the conditions should be awarded 2 points out of possible 3 points. A check doesn't necessarily need to be explicit, but it has to be written down in some form. - In the last step of the solution of part (b), stating the inequality $\frac{1}{d_{1}}+\ldots+\frac{1}{d_{k}}+\frac{1}{n}<1$ should be awarded 1 point out of possible 3 points for that part. To prove the inequality, one may also (without proof, of course) use the well-known identity $\sum_{n=1}^{\infty} \frac{1}{n^{2}}=\frac{\pi^{2}}{6}$. Problem 3. Let $\mathbb{R}$ denote the set of all real numbers. Find all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ such that $$ f\left(x^{3}\right)+f(y)^{3}+f(z)^{3}=3 x y z $$ for all $x, y, z \in \mathbb{R}$ such that $x+y+z=0$. (Kyprianos-Iason Prodromidis) First Solution. First of all, for $x=y=z=0$, we get that $$ f(0)+2 f(0)^{3}=0 \Leftrightarrow f(0)\left(2 f(0)^{2}+1\right)=0 \Leftrightarrow f(0)=0 $$ Now, let $x=0$ and $z=-y$. This tells us that $$ f(y)^{3}+f(-y)^{3}=0 \Leftrightarrow f(-y)=-f(y), \forall y \in \mathbb{R} $$ so $f$ is odd. 1 point. Moreover, for $z=0$ and $y=-x$, we have $$ f\left(x^{3}\right)+f(-x)^{3}=0 \Leftrightarrow f\left(x^{3}\right)=f(x)^{3}, \forall x \in \mathbb{R} $$ because $f$ is odd. 1 point. This means that the original equation becomes $$ f(x)^{3}+f(y)^{3}+f(z)^{3}=3 x y z $$ for all $x, y, z$ such that $x+y+z=0$, and by substituting $z=-x-y$ we can transform this into the equation (using also the fact that $f$ is odd), $$ f(x)^{3}+f(y)^{3}+f(-x-y)^{3}=-3 x y(x+y) \Leftrightarrow f(x+y)^{3}=f(x)^{3}+f(y)^{3}+3 x y(x+y), \forall x, y \in \mathbb{R} $$ Lemma: For all $n \in \mathbb{N}$ and $x \in \mathbb{R}$, the following relation holds: $$ f(n x)^{3}=n f(x)^{3}+\left(n^{3}-n\right) x^{3} $$ Proof. We proceed by induction on $n$. For $n=1$ the statement is obvious for all $x$. Next, if this relation holds for some $n \in \mathbb{N}$ and all $x$, then by putting $y \rightarrow n x$ in (1), we conclude that $$ \begin{aligned} & f((n+1) x)^{3}=f(x)^{3}+f(n x)^{3}+3 n(n+1) x^{3}=(n+1) f(x)^{3}+\left(n^{3}-n+3 n(n+1)\right) x^{3} \\ &(n+1) f(x)^{3}+\left((n+1)^{3}-(n+1)\right) x^{3}, \end{aligned} $$ and the Lemma follows 1 point. Next, we fix $x \in \mathbb{R}$ and we compute $f\left(n^{3} x^{3}\right)^{3}=f(n x)^{9}$ in two different ways for all $n \in \mathbb{N}$. Of course, $$ f\left(n^{3} x^{3}\right)^{3}=n^{3} f\left(x^{3}\right)^{3}+\left(n^{9}-n^{3}\right) x^{9}=n^{9} x^{9}+n^{3}\left(f(x)^{9}-x^{9}\right) $$ On the other hand, we have $$ \begin{aligned} f(n x)^{9} & =\left(n f(x)^{3}+\left(n^{3}-n\right) x^{3}\right)^{3} \\ & =n^{3} f(x)^{9}+3 n^{2}\left(n^{3}-n\right) f(x)^{6} x^{3}+3 n\left(n^{3}-n\right)^{2} f(x)^{3} x^{6}+\left(n^{3}-n\right)^{3} x^{9} \\ & =n^{9} x^{9}+3 n^{7}\left(f(x)^{3} x^{6}-x^{9}\right)+3 n^{5}\left(f(x)^{6} x^{3}-2 f(x)^{3} x^{6}+x^{9}\right) \\ & +n^{3}\left(f(x)^{9}-3 f(x)^{6} x^{3}+3 f(x)^{3} x^{6}-x^{9}\right) \end{aligned} $$ 3 points. This means that the polynomials $$ \begin{gathered} p_{x}(y)=x^{9} y^{9}+\left(f(x)^{3}-x^{3}\right) y^{3} \quad \text { and } \\ q_{x}(y)=x^{9} y^{9}+3 x^{6}\left(f(x)^{3}-x^{3}\right) y^{7}+3 x^{3}\left(f(x)^{3}-x^{3}\right)^{2} y^{5}+\left(f(x)^{3}-x^{3}\right)^{3} y^{3} \end{gathered} $$ are equal for infinitely many values of $y$, thus they are equal as polynomials. Comparing the coefficients of $y^{7}$, we get that $f(x)^{3}=x^{3} \Leftrightarrow f(x)=x, \forall x \in \mathbb{R}$. This function obviously satisfies the condition of the problem. 4 points. Second Solution. The facts that $f(0)=0, f$ is odd and $f\left(x^{3}\right)=f(x)^{3}$ are obtained in the same way as in the previous solution. 2 points. The same way as in the previous solution, we obtain the following equality for all $n \in \mathbb{N}, x \in \mathbb{R}$ : $$ f(n x)^{3}=n f(x)^{3}+\left(n^{3}-n\right) x^{3} $$ 1 point. In particular, for $n=8$ and $x^{3} \neq 0$, we have $$ f\left(8 x^{3}\right)^{3}=8 f\left(x^{3}\right)^{3}+\left(8^{3}-8\right) x^{9} $$ On the other hand, we have $$ f\left(8 x^{3}\right)^{3}=f(2 x)^{9}=\left(2 f(x)^{3}+\left(2^{3}-2\right) x^{3}\right)^{3} $$ Simplifying the equality $\left(2 f(x)^{3}+\left(2^{3}-2\right) x^{3}\right)^{3}=8 f\left(x^{3}\right)^{3}+\left(8^{3}-8\right) x^{9}$, we obtain: $$ 8 f(x)^{9}+72 f(x)^{6} x^{3}+216 f(x)^{3} x^{6}+216 x^{9}=8 f(x)^{9}+504 x^{9} $$ which, dividing by $72 x^{3}$, can be simplified to $$ f(x)^{6}+3 f(x)^{3} x^{3}=4 x^{6} $$ This can be factored as $$ \left(f(x)^{3}-x^{3}\right)\left(f(x)^{3}+4 x^{3}\right)=0 $$ Thus, for each $x$, we have either $f(x)=x$ or $f(x)=-\sqrt[3]{4} x$. 2 points. Suppose that there exists some $y_{0} \neq 0$ such that $f\left(y_{0}\right)=-\sqrt[3]{4} y_{0}$. Then, using the Lemma, we have $$ f\left(2 y_{0}\right)^{3}=2 f\left(y_{0}\right)^{3}+6 y_{0}^{3}=-8 y_{0}^{3}+6 y_{0}^{3}=-2 y_{0}^{3} $$ which is impossible since $f\left(2 y_{0}\right)^{3} \in\left\{2 y_{0}^{3},-8 y_{0}^{3}\right\}$. Thus, $f(x)=x$ for all $x \in \mathbb{R}$. This function obviously satisfies the problem's condition. 3 points. Third Solution. The facts that $f(0)=0, f$ is odd and $f\left(x^{3}\right)=f(x)^{3}$ are obtained in the same way as in the previous solutions. 2 points. By setting $z=-(x+y)$, the equation can be rephrased as $$ f\left(x^{3}\right)+f\left(y^{3}\right)=f(x+y)^{3}-3 x y(x+y) $$ Let $g(x):=f(x)^{3}-x^{3}$. Then $$ g(x+y)=g(x)+g(y) $$ Also, from $f\left(x^{3}\right)=f(x)^{3}$, we obtain $$ g\left(x^{3}\right)=f(x)^{9}-x^{9}=g(x)\left(x^{6}+f(x)^{6}+x^{3} f(x)^{3}\right) $$ which can be rewritten in terms of $g$ as $$ g\left(x^{3}\right)=g(x)\left(g(x)^{2}+3 x^{3} g(x)+3 x^{6}\right) $$ 1 point. Note that $f(1)^{3}=f(1)$, so $f(1) \in\{0,1,-1\}$, which means $g(1) \in\{0,-1,-2\}$. We now prove $g(1)=0$. Note that $g(2)=2 g(1) \in\{0,-2,-4\}$, and $$ 4 g(2)=g(8)=g(2)\left(g(2)^{2}+24 g(2)+192\right) $$ If $g(2)=0$, then $g(1)=0$. Otherwise, $g(2)^{2}+24 g(2)+192=4$. However, checking for values $g(2)=-2$ and $g(2)=-4$ gives no solution, a contradiction. Thus, $g(2)=0$ and $g(1)=0$. We'll use the following notation. For a function $h: \mathbb{R} \rightarrow \mathbb{R}, \Delta h(x)$ will denote $h(x+1)-h(x)$. Now we express $g\left((x+1)^{3}\right)$ in two different ways. The first way is the following: $$ \begin{aligned} g\left((x+1)^{3}\right) & =g(x+1)\left(g(x+1)^{2}+3(x+1)^{3} g(x+1)+3(x+1)^{2}\right) \\ & =g(x)\left(g(x)^{2}+3(x+1)^{3} g(x)+3(x+1)^{6}\right) \end{aligned} $$ where we used $g(x+1)=g(x)+g(1)=g(x)$. The second way is the following: $$ \begin{aligned} g\left((x+1)^{3}\right) & =g\left(x^{3}\right)+3 g\left(x^{2}\right)+3 g(x) \\ & =g(x)\left(g(x)^{2}+3 x^{3} g(x)+3 x^{6}\right)+3 g\left(x^{2}\right)+3 g(x) \end{aligned} $$ Thus, we have the equality $$ g(x)\left(g(x)^{2}+3(x+1)^{3} g(x)+3(x+1)^{2}\right)=g(x)\left(g(x)^{2}+3 x^{3} g(x)+3 x^{6}\right)+3 g\left(x^{2}\right)+3 g(x) $$ This gives us the following expression for $g\left(x^{2}\right)$ via $g(x)$ : $$ g\left(x^{2}\right)=g(x)\left(g(x) \Delta x^{3}+\Delta x^{6}-1\right) $$ 2 points. Now we write $g\left((x+1)^{2}\right)$ in two different ways. The first way is $$ g\left((x+1)^{2}\right)=g(x)\left(g(x) \Delta(x+1)^{3}+\Delta(x+1)^{6}-1\right) $$ The second way is $$ \begin{aligned} g\left((x+1)^{2}\right) & =g\left(x^{2}\right)+2 g(x) \\ & =g(x)\left(g(x) \Delta x^{3}+\Delta x^{6}+1\right) \end{aligned} $$ 1 point. We claim that $g(x)=0$ for all $x$. If this isn't the case for some $x$, then $$ g(x) \Delta x^{3}+\Delta x^{6}+1=g(x) \Delta(x+1)^{3}+\Delta(x+1)^{6}-1 $$ However, then the same holds for $x+n$ for every positive integer $n$ since $g(x+n)=g(x) \neq 0$. We conclude that the polynomial $$ p(y):=g(x) \Delta y^{3}+\Delta y^{6}+1-\left(g(x) \Delta(y+1)^{3}+\Delta(y+1)^{6}-1\right) $$ has infinitely many zeroes. But its degree is 4 , which gives us a contradiction. Thus, $g(x)=0$ for all $x$, so $f(x)^{3}=x^{3}$, which means $f(x)=x$. It's easy to check that this function satisfies the problem's condition. 4 points. ## Notes on marking: - Points from different solutions are not additive. - If a contestant doesn't comment that the function $f(x)=x$ is indeed a solution, they can score at most $\mathbf{9}$ points on the problem. - Obtaining $f(1)=1$ (or equivalently $g(1)=0$ ) is worth 1 point. However, this point is only additive with the first two points, and not additive with the remaining eight points. Problem 4. Five points $A, B, C, D$ and $E$ lie on a circle $\tau$ clockwise in that order such that $A B$ is parallel to $C E$ and $\measuredangle A B C>90^{\circ}$. Let $k$ be a circle tangent to $A D, C E$ and $\tau$ such that the circles $k$ and $\tau$ touch on the $\operatorname{arc} E D$ which doesn't contain $A, B$ and $C$. Let $F \neq A$ be the intersection of $\tau$ and the line tangent to $k$ passing through $A$ different from $A D$. Prove that there exists a circle tangent to $B D, B F, C E$ and $\tau$. (Steve Vo Dinh) First Solution. Let us present the main lemma first and we'll see later how the problem statement follows from this lemma. Lemma Let $A B C D$ be a cyclic quadrilateral and $\gamma_{1}$ and $\gamma_{2}$ be $C$-mixtilinear and $D$-mixtilinear incircles of triangles $A B D$ and $A B C$ respectively. The external common tangent $t$ of circles $\gamma_{1}$ and $\gamma_{2}$ which is closer to $C D$ is parallel to $C D$. We will divide the proof into a few main claims. Claim 1 Let $A B C D$ be a cyclic quadrilateral and $\omega_{1}$ and $\omega_{2}$ be incircles of triangles $A B D$ and $A B C$ respectively. The external common tangent $\ell$ of circles $\omega_{1}$ and $\omega_{2}$ different from $A B$ is parallel to $C D$. ![](https://cdn.mathpix.com/cropped/2024_06_05_c444d300704e54424959g-17.jpg?height=562&width=1056&top_left_y=924&top_left_x=183) Proof: Let $I_{1}, I_{2}$ be centers of $\omega_{1}, \omega_{2}$ and let $\ell$ touch $\omega_{1}, \omega_{2}$ at $X_{1}, Y_{1}$ respectively. Also let $C D$ intersect $A B$ at $E$. We know that $\angle A I_{1} B=90^{\circ}+\frac{\angle A D B}{2}=90^{\circ}+\frac{\angle A C B}{2}=\angle A I_{2} B$ so $A I_{1} I_{2} B$ is cyclic quadrilateral. We know that lines $A B, X_{1} Y_{1}, I_{1} I_{2}$ concurr at the point $T$ which is the center of homothethy between $\omega_{1}$ and $\omega_{2}$. It can be easily seen that line $T-I_{1}-I_{2}$ is the bisector of $\angle X_{1} T A$ so we have that: $$ \angle X_{1} T A=2 \cdot \angle I_{1} T A=2 \cdot\left(\angle I_{1} A B-\angle T I_{1} A\right)=2 \cdot\left(\angle I_{1} A B-\angle A B I_{2}\right)=2 \cdot\left(\frac{\angle D A B}{2}-\frac{\angle A B C}{2}\right)=\angle D A B-\angle A B C $$ On the other hand $\angle D A B-\angle A B C=\angle D A B-\angle A D E=\angle A E D$. In the end, we have that $\angle X_{1} T A=\angle A E D$ which implies that $\ell \| C D$. 2 points. Claim 2: Consider homotethy $\mathcal{H}_{1}$ with center at $D$ which sends $\omega_{1}$ to $\gamma_{1}$ and homotethy $\mathcal{H}_{2}$ with center at $C$ which sends $\omega_{2}$ to $\gamma_{2}$. $\mathcal{H}_{1}$ and $\mathcal{H}_{2}$ have the same ratio. ![](https://cdn.mathpix.com/cropped/2024_06_05_c444d300704e54424959g-18.jpg?height=897&width=894&top_left_y=180&top_left_x=270) Proof: Let $J_{1}, J_{2}$ be centers of $\gamma_{1}, \gamma_{2}$ and let $\gamma_{1}, \gamma_{2}$ touch $\odot(A B C D)$ at $T_{1}, T_{2}$ respectively. We know that $J_{1}$ lies on the bisector of $\angle A D B$ and that $J_{2}$ lies on the bisector of $\angle A C B$ so lines $D-I_{1}-J_{1}$ and $C-I_{1}-J_{1}$ intersect at $Q$, midpoint of an arc $A B$ of $\odot(A B C D)$ which doesn't contain $C$ and $D$. We know that $Q$ is the center of $\odot\left(A I_{1} I_{2} B\right)$. On the other hand it's the well-known property of the mixtilinear incircle that $T_{1} I_{1}$ passes through $P$, midpoint an arc $A B$ of $\odot(A B C D)$ which contains $C$ and $D$. Same holds for $T_{2} I_{2}$. Let $O$ be the center of $\odot(A B C D)$. We know that $O, J_{1}, T_{1}$ are collinear and that $O$ is the midpoint of $P Q$. Let line passing through $J_{1}$ parallel to $P T_{1}$ intersect $P Q$ at $R$. Then $T_{1} J_{1} R P$ is an isosceleces trapezoid so $T_{1} J_{1}=P R$. On the other hand from $R J_{1} \| P I_{1}$ we have that $\frac{I_{1} J_{1}}{J_{1} T_{1}}=\frac{I_{1} J_{1}}{P R}=\frac{Q I_{1}}{Q P}$. Analogously we can prove that $\frac{I_{2} J_{2}}{J_{2} T_{2}}=\frac{Q I_{2}}{Q P}$. Because of $Q I_{1}=Q I_{2}$ we can conclude that $\frac{I_{1} J_{1}}{J_{1} T_{1}}=\frac{I_{2} J_{2}}{J_{2} T_{2}}=k$. Let $r_{1}, r_{2}, \rho_{1}, \rho_{2}$ be radius of circles $\omega_{1}, \omega_{2}, \gamma_{1}, \gamma_{2}$ respectively. We know that the ratio of $\mathcal{H}_{1}$ is $\frac{r_{1}}{\rho_{1}}$ and the ratio of $\mathcal{H}_{2}$ is $\frac{r_{2}}{\rho_{2}}$. Also we have $D I_{1}=\frac{r_{1}}{\sin \frac{A A D E}{2}}, D J_{1}=\frac{\rho_{1}}{\sin \frac{\frac{A D E}{}}{2}}$. We know that: $$ k=\frac{I_{1} J_{1}}{J_{1} T_{1}}=\frac{D J_{1}-D I_{1}}{\rho_{1}}=\frac{\frac{\rho_{1}-r_{1}}{\sin \angle A D B}}{\rho_{1}} $$ which simplifies to $\frac{r_{1}}{\rho_{1}}=1-k \cdot \sin \frac{\angle A D B}{2}$. Analogously we can get that $\frac{r_{2}}{\rho_{2}}=1-k \cdot \sin \frac{\angle A C B}{2}$ so $\frac{r_{1}}{\rho_{1}}=\frac{r_{2}}{\rho_{2}}$ because of $\angle A D B=\angle A C B$. 3 points. Claim 3: $t \| \ell$ ![](https://cdn.mathpix.com/cropped/2024_06_05_c444d300704e54424959g-18.jpg?height=711&width=1060&top_left_y=2003&top_left_x=178) Proof: Let $\ell$ touch $\omega_{1}, \omega_{2}$ at $X_{1}, X_{2}$ respectively. Let $Y_{1}, Y_{2}$ be points at $D X_{1}, C X_{2}$ respectively such that $I_{1} X_{1} \| J_{1} Y_{1}$ and $I_{2} X_{2} \| J_{2} Y_{2}$. From $\frac{D I_{1}}{D J_{1}}=\frac{r_{1}}{\rho_{1}}$ and $I_{1} X_{1} \| J_{1} Y_{1}$ we have that $J_{1} Y_{1}=\rho_{1}$ so $Y_{1} \in \gamma_{1}$. Analogously $Y_{2} \in \gamma_{2}$. We know that $\frac{D X_{1}}{D Y_{1}}=\frac{r_{1}}{\rho_{1}}=\frac{r_{2}}{\rho_{2}}=\frac{D X_{2}}{D Y_{2}}$. This means that because of $C D \| X_{1} Y_{1}$ we have that $C D\left\|X_{1} X_{2}\right\| Y_{1} Y_{2}$. Now from $I_{1} X_{1} \| J_{1} Y_{1}$ we have that $I_{1} X_{1} \perp Y_{1} Y_{2}$ so $Y_{1} Y_{2}$ is tangent to $\gamma_{1}$. Analogously $Y_{1} Y_{2}$ is tangent to $\gamma_{2}$ so we conclude that line $Y_{1} Y_{2}$ coincides with $t$. Now let's conclude why the original problem follows from our main lemma. ![](https://cdn.mathpix.com/cropped/2024_06_05_c444d300704e54424959g-19.jpg?height=846&width=1054&top_left_y=545&top_left_x=181) We know that $C E$ is the tangent to the mixtilinear incircle of the triangle $A D F$ which is parallel to $A B$. From our main lemma, we can conclude that $C E$ has to be the tangent to the mixtilinear incircle of the triangle $B D F$ as well because there exists a unique tangent line to mixtilinear incircle of the triangle $A D F$ which is parallel to $A B$ and closer to $A B$ than the center of that circle. 1 point. ## Second Solution. Denote by $X, Y, Q$ respectively the points where $k$ touches $C E, A F, \tau$. Furthermore, let $Z$ be the point where $k$ touches $A D$, and $X_{1}$ the intersection of $\tau$ and $A X$. Let $r$ be the circle tangent to $B F, B D$ and $C E$ at points $Z_{1}, Y_{1}$ and $Q_{1}$. We claim that $X_{1}$ is the touching point of $r$ and $\tau$. ## Define: $L:=B F \cap C E, M:=B D \cap C E$ $F_{1}:=A F \cap C E, D_{1}:=A D \cap C E$ ![](https://cdn.mathpix.com/cropped/2024_06_05_c444d300704e54424959g-20.jpg?height=1006&width=1031&top_left_y=188&top_left_x=524) Claim 1: $\triangle B D F \sim A F_{1} D_{1}$ and $\triangle A F D \sim B M L$ Proof: We have $\angle D_{1} A F_{1}=\angle F A D=\angle F B D$ and $\angle A D_{1} F_{1}=\angle D_{1} A B=\angle B A D=\angle B F D$, so the triangles $\triangle B D F$ and $\triangle A F_{1} D_{1}$ have the same angles, which proves the first part of the claim. The second part of the claim follows by the same logic. 1 point. Claim 2: $Q, Q_{1}$ and $B$ are collinear Proof: Due to the mixtilinear incircle lemma and Claim 1 applied to $\triangle A F D$ and $\tau$, we know that $\angle L B Q_{1}=\angle F A Q$, from which the claim follows. 1 point. Consider the inversion $I$ with center $B$ and radius $R:=\sqrt{B D \cdot B F}, I(X)=X^{*}$. 1 point. From the properties of inversion we know that $\triangle B F D \sim \triangle B D^{*} F^{*}$, so by Claim 1 we have $A D_{1} F_{1} \sim B D^{*} F^{*}$. Let $H$ be the homothety that sends $\triangle B D^{*} F^{*}$ to the $\triangle A D_{1} F_{1}$. Let $f=H \circ I$. This function preserves angles, lines and circles after the inversion. We can see that $f(B)=A, f(D)=D_{1}, f(F)=F_{1}$. 1 point. The circle $\tau$ goes trough $B, F$ and $D$, so because of inversion properties and because of the fact that $F_{1}$ and $D_{1}$ lie on $C E$, we conclude that $f(\tau)=C E$. 1 point. $f(L)$ is a point on the line $A F$, because of the inversion and homothety properties for distance we know that $$ \begin{gathered} B L \cdot B L^{*}=B D \cdot B F \\ B L^{*}=\frac{B D \cdot B F}{B L} \end{gathered} $$ We multiply this this by the homothety coefficient $\frac{A D_{1}}{B D^{*}}=\frac{A D_{1}}{B F}$ and we get $$ B L^{*}=\frac{B D \cdot B F}{B L} \cdot \frac{A D_{1}}{B F} $$ $$ \begin{aligned} B L^{*} & =\frac{B D \cdot A D_{1}}{B L} \\ B L^{*} & =\frac{B D \cdot A D_{1}}{B L} \end{aligned} $$ Beacause of Claim 1 we have $\frac{B L}{B M}=\frac{A D}{A F}$, so we have $$ B L^{*}=\frac{B D \cdot A D_{1} \cdot A F}{B M \cdot A D} $$ Because $A B\|C E\| D_{1} M$, we have $\frac{A D_{1}}{B M}=\frac{A D}{B D}$ We conclude that $B L^{*}=A F$. Applying the same logic again, we conclude $B M^{*}=A D$. Because of this, we know $f(L)=F$ and $f(M)=D$. This implies that $f(C E)=\tau$. 2 points. Because of Claim 2, we have $\angle M B Q_{1}=\angle D B Q=\angle D A Q$, and so by the properties of $f$ we have $f\left(Q_{1}\right)=Q$ because $f\left(Q_{1}\right)$ is on $\tau$ and $A Q$. 1 point. The function $f$ preserves tangency because $H$ and $I$ also do, so $r$ is sent to a circle tangent to $\tau$ at $Q$, which is also tangent to $A F$ and $A D$ so $f(r)=k, f\left(Z_{1}\right)=Z$ and $f\left(Y_{1}\right)=Y$. The point $X_{1}$ is on $\tau$, but we also have $\angle X_{1} B D=\angle X_{1} A D$, so we know that $f\left(X_{1}\right)$ is on the lines $C E$ and $A X_{1}$, so we conclude $f\left(X_{1}\right)=X$. Because $f(\tau)=C E$ is tangent to $f(r)=k$ at the point $X$, the touching point must be preserved, so $X_{1}$ is the touching point of $r$ and $\tau$, which proves the claim. 2 points. ## Notes on marking: - Points from different solutions are not additive.