Let $a \ne 0$ be a real number. Find all functions $f : R_{>0}\to R_{>0}$ with $$f(f(x) + y) = ax + \frac{1}{f\left(\frac{1}{y}\right)}$$for all $x, y \in R_{>0}$. (Proposed by Walther Janous)
2018 Federal Competition For Advanced Students, P2
Day 1
Let $A, B, C$ and $D$ be four different points lying on a common circle in this order. Assume that the line segment $AB$ is the (only) longest side of the inscribed quadrilateral $ABCD$. Prove that the inequality $AB + BD > AC + CD$ holds. (Proposed by Karl Czakler)
There are $n$ children in a room. Each child has at least one piece of candy. In Round $1$, Round $2$, etc., additional pieces of candy are distributed among the children according to the following rule: In Round $k$, each child whose number of pieces of candy is relatively prime to $k$ receives an additional piece. Show that after a sufficient number of rounds the children in the room have at most two different numbers of pieces of candy. (Proposed by Theresia Eisenkölbl)
Day 2
Let $ABC$ be a triangle and $P$ a point inside the triangle such that the centers $M_B$ and $M_A$ of the circumcircles $k_B$ and $k_A$ of triangles $ACP$ and $BCP$, respectively, lie outside the triangle $ABC$. In addition, we assume that the three points $A, P$ and $M_A$ are collinear as well as the three points $B, P$ and $M_B$. The line through $P$ parallel to side $AB$ intersects circles $k_A$ and $k_B$ in points $D$ and $E$, respectively, where $D, E \ne P$. Show that $DE = AC + BC$. (Proposed by Walther Janous)
On a circle $2018$ points are marked. Each of these points is labeled with an integer. Let each number be larger than the sum of the preceding two numbers in clockwise order. Determine the maximal number of positive integers that can occur in such a configuration of $2018$ integers. (Proposed by Walther Janous)
Determine all digits $z$ such that for each integer $k \ge 1$ there exists an integer $n\ge 1$ with the property that the decimal representation of $n^9$ ends with at least $k$ digits $z$. (Proposed by Walther Janous)