# Baltic Way 1992
## Vilnius, November 7, 1992
## Problems and solutions
1. Let $p$ and $q$ be two consecutive odd prime numbers. Prove that $p+q$ is a product of at least three positive integers greater than 1 (not necessarily different).
Solution. Since $q-p=2 k$ is even, we have $p+q=2(p+k)$. It is clear that $p
\frac{2}{3}
$$
7. Let $a=\sqrt[1992]{1992}$. Which number is greater:
$$
\left.a^{a^{a^{a}}}\right\} 1992
$$
or 1992 ?
Solution. The first of these numbers is less than
$$
\left.\left.a^{a^{a^{. \cdot}}}\right\}^{1992}=a^{a^{a^{. \cdot}}}\right\}^{1991}=\ldots=1992 .
$$
8. Find all integers satisfying the equation $2^{x} \cdot(4-x)=2 x+4$.
Solution. Since $2^{x}$ must be positive, we have $\frac{2 x+4}{4-x}>0$ yielding $-20$ and $e=1$. From (iv) it follows that $p^{\prime}(x)=4 a x^{3}+2 c x$ has at least two different real roots. Since $a>0$, we have $c<0$ and $p^{\prime}(x)$ has three roots $x=0, x= \pm \sqrt{-c /(2 a)}$. The minimum points mentioned in $(i v)$ must be $x= \pm \sqrt{-c /(2 a)}$, so $2 \sqrt{-c /(2 a)}=2$ and $c=-2 a$. Finally, by $(i i)$ we have $p(x)=a\left(x^{2}-1\right)^{2}+1-a \geq 0$ for all $x$, which implies $02$ and $\frac{1}{2} \leq q<1$ respectively. Now, for any rational number $\frac{a}{b} \neq 1$ we can use $(i),\left(i^{\prime}\right),(i i)$ or $\left(i i^{\prime}\right)$ to express $f\left(\frac{a}{b}\right)$ in terms of $f\left(\frac{a^{\prime}}{b^{\prime}}\right)$ where $a^{\prime}+b^{\prime}2$. Now, for a fixed point $1<\frac{a}{b} \leq 2$ (ii) easily gives us that $\frac{a}{b}-1=\frac{a-b}{b}$ and $\frac{b}{a-b}$ are fixed points too. It is easy to see that $1 \leq \frac{b}{a-b} \leq 2$ (the latter holds because $\frac{b}{a-b}$ is a fixed point). As the sum of the numerator and denominator of the new fixed point is strictly less than $a+b$ we can continue in this manner until, in a finite number of steps, we arrive at the fixed point 1. By reversing the process, any fixed point $q>1$ can be constructed by repeatedly using the condition that if $\frac{a}{b}>1$ is a fixed point then so is $\frac{a+b}{a}$, starting with $a=b=1$. It is now an easy exercise to see that these fixed points have the form $\frac{F_{n+1}}{F_{n}}$ where $\left\{F_{n}\right\}_{n \in \mathbb{N}}$ is the sequence of Fibonacci numbers.
12. Let $\mathbb{N}$ denote the set of positive integers. Let $\varphi: \mathbb{N} \rightarrow \mathbb{N}$ be a bijective function and assume that there exists a finite limit
$$
\lim _{n \rightarrow \infty} \frac{\varphi(n)}{n}=L
$$
What are the possible values of $L$ ?
Solution. In this solution we allow $L$ to be $\infty$ as well. We show that $L=1$ is the only possible value. Assume that $L>1$. Then there exists a number $N$ such that for any $n \geq N$ we have $\frac{\varphi(n)}{n}>1$ and thus $\varphi(n) \geq n+1 \geq N+1$. But then $\varphi$ cannot be bijective, since the numbers $1,2, \ldots, N-1$ cannot be bijectively mapped onto $1,2, \ldots, N$.
Now assume that $L<1$. Since $\varphi$ is bijective we clearly have $\varphi(n) \rightarrow \infty$ as $n \rightarrow \infty$. Then
$$
\lim _{n \rightarrow \infty} \frac{\varphi^{-1}(n)}{n}=\lim _{n \rightarrow \infty} \frac{\varphi^{-1}(\varphi(n))}{\varphi(n)}=\lim _{n \rightarrow \infty} \frac{n}{\varphi(n)}=\frac{1}{L}>1,
$$
i.e., $\lim _{n \rightarrow \infty} \frac{\varphi^{-1}(n)}{n}>1$, which is a contradiction since $\varphi^{-1}$ is also bijective. (When $L=0$ we interpret $\frac{1}{L}$ as $\infty$ ).
13. Prove that for any positive $x_{1}, x_{2}, \ldots, x_{n}$ and $y_{1}, y_{2}, \ldots, y_{n}$ the inequality
$$
\sum_{i=1}^{n} \frac{1}{x_{i} y_{i}} \geq \frac{4 n^{2}}{\sum_{i=1}^{n}\left(x_{i}+y_{i}\right)^{2}}
$$
holds.
Solution. Since $\left(x_{i}+y_{i}\right)^{2} \geq 4 x_{i} y_{i}$, it is sufficient to prove that
$$
\left(\sum_{i=1}^{n} \frac{1}{x_{i} y_{i}}\right)\left(\sum_{i=1}^{n} x_{i} y_{i}\right) \geq n^{2}
$$
This can easily be done by induction using the fact that $a+\frac{1}{a} \geq 2$ for any $a>0$. It also follows directly from the Cauchy-Schwarz inequality.
14. There is a finite number of towns in a country. They are connected by one direction roads. It is known that, for any two towns, one of them can be reached from the other one. Prove that there is a town such that all the remaining towns can be reached from it.
Solution. Consider a town $A$ from which a maximal number of towns can be reached. Suppose there is a town $B$ which cannot be reached from $A$. Then $A$ can be reached from $B$ and so one can reach more towns from $B$ than from $A$, a contradiction.
15. Noah has to fit 8 species of animals into 4 cages of the ark. He plans to put species in each cage. It turns out that, for each species, there are at most 3 other species with which it cannot share the accommodation. Prove that there is a way to assign the animals to their cages so that each species shares a cage with compatible species.
Solution. Start assigning the species to cages in an arbitrary order. Since for each species there are at most three species incompatible with it, we can always add it to one of the four cages.
Remark. Initially the problem was posed as follows: "...He plans to put two species in each cage..." Because of a misprint the word "two" disappeared, and the problem became trivial. We give a solution to the original problem. Start with the distribution obtained above. If in some cage $A$ there are more than three species, then there is also a cage $B$ with at most one species and this species is compatible with at least one species in cage $A$, which we can then transfer to cage $B$. Thus we may assume that there are at most three species in each cage. If there are two cages with 3 species, then we can obviously transfer one of these 6 species to one of the remaining two cages. Now, assume the four cages contain 1, 2, 2 and 3 species respectively. If the species in the first cage is compatible with one in the fourth cage, we can transfer that species to the first cage, and we are done. Otherwise, for an arbitrary species $X$ in the fourth cage there exists a species compatible with it in either the second or the third cage. Transfer the other species from that cage to the first cage, and then $X$ to that cage.
16. All faces of a convex polyhedron are parallelograms. Can the polyhedron have exactly 1992 faces?
Solution. No, it cannot. Let us call a series of faces $F_{1}, F_{2}, \ldots, F_{k}$ a ring if the pairs $\left(F_{1}, F_{2}\right),\left(F_{2}, F_{3}\right), \ldots$, $\left(F_{k-1}, F_{k}\right),\left(F_{k}, F_{1}\right)$ each have a common edge and all these common edges are parallel. It is not difficult to see that any two rings have exactly two common faces and, conversely, each face belongs to exactly two rings. Therefore, if there are $n$ rings then the total number of faces must be $2\left(\begin{array}{l}n \\ 2\end{array}\right)=n(n-1)$. But there is no positive integer $n$ such that $n(n-1)=1992$.
Remark. The above solution, which is the only one proposed that is known to us, is not correct. For a counterexample, consider a cube with side 2 built up of four unit cubes, and take the polyhedron with 24 faces built up of the faces of the unit cubes that face the outside. This polyhedron has rings that do not have any faces in common. Moreover, by subdividing faces into rectangles sufficiently many times, we can obtain a polyhedron with 1992 faces.
17. Quadrangle $A B C D$ is inscribed in a circle with radius 1 in such a way that one diagonal, $A C$, is a diameter of the circle, while the other diagonal, $B D$, is as long as $A B$. The diagonals intersect in $P$. It is known that the length of $P C$ is $\frac{2}{5}$. How long is the side $C D$ ?

