# Baltic Way Time allowed: 4 hours and 30 minutes. During the first 30 minutes, questions may be asked. Tools for writing and drawing are the only ones allowed. Problem 1. Let $\mathbb{R}^{+}$denote the set of positive real numbers. Assume that $f: \mathbb{R}^{+} \rightarrow \mathbb{R}^{+}$is a function satisfying the equations $$ f\left(x^{3}\right)=f(x)^{3} \text { and } f(2 x)=f(x) $$ for all $x \in \mathbb{R}^{+}$. Find all possible values of $f(\sqrt[2022]{2})$. Problem 2. We define a sequence of natural numbers by the initial values $a_{0}=a_{1}=a_{2}=1$ and the recursion $$ a_{n}=\left\lfloor\frac{n}{a_{n-1} a_{n-2} a_{n-3}}\right\rfloor $$ for all $n \geq 3$. Find the value of $a_{2022}$. Problem 3. We call a two-variable polynomial $P(x, y)$ secretly one-variable, if there exist polynomials $Q(x)$ and $R(x, y)$ such that $\operatorname{deg}(Q) \geq 2$ and $P(x, y)=Q(R(x, y))$ (e.g. $x^{2}+1$ and $x^{2} y^{2}+1$ are secretly one-variable, but $x y+1$ is not). Prove or disprove the following statement: If $P(x, y)$ is a polynomial such that both $P(x, y)$ and $P(x, y)+1$ can be written as the product of two non-constant polynomials, then $P$ is secretly one-variable. Note: All polynomials are assumed to have real coefficients. Problem 4. The positive real numbers $x, y$ and $z$ satisfy $x y+y z+z x=1$. Prove that $$ 2\left(x^{2}+y^{2}+z^{2}\right)+\frac{4}{3}\left(\frac{1}{x^{2}+1}+\frac{1}{y^{2}+1}+\frac{1}{z^{2}+1}\right) \geq 5 $$ Problem 5. Let $\mathbb{R}$ denote the set of real numbers. Determine all functions $f: \mathbb{R} \rightarrow \mathbb{R}$ such that $f(0)+1=f(1)$, and for any real numbers $x$ and $y$, $$ f(x y-x)+f(x+f(y))=y f(x)+3 . $$ Problem 6. Mattis is hosting a badminton tournament for 40 players on 20 courts numbered from 1 to 20. The players are distributed with 2 players on each court. In each round a winner is determined on each court. Afterwards, the player who lost on court 1, and the player who won on court 20 stay in place. For the remaining 38 players, the winner on court $i$ moves to court $i+1$ and the loser moves to court $i-1$. The tournament continues until every player has played every other player at least once. What is the minimal number of rounds the tournament can last? Problem 7. The writer Arthur has $n \geq 1$ co-authors who write books with him. Each book has a list of authors including Arthur himself. No two books have the same set of authors. At a party with all his co-author, each co-author writes on a note how many books they remember having written with Arthur. Inspecting the numbers on the notes, they discover that the numbers written down are the first $n$ Fibonacci numbers (defined by $F_{1}=F_{2}=1$ and $F_{k+2}=F_{k+1}+F_{k}$ ). For which $n$ is it possible that none of the co-authors had a lapse of memory? ## Baltic Way Problem 8. For a natural number $n \geq 3$, we draw $n-3$ internal diagonals in a non self-intersecting, but not necessarily convex, $n$-gon, cutting the $n$-gon into $n-2$ triangles. It is known that the value (in degrees) of any angle in any of these triangles is a natural number and no two of these angle values are equal. What is the largest possible value of $n$ ? Problem 9. Five elders are sitting around a large bonfire. They know that Oluf will put a hat of one of four colours (red, green, blue or yellow) on each elder's head, and after a short time for silent reflection each elder will have to write down one of the four colours on a piece of paper. Each elder will only be able to see the colour of their two neighbours' hats, not that of their own nor that of the remaining two elders' hats, and they also cannot communicate after Oluf starts putting the hats on. Show that the elders can devise a strategy ahead of time so that at most two elders will end up writing down the colour of their own hat. Problem 10. A natural number $a$ is said to be contained in the natural number $b$ if it is possible to obtain $a$ by erasing some digits from $b$ (in their decimal representations). For example, 123 is contained in 901523, but not contained in 3412. Does there exist an infinite set of natural numbers such that no number in the set is contained in any other number from the set? Problem 11. Let $A B C$ be a triangle with circumcircle $\Gamma$ and circumcentre $O$. The circle with centre on the line $A B$ and passing through the points $A$ and $O$ intersects $\Gamma$ again in $D$. Similarly, the circle with centre on the line $A C$ and passing through the points $A$ and $O$ intersects $\Gamma$ again in $E$. Prove that $B D$ is parallel with $C E$. Problem 12. An acute-angled triangle $A B C$ has altitudes $A D, B E$ and $C F$ (where $D, E$ and $F$ lie on the sides $B C, C A$ and $A B$, respectively). Let $Q$ be an interior point of the segment $A D$, and let the circumcircles of the triangles $Q D F$ and $Q D E$ meet the line $B C$ again at points $X$ and $Y$, respectively. Prove that $B X=C Y$. Problem 13. Let $A B C D$ be a cyclic quadrilateral with $A B