Figure 1

Figure 2

Figure 3
Solution. Let $\angle A C D=2 \alpha$ (see Figure 1). Then $\angle C A D=\frac{\pi}{2}-2 \alpha, \angle A B D=2 \alpha, \angle A D B=\frac{\pi}{2}-\alpha$ and $\angle C D B=\alpha$. The sine theorem applied to triangles $D C P$ and $D A P$ yields
$$
\frac{|D P|}{\sin 2 \alpha}=\frac{2}{5 \sin \alpha}
$$
and
$$
\frac{|D P|}{\sin \left(\frac{\pi}{2}-2 \alpha\right)}=\frac{8}{5 \sin \left(\frac{\pi}{2}-\alpha\right)}
$$
Combining these equalities we have
$$
\frac{2 \sin 2 \alpha}{5 \sin \alpha}=\frac{8 \cos 2 \alpha}{5 \cos \alpha}
$$
which gives $4 \sin \alpha \cos ^{2} \alpha=8 \cos 2 \alpha \sin \alpha$ and $\cos 2 \alpha+1=4 \cos 2 \alpha$. So we get $\cos 2 \alpha=\frac{1}{3}$ and $|C D|=$ $2 \cos 2 \alpha=\frac{2}{3}$.
18. Show that in a non-obtuse triangle the perimeter of the triangle is always greater than two times the diameter of the circumcircle.
Solution. Let $K, L, M$ be the midpoints of the sides $A B, B C, A C$ of a non-obtuse triangle $A B C$ (see Figure 2). Note that the centre $O$ of the circumcircle is inside the triangle $K L M$ (or at one of its vertices if $A B C$ is a right-angled triangle). Therefore $|A K|+|K L|+|L C|>|A O|+|O C|$ and hence $|A B|+|A C|+|B C|>$ $2(|A O|+|O C|)=2 d$, where $d$ is the diameter of the circumcircle.
19. Let $C$ be a circle in the plane. Let $C_{1}$ and $C_{2}$ be non-intersecting circles touching $C$ internally at points $A$ and $B$ respectively. Let $t$ be a common tangent of $C_{1}$ and $C_{2}$, touching them at points $D$ and $E$ respectively, such that both $C_{1}$ and $C_{2}$ are on the same side of $t$. Let $F$ be the point of intersection of $A D$ and $B E$. Show that $F$ lies on $C$.
Solution. Let $F_{1}$ be the second intersection point of the line $A D$ and the circle $C$ (see Figure 3). Consider the homothety with centre $A$ which maps $D$ onto $F_{1}$. This homothety maps the circle $C_{1}$ onto $C$ and the tangent line $t$ of $C_{1}$ onto the tangent line of the circle $C$ at $F_{1}$. Let us do the same with the circle $C_{2}$ and the line $B E$ : let $F_{2}$ be their intersection point and consider the homothety with centre $B$, mapping $E$ onto $F_{2}$, $C_{2}$ onto $C$ and $t$ onto the tangent of $C$ at point $F_{2}$. Since the tangents of $C$ at $F_{1}$ and $F_{2}$ are both parallel to $t$, they must coincide, and so must the points $F_{1}$ and $F_{2}$.
20. Let $a \leq b \leq c$ be the sides of a right triangle, and let $2 p$ be its perimeter. Show that
$$
p(p-c)=(p-a)(p-b)=S
$$
where $S$ is the area of the triangle.
Solution. By straightforward computation, we find:
$$
\begin{aligned}
& p(p-c)=\frac{1}{4}\left((a+b)^{2}-c^{2}\right)=\frac{a b}{2}=S, \\
& (p-a)(p-b)=\frac{1}{4}\left(c^{2}-(a-b)^{2}\right)=\frac{a b}{2}=S .
\end{aligned}
$$