2007
56th Czech and Slovak
Mathematical Olympiad
Edited by
Karel Horák
Translated into English by
Miroslav Engliš
First Round of the 56th Czech and Slovak
Mathematical Olympiad
Problems for the take-home part
(October 2006)
- Find all real roots of the equation
if it is known that it has four distinct real roots, two of which sum up to 1.
Solution. Denote the roots by $x_{1}, x_{2}, x_{3}, x_{4}$ in such a way that $x_{1}+x_{2}=1$. Then
Comparing the coefficients at the corresponding powers of $x$, we obtain the familiar Vièta's relations
Since $x_{1}+x_{2}=1$, it follows from (1) that $x_{3}+x_{4}=2$. We rewrite the equations (2) and (3) in the form
Upon substituting $x_{1}+x_{2}=1$ and $x_{3}+x_{4}=2$, this yields
From this system of linear equations it is already easy to obtain
Observe that for these values of the products $x_{1} x_{2}$ and $x_{3} x_{4}$, the equation (4) which we have not used so far - is also satisfied. From the conditions $x_{1}+x_{2}=1$, $x_{1} x_{2}=-\frac{7}{4}$ it follows that $x_{1}$ and $x_{2}$ are the roots of the quadratic equation
Similarly, from the conditions $x_{3}+x_{4}=2$ and $x_{3} x_{4}=-2$ we obtain
Since, as we have already remarked, these roots satisfy all equations (1) to (4), they are also a solution to the original problem.
Conclusion. The roots of the equation are $\frac{1}{2}+\sqrt{2}, \frac{1}{2}-\sqrt{2}, 1+\sqrt{3}$, and $1-\sqrt{3}$.
Other solution. From the hypothesis it follows that the left-hand side of the equation is the product of polynomials
where $p, q$ and $r$ are real numbers. Upon multiplying out and comparing coefficients at the corresponding powers of $x$, we obtain a system of four equations with three unknowns
The first three equations have a unique solution $r=-8, p=-\frac{7}{4}$ and $q=-8$, which also fulfills the fourth equation. Thus we arrive at the decomposition
The equation $x^{2}-x-\frac{7}{4}=0$ has roots $\frac{1}{2} \pm \sqrt{2}$, and the equation $4 x^{2}-8 x-8=0$ has roots $1 \pm \sqrt{3}$.
- The incircle of a given triangle $A B C$ touches its sides $B C, C A$, and $A B$ at points $K, L$ and $M$, respectively. Denote by $P$ the intersection of the bisector of the interior angle at the vertex $C$ with the line $M K$. Show that the lines $A P$ and $L K$ are parallel.
Solution. Denote by $k$ the incircle of the triangle $A B C$ and by $S$ its center. Let further $\alpha, \beta$ and $\gamma$ denote the magnitudes of the interior angles in the triangle $A B C$ in the usual way. Since the points $K$ and $L$ are axially symmetric with respect to the bisector of the interior angle at the vertex $C$, the lines $K L$ and $C P$ are perpendicular and $|\angle L P C|=|\angle K P C|$ (Fig. 1).
Fig. 1
Expressing the magnitudes of the interior angles at the bases $K M$ and $L K$ in the isosceles triangles $K M B$ and $L K C$, respectively, we get $|\angle M K B|=90^{\circ}-\frac{1}{2} \beta$ and $|\angle L K C|=90^{\circ}-\frac{1}{2} \gamma$. Thus $|\angle M K L|=90^{\circ}-\frac{1}{2} \alpha$. Similarly it follows that $|\angle K L M|=90^{\circ}-\frac{1}{2} \beta$ and $|\angle L M K|=90^{\circ}-\frac{1}{2} \gamma$.
Since $|\angle K P C|+\frac{1}{2} \gamma=|\angle B K P|=90^{\circ}-\frac{1}{2} \beta$, we obtain the equality for the magnitude of the axially symmetric angles $L P C$ and $K P C$
The incircle $k$ of the triangle $A B C$ is at the same time the circumcircle of the triangle $K L M$, which is, in view of the magnitudes of its angles that we have computed, acute. The center $S$ of this circle is therefore an interior point of the latter triangle, hence, an interior point of the segment $C P$. Since
the quadrangle $A P S L$ is chordal. Since the angle $A L S$ is right, the angle $A P S$ is also right (the lines $A P$ and $C P$ are perpendicular), thus the lines $K L$ and $A P$ are parallel. This completes the proof.
Remark. Since $k$ is the circumcircle of the triangle $K L M$, it is easy to express its interior angles from the corresponding central angles: $|\angle K S L|=180^{\circ}-\gamma$, whence $|\angle K M L|=90^{\circ}-\frac{1}{2} \gamma$, etc.
- If $x, y, z$ are real numbers from the interval $\langle-1,1\rangle$ such that $x y+y z+z x=1$, then
Give a proof, and find when the equality holds.
Solution. For any real numbers $x, y, z \in\langle-1,1\rangle$, we have $1-x^{2} \geqslant 0,1-y^{2} \geqslant 0$, $1-z^{2} \geqslant 0$. Applying the inequality between the arithmetic and the geometric mean to the triple of nonnegative real numbers $1-x^{2}, 1-y^{2}, 1-z^{2}$, we thus get
whence
We show that if the real numbers $x, y, z \in\langle-1,1\rangle$ satisfy $x y+y z+z x=1$, then they also satisfy the inequality
Indeed, the right-hand side of this inequality has the form
which upon substituting (2) leads to the equivalent inequality
However, this is easily verified to be true: indeed, it suffices to show that for any real numbers $x, y, z$ satisfying the hypothesis of our problem, we have the inequality
which, however, is equivalent to the inequality
which holds for arbitrary real numbers $x, y, z$.
Conclusion. The inequality we were to prove follows from the inequalities (1) and (2). Equality takes place if and only if it takes places simultaneously in both (1) and (2); this happens if and only if $x=y=z$, which in view of the condition $x y+y z+z x=1$ gives the only two solutions $x=y=z= \pm \frac{1}{3} \sqrt{3}$.
- Find for which natural numbers $n$ it is possible to decompose the set $M=$ ${1,2, \ldots, n}$ into a) two b) three mutually disjoint subsets having the same number of elements and such that each of them also contains the arithmetic mean of all its elements.
Solution. a) Denote the desired subsets by $A$ and $B$. Since they both have the same number of elements, the number of elements of $M$ must be even. Thus $n=2 k$, where $k$ is a natural number.
For $n=4$ no such decomposition of $M={1,2,3,4}$ into two subsets can exist, since the arithmetic mean of two distinct numbers cannot be equal to either of these numbers. Let us construct a desired decomposition of the set $M$ for the first few even values of the number $n$ (the arithmetic mean of the elements in the subsets is set in boldface).
We now show that the desired decomposition of $M$ exists for any $n=2 k$, where $k \neq 2$.
If $k$ is odd, then one possible decomposition is given by
The sum of all the elements of $A$ is $\frac{1}{2} k(k+1)$, their arithmetic mean equals $\frac{1}{2}(k+1)$, which is a natural number. Since $1 \leqslant \frac{1}{2}(k+1) \leqslant k$, the arithmetic mean of all the elements of $A$ is an element of $A$. Similarly, the arithmetic mean $\frac{1}{2}(3 k+1)$ of all elements of the subset $B$ is an element of $B$.
For $k=4$ the existence of the decomposition is shown in the above table; for even numbers $k \geqslant 6$ a possible decomposition is given by
We have $k<\frac{1}{2}(3 k-2) \leqslant 2 k$ and $\frac{1}{2}(3 k-2)$ is a natural number. The set $A$ thus contains $k$ natural numbers from the set $M$. The sum of all the elements of $A$ is
$1+2+\cdots+(k-2)+k+\frac{1}{2}(3 k-2)=\frac{1}{2}(k-2)(k-1)+k+\frac{1}{2}(3 k-2)=\frac{1}{2} k(k+2)$.
Their arithmetic mean is $\frac{1}{2}(k+2)$, which is a natural number. Since $1 \leqslant \frac{1}{2}(k+2) \leqslant$ $k-2$, the arithmetic mean of all the elements of $A$ is an element of $A$. Similarly one shows that the arithmetic mean $\frac{3}{2} k$ of all elements of $B$ is an element of $B$.
b) Let $A, B$ and $C$ denote the desired subsets of the set $M$. Since they all have the same number of elements, $n$ must be divisible by 3 , hence of the form $n=3 k$, where $k$ is a natural number. The sum $s$ of all elements of $M$ equals $s=\frac{1}{2} 3 k(3 k+1)$. The sum of the three arithmetic means of the elements in the subsets $A, B$ and $C$, respectively, is thus equal to $s / k$, that is, $\frac{3}{2}(3 k+1)$. By the hypotheses, this sum must be a natural number, thus $k$ must be odd.
On the other hand, for numbers of the form $n=3 k$, where $k$ is odd, a possible decomposition is given by
Indeed, the sum of all elements in $A$ is $\frac{1}{2} k(k+1)$, hence their arithmetic mean is $\frac{1}{2}(k+1)$, which is a natural number; and since $1 \leqslant \frac{1}{2}(k+1) \leqslant k$, this arithmetic mean is an element of $A$. Similarly we show that the arithmetic mean $\frac{1}{2}(3 k+1)$ of all the elements of $B$ is an element of $B$, and the arithmetic mean $\frac{1}{2}(5 k+1)$ of all the elements of $C$ is an element of $C$.
Conclusion. In part a), the possible numbers $n$ are all even $n$ different from 4 ; in part b), all odd $n$ divisible by three.
- In the plane a circle $k$ is given with center $S$, and a point $A \neq S$. Find the locus of all circumcenters of triangles $A B C$ whose side $B C$ is a diameter of $k$.
Solution. Let $r$ be the radius of $k$. If $A$ lies on $k$, then $S$ is the circumcenter of any of the triangles $A B C$, and the sought locus thus reduces to the singleton ${S}$. Otherwise we distinguish two cases:
a) Let $|A S|>r$. Consider first the isosceles triangle $A B C$ with basis $B C$, satisfying the conditions of the problem. The circumcenter $O$ of this triangle is an interior point of the segment $A S$ and at the same time $|A O|=|B O|=|C O|$.
We claim that the sought locus $\mathcal{O}$ is the line $p$ perpendicular to $A S$ and passing through $O$ (Fig. 2).
Fig. 2
Consider an arbitrary triangle $A B^{\prime} C^{\prime}$, where $B^{\prime} C^{\prime}$ is a diameter of $k$, and denote by $O^{\prime}$ the intersection of the perpendicular bisector of its side $B^{\prime} C^{\prime}$ with the line $p$, so that $\left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|$ (the point $O^{\prime}$ lies on the perpendicular bisector of $B^{\prime} C^{\prime}$ ). By the Pythagorean theorem in the right triangle $C^{\prime} O^{\prime} S$,
On the other hand, for the length of the segment $O^{\prime} A$ we have
Thus $\left|O^{\prime} A\right|=\left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|$, so the point $O^{\prime}$ is the circumcenter of the triangle $A B^{\prime} C^{\prime}$ and by construction it lies on the line $p$.
Conversely, for any point $O^{\prime}$ of the line $p$ it is possible to construct a diameter $B^{\prime} C^{\prime}$ of the circle $k$ which is perpendicular to the line $O^{\prime} S$. By the previous arguments, $\left|O^{\prime} A\right|=\left|O^{\prime} B^{\prime}\right|=\left|O^{\prime} C^{\prime}\right|$, so we have found a triangle $A B^{\prime} C^{\prime}$ with the required property whose circumcenter is $O^{\prime}$.
b) Let $|A S|<r$. This case can be treated in an analogous manner. The center $O$ is now an interior point of the half-line opposite to $S A$. We arrive at the same result as in the case a).
Conclusion. If $A$ is not a point of $k$, the sought locus $\mathcal{O}$ is the line $p$ perpendicular to $A S$ which passes through the circumcenter $O$ of the isosceles triangle $A B C$ whose basis $B C$ is the diameter of $k$ perpendicular to $A S$. If $A$ is a point of $k$, then $\mathcal{O}={S}$.
Other solution. For the given point $A \notin k$ consider a triangle with the required properties. Denote by $l$ the circumcircle of the triangle $A B C$ (Fig.3). Since $S$ is the
Fig. 3
midpoint of the common chord $B C$ of the circles $k$ and $l$, the circle $l$ intersects the half-line opposite to $S A$ at an interior point which we denote by $A^{\prime}$. For the power $m_{l}(S)$ of the point $S$ with respect to $l$ we then have
where $r$ is the radius of $k$. It follows that the distance $\left|A^{\prime} S\right|$, hence also the position of the point $A^{\prime}$ on the half-line opposite to $S A$, is uniquely determined by the point $A$. For all triangles $A B C$ satisfying the conditions of the problem, the segment $A A^{\prime}$ is therefore one and the same. The circumcircles of all the triangles $A B C$ thus have a common chord $A A^{\prime}$, so their centers lie on the perpendicular bisector $p$ of the segment $A A^{\prime}$. In the case of an isosceles triangle $A B C$ with basis $B C$, the segment $A A^{\prime}$ is a diameter of $l$ and its center $O$ is the midpoint of $A A^{\prime}$. The line $p$ thus passes through this point $O$ and is perpendicular to $A S$.
Conversely, to each point $O^{\prime}$ of the line $p$ we find a triangle $A B C$ with the required properties, whose circumcenter coincides with $O^{\prime}$. It is enough to construct the diameter $B C$ of the circle $k$ which is perpendicular to the line $O^{\prime} S$. For given $A$, $A^{\prime}$ and $S$ we thus obtain points $B$ and $C$ for which the relation (1) holds. This means that the points $A, B, C$ and $A^{\prime}$ lie on the same circle $l$. Since the point $O^{\prime}$ is the intersection of the chords $A A^{\prime}$ and $B C$ of this circle, which are not parallel, the point $O^{\prime}$ is the center of $l$, and thus is the circumcenter of the triangle $A B C$.
- Find all functions $f: \mathbb{Z} \rightarrow \mathbb{Z}$ such that for all integers $x, y$,
Solution. Let $f$ be an arbitrary function with the required property. Taking in turn $y=0$ and $y=1$, we obtain the equalities
so upon subtracting
The last relation can be rewritten as
for all $z \in \mathbb{Z}$ which belong to the range of $f$. However, this range is all of $\mathbb{Z}$, as is evident from any of the equalities (1).
The validity of (2) for all $z \in \mathbb{Z}$ means that the values of $f$ on $\mathbb{Z}$ form an arithmetic progression (infinite on both sides), so $f$ must be given by a recipe of the form $f(z)=a z+b$ for suitable constants $a, b \in \mathbb{R}$. Substituting this into the original equation for $f$ the left-hand and the right-hand sides become
These two expressions are equal for all $x, y \in \mathbb{Z}$ if and only if $a^{2}=1$ and at the same time $2006 a=a b$; that is, $a= \pm 1$ and $b=2006$. The only solutions are thus the two functions
\section*{First Round of the 56th Czech and Slovak Mathematical Olympiad (December 5th, 2006)
- Find all real numbers $s$ for which the equation
has four distinct real roots and the product of two of these roots is -2 .
Solution. Assume that $s$ is a number as above, and denote the four roots of the equation by $x_{1}, x_{2}, x_{3}$ and $x_{4}$ in such a way that
From the factorization
we obtain, upon multiplying out the brackets and comparing the coefficients at like powers of $x$ on both sides, the familiar Vièta's relations
From the equalities (0) and (4) it follows immediately that
Rewriting (3) as
and substituting the known values for $x_{1} x_{2}$ and $x_{3} x_{4}$ we obtain
which together with the equation (1) forms a system of two linear equations for the unknown sums $x_{1}+x_{2}$ and $x_{3}+x_{4}$. An easy calculation shows that its solution is given by
Inserting all this into the equality (2) rewritten in the form
we find that necessarily $s=17$.
Conversely, from the equalities
it follows that the numbers $x_{1,2}$ are the roots of the quadratic equation
and from the equalities
it follows that the numbers $x_{3,4}$ are the roots of the quadratic equation
We see that $x_{1,2,3,4}$ are indeed four mutually different real numbers which satisfy the system (1)-(4) for the value $s=17$, hence are the roots of the original equation from the statement of the problem.
There is thus only one such number $s$, namely $s=17$.
- Consider the set ${1,2,4,5,8,10,16,20,32,40,80,160}$ and all its three-element subsets. Decide which are more numerous: the three-element subsets for which the product of their elements is greater than 2006, or those for which the product of their elements if less than 2006?
Solution. The given set is exactly the set of all (natural) divisors of the number $160=2^{5} \cdot 5$. We can group its elements into pairs in such a way that the product of the numbers in each pair equals 160 :
This means that if $A={a, b, c}$ is a triple of mutually distinct divisors of 160 , then so is $A^{\prime}={160 / a, 160 / b, 160 / c}$.
The product $a b c$ of the elements of the triple $A$ can be expressed in the form
(The number 160 has only two divisors which are multiples of $2^{5}$, hence in the prime factorization of the number $a b c$ there cannot appear the factor $2^{15}$.) It is not difficult to see that the largest natural number of the form (1) which is less than 2006 is the number $2000=2^{4} \cdot 5^{3}$, and the least natural number which is of the form (1) and is greater than 2006 is $2048=2^{11}$ (the number 2006 itself is not of the form (1)). At the same time, $2000 \cdot 2048=160^{3}$.
Consequently, if the product $a b c$ of the triple $A$ is less than 2006, then $a b c \leqslant 2000$ and the product $160^{3} /(a b c)$ of the corresponding triple $A^{\prime}$ is at least $160^{3} / 2000=2048$. Conversely, if the product $a b c$ of the triple $A$ is greater than 2006, then $a b c \geqslant 2048$ and the product of the triple $A^{\prime}$ is at most $160^{3} / 2048=2000$. In other words, the threeelement subsets whose product of elements is less than 2006 are exactly as numerous as the three-element subsets whose product of elements is greater than 2006 .
- A trapezoid $A B C D$ is given, with right angle at the vertex $A$ and with basis $A B$, in which $|A B|>|C D| \geqslant|D A|$. Denote by $S$ the intersection of the bisectors of its interior angles at the vertices $A$ and $B$, and by $T$ the intersection of the bisectors of the interior angles at the vertices $C$ and $D$. Similarly we denote by $U, V$ the intersections of the bisectors of the interior angles at the vertices $A$ and $D$ and at $B$ and $C$, respectively.
a) Show that the lines $U V$ and $A B$ are parallel.
b) Show that the intersection $E$ of the half-line DT with the line $A B$ and the points $S, T$ and $B$ are concyclic.
Solution. Being the intersection of the bisectors of the interior angles at the vertices $A$ and $D$ of the given trapezoid, the point $U$ has equal distances from the sides $A B$ and $A D$ as well as from the sides $A D$ and $D C$. This means that it has the same distance also from the two bases $A B, C D$ of the trapezoid $A B C D$. Similarly the point $V$ has the same distance from both bases. The lines $U V$ and $A B$ must therefore be parallel, which settles part a).
Since the sum of interior angles at the vertices $A$ and $D$, as well as at the vertices $B$ and $C$, is $180^{\circ}$, the sum of the angles adjacent to the side $A D$ of the triangle $A D U$ is equal to $90^{\circ}$, as is the sum of the angles adjacent to the side $B C$ of the triangle $B C V$. This means that both these triangles are right (with right angles at the vertices $U$ and $V$, respectively, Fig. 1). The quadrangle $U T V S$ is therefore chordal (from the hypothesis $|A B|>|C D| \geqslant|D A|$ it follows that the half-lines $A U$ and $C V$ do not
Fig. 1 meet, thus the points $S$ and $T$ lie in the opposite half-planes determined by the line $U V$ and the points $U, T, V$, and $S$ lie on the circle in the order indicated).
As we already know, the lines $U V, A B$ and $C D$ are parallel, thus $|\angle V U T|=$ $|\angle C D T|=45^{\circ}$. From the equality of the arc angles subtended by the chord $T V$ of the chordal quadrangle $U T V S$ it therefore follows that $|\angle V S T|=|\angle V U T|=45^{\circ}$. This is also the magnitude of the arc angle $T S B$ subtended by the chord $T B$ in the circumcircle of the triangle $S T B$ (Fig. 2). It remains to show that on this circle there also lies the point $E$. This is obvious if $E=T$. Otherwise it is enough to check that the magnitude of the angle $T E B$ is either $180^{\circ}-45^{\circ}$ or $45^{\circ}$ according as the line $B T$ separates the points $S, E$ or not; however, this follows immediately from the fact that the line $D T$ meets the basis $A B$ at an angle of $45^{\circ}$ (Fig. 2 and 3). This settles part b).
Fig. 2
Fig. 3
Second Round of the 56th Czech and Slovak
Mathematical Olympiad
(January 23rd, 2007)
- Find the least possible area of a triangle ABC whose altitudes satisfy the inequalities $h_{a} \geqslant 3 \mathrm{
cm}, h_{b} \geqslant 4 \mathrm{cm}$ and $h_{c} \geqslant 5 \mathrm{~cm}$.
Solution. Denote by $a, b, c$ the lengths of the sides of the triangle $A B C$. Its altitude $h_{b}$ satisfies the inequality
since $h_{b}$ is the length of the shortest segment connecting the vertex $B$ with a point on the line $A C$. The area $S$ of the triangle $A B C$ therefore satisfies
If there exists a triangle $A B C$ satisfying the conditions of the problem whose area is exactly $10 \mathrm{cm}^{2}$, then both inequalities $S=\frac{1}{2} c h_{c} \geqslant \frac{1}{2} h_{b} h_{c} \geqslant 10 \mathrm{cm}^{2}$ must become equalities. This means that $c=h_{b}=4 \mathrm{cm}$ and at the same time $h_{c}=5 \mathrm{cm}$. The first equality means that the triangle is right, with the right angle at the vertex $A$. The length of its cathetus $A C$ then satisfies $b=h_{c}=5 \mathrm{cm}$, while the length $A$ of its hypotenuse $B C$ equals $\sqrt{41} \mathrm{cm}$. From the formula $S=\frac{1}{2} a h_{a}$ we obtain for the altitude $h_{a}$
This means that the right triangle $A B C$ with catheti of lengths $b=5 \mathrm{cm}$ and $c=4 \mathrm{cm}$ satisfies the conditions of the problem.
The least possible area of the triangle $A B C$ whose altitudes have the requested properties is thus $10 \mathrm{~cm}^{2}$.
- Let $a, b$ be real numbers. Prove that if the equation
has two distinct real roots such that their sum is equal to their product, then it has no other real roots and $a+b>0$.
Solution. Assume that the equation
has two distinct real roots $x_{1}$ and $x_{2}$ such that $x_{1}+x_{2}=x_{1} x_{2}=p$. Then the polynomial on the left-hand side is divisible by the polynomial $\left(x-x_{1}\right)\left(x-x_{2}\right)=$ $x^{2}-p x+p$ and has the decomposition
where $r, s$ are real numbers. Multiplying out the expression on the right-hand side in the last inequality and comparing the coefficients at the same powers of $x$ on both sides we get
From the relation (2) it follows that
Substituting this into (3) we get
Since the quadratic equation $x^{2}-p x+p=0$ has two distinct real roots $x_{1}$ and $x_{2}$, its discriminant is a positive number, so
Adding up the equalities (4) and (5) and substituting for $r$ from (6), we arrive at
which is what we wanted to prove.
For the discriminant $D$ of the equation
it follows from the formulas $(6),(7)$ a (8) that
The last equation therefore has no real roots. The given equation (1) thus has no other real roots than $x_{1}$ and $x_{2}$.
- Let $M$ be an arbitrary interior point of the hypotenuse $A B$ of a right triangle $A B C$. Denote by $S, S_{1}$, and $S_{2}$ the circumcenters of the triangles $A B C, A M C$, and $B M C$, respectively.
a) Show that the points $M, C, S_{1}, S_{2}$ and $S$ lie on a circle.
b) For which position of the point $M$ does this circle have the least radius?
Solution. a) Let $\alpha$ and $\beta$ be the magnitudes of the interior angles at the vertices $A$ and $B$ of the given right triangle $A B C$ (Fig. 1). From the relation between the central
and the arc angle subtended by the common chord $C M$ in the circumcircles $k_{1}$ and $k_{2}$ of the triangles $A M C$ and $B M C$, respectively, we obtain
The quadrangle $C S_{1} M S_{2}$ is thus chordal. Since the points $M$ and $C$ are axially symmetric with respect to the perpendicular bisector of the segment $C M$, and since $S_{1}$ and $S_{2}$ lie on this bisector, we further have
The circumcircle of the quadrangle $C S_{1} M S_{2}$ is thus the Thaletian circle over the diameter $S_{1} S_{2}$. On the other hand, the points $S$ and $S_{1}$ lie on the perpendicular bisector of the cathetus $A C$, and similarly the points $S$ and $S_{2}$ lie on the perpendicular bisector of the cathetus $B C$ of the given triangle. Consequently, $\left|\angle S_{1} S S_{2}\right|=90^{\circ}$, and the point $S$ therefore lies also on the Thaletian circle circumscribed to the quadrangle $C S_{1} M S_{2}$. (If $M=S$, then this assertion trivially also holds.) This proves part a).
b) The radius $r$ of the circle (with chord $C S$ ) found in part a) clearly satisfies $2 r \geqslant|C S|$, with equality taking place if and only if $C S$ is its diameter. Since the circle with diameter $C S$ passes through the midpoints of both catheti $A C$ and $B C$, the equality $2 r=|C S|$ holds if and only if $S_{1}$ is the midpoint of $A C$ and $S_{2}$ is the midpoint of $B C$; this clearly corresponds to $M$ being the foot of the altitude from the vertex $C$ onto the hypotenuse $A B$.
Another solution. a) Denote by $P_{1}$ and $P_{2}$ the midpoints of the segments $A M$ and $B M$, respectively (Fig. 2). Since the homothety with center $M$ and coefficient $\frac{1}{2}$
Fig. 2
maps the segment $A B$ onto the segment $P_{1} P_{2}$, it maps the midpoint $S$ of $A B$ into the midpoint $Q$ of $P_{1} P_{2}$, and at the same time as the image of the point $S$ the point $Q$ is the midpoint of the segment $M S$. The points $P_{1}, P_{2}$ are the orthogonal projections of the points $S_{1}, S_{2}$ onto the hypotenuse $A B$, so the point $Q$ is the orthogonal projection of the center $O$ of the circle over the diameter $S_{1} S_{2}$. By the Thaletian theorem this circle contains $S$, since the lines $S_{1} S$ and $S_{2} S$, being the perpendicular bisectors of the two perpendicular catheti $A C$ and $B C$, are perpendicular. From the symmetry of this circle with respect to the line $O Q$ it then follows that the point $M$ also lies on this circle, whence so does the point $C$ (in view of the symmetry with respect to the line $S_{1} S_{2}$ ). This proves part a).
b) The segment $S_{1} S_{2}$ and its orthogonal projection $P_{1} P_{2}$ satisfy $\left|S_{1} S_{2}\right| \geqslant\left|P_{1} P_{2}\right|=$ $\frac{1}{2}|A B|$. The circumcircle of the quadrangle $C S_{1} M S_{2}$ thus has least diameter $\frac{1}{2}|A B|$, if and only if $S_{1} S_{2} | A B$, which in view of the orthogonality of the segment $C M$ and its perpendicular bisector $S_{1} S_{2}$ takes place if and only if $M$ is the foot of the altitude from the vertex $C$ in the triangle $A B C$. (The radius $r$ of this circle then is $r=\frac{1}{4}|A B|$.)
Another solution. a) Consider the similarity obtained upon composing the rotation around $C$ by the oriented (right) angle $A C B$ and the homothety with center $C$ and coefficient equal to the ratio $|B C|:|A C|$ (Fig. 3). This similarity maps the points $A, B$ and $M$ into $B, B^{\prime}$ and $M^{\prime}$, respectively, where $B C$ is the altitude onto the
Fig. 3 hypotenuse $A B^{\prime}$ in the right triangle $A B B^{\prime}$, and the point $M^{\prime}$ lies on its cathetus $B B^{\prime}$. In view of the congruent angles $A M C$ and $B M^{\prime} C$ (or also in view of the right angles $M C M^{\prime}$ and $M B M^{\prime}$ ), we see that the circumcircle of the triangle $B M C$ is at the same time also the circumcircle of the triangle $B M^{\prime} C$, so its center $S_{2}$ is the image of the point $S_{1}$ in the above similarity (which maps the triangle $A M C$ exactly onto the triangle $B M^{\prime} C$ ). This means that the angle $S_{1} C S_{2}$ is right, hence so is the angle $S_{1} M S_{2}$ (since the line $S_{1} S_{2}$ is the perpendicular bisector of the segment $C M$ ). Finally, the angle $S_{1} S S_{2}$ is also right (since its arms lie on the perpendicular bisectors of the two perpendicular catheti $A C$ and $B C$ ), which means that all three points $C$, $M, S$ lie on the Thaletian circle over the diameter $S_{1} S_{2}$.
This proves part a) of the problem. Part b) is solved in the same manner as in the first solution.
- Let natural numbers $p, q(p<q)$ be given. Find the least natural number $m$ with the following property: the sum of all fractions whose denominators (in lowest terms) are equal to $m$ and whose values lie in the open interval $(p, q)$ is at least $56\left(q^{2}-p^{2}\right)$.
Solution. We show that the least $m$ is 113 (independent of $p, q$ ). Clearly $m>1$. For arbitrary natural numbers $c<d$ and $m>1$, let $S_{m}(c, d)$ denote the sum of all fractions (in their lowest terms) which lie in the open interval $(c, d)$ and whose denominator is $m$. Then we have the inequality
with equality taking place if and only if all the numbers $1,2, \ldots, m-1$ are coprime with $m$, i.e. if and only if $m$ is a prime.
For any given natural numbers $p, q$ and $m>1$ we have
that is,
Moreover, equality takes place in (9) if and only if $m$ is a prime. However, by hypothesis
In view of $(9)$ we see that necessarily $\frac{1}{2}(m-1) \geqslant 56$, i.e. $m \geqslant 113$. As 113 is a prime, the least possible $m$ equals 113 .
Final Round of the 56th Czech and Slovak Mathematical Olympiad
(March 18-21, 2007)
- $A$ chess piece is placed on some square in an $n \times n(n \geqslant 2)$ square chessboard. It then makes alternately "straight" and "diagonal" moves. "Straight" means to a square having a common side with the original square. "Diagonal" means to a square which has exactly one point in common with the original square. Find all $n$ for which there exists a sequence of moves, starting by a "diagonal" move from the original square, such that the piece passes through all squares of the chessboard, and through each square exactly once.
Solution. We first show that the problem has a solution for an arbitrary even $n$. Indeed, placing the piece e.g. into any of the corners of the chessboard, it is possible to pass through all the squares of the chessboard using the adjacent $2 \times n$ blocks in the manner indicated in Fig. 1 for $n=8$. Here the sequence of moves corresponds to the sequence of the connecting oriented segments. The argument for a general even $n$ is the same.
Fig. 1
| $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | |||
|---|---|---|---|---|---|---|
| $\mathrm{B}$ | $\mathrm{B}$ | $\mathrm{B}$ | ||||
| $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | |||
| $\mathrm{B}$ | $\mathrm{B}$ | $\mathrm{B}$ | ||||
| $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | |||
| $\mathrm{B}$ | $\mathrm{B}$ | $\mathrm{B}$ | ||||
| $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ | $\mathrm{A}$ |
Fig. 2
Now we show that for an odd $n \geqslant 3$ it is not possible to pass through all squares of the chessboard in the manner indicated. Aiming at contradiction, let as assume that for some odd $n$ there exists a sequence of moves on the $n \times n$ chessboard satisfying the conditions of the problem. Let us color all squares of the chessboard in a similar manner as the ordinary $8 \times 8$ chessboard in such a way that the squares in the corners are black (as in Fig. 2 for $n=7$ ). Further, label all the black squares by the letters $A$ and $B$ in such a way that no two black squares having exactly one point (vertex) in common are labelled by the same letter. If the black squares in the corners are labelled e.g. by the letters A, then the number of A-squares will clearly be greater by $n$ than the number of B-squares.
Let us finally denote the squares of the chessboard which the piece in turn passes through by $1,2,3, \ldots, n^{2}$, and the $k$-th move of the piece by the notation $k \mapsto k+$ 1. If the square 1 is black, then the black squares are exactly those with numbers $1,2,5,6,9,10, \ldots$; at the same time, each of the (diagonal) moves $1 \mapsto 2,5 \mapsto 6$, $9 \mapsto 10, \ldots$ connects black squares labelled by different letters. It follows that the number of $A$ and $B$ squares differs by at most 1 , which is a contradiction. Similarly, if the starting square 1 is white, the black squares are exactly those with numbers $3,4,7,8,11,12, \ldots$, connected by the (diagonal) moves $3 \mapsto 4,7 \mapsto 8,11 \mapsto 12, \ldots$, and the same contradiction is obtained.
The solution are therefore all even $n \geqslant 2$.
- In a chordal quadrangle $A B C D$ denote by $L, M$ the incenters of the triangles $B C A$ and $B C D$, respectively. Denote further by $R$ the intersection of the perpendiculars from the points $L$ and $M$ onto the lines $A C$ and $B D$, respectively. Show that the triangle LMR is isosceles.
Solution. Let us denote by $H$ the intersection of the bisectors of the interior angles at the vertices $A$ and $D$ in the triangles $B C A$ and $B C D$ (Fig. 3). Then $H$ is the midpoint of the corresponding arc $B C$ of the circumcircle $k$ of the quadrangle $A B C D$ (of the arc not containing the vertices $A$ and $D$ ). Denote $\epsilon=|\angle B A H|=|\angle C A H|=$
Fig. 3
$|\angle B D H|=|\angle C D H|=|\angle C B H|$ and $\phi=|\angle A B L|=|\angle C B L|$. Then
The triangle $H L B$ is thus isosceles with basis $L B$, whence $|H B|=|H L|$. Similarly $|H C|=|H M|$. And since $|H B|=|H C|$, we also have $|H L|=|H M|$, so the triangle $H M L$ is isosceles and $|\angle H L M|=|\angle H M L|$.
Denote further by $P$ the orthogonal projection of the point $L$ onto the line $A C$, and by $Q$ the orthogonal projection of the point $M$ onto the line $B D$ (the point $R$ in question is thus the intersection of the lines $L P$ and $M Q$ ). Since the right triangles $A P L$ and $D Q M$ have congruent angles at the vertices $A$ and $D$, the angles $P L A$ and $Q M D$ at the vertices $L$ and $M$ are also congruent. From this and from the equality $|\angle H L M|=|\angle H M L|$ it therefore follows that $|\angle P L M|=|\angle Q M L|$. This means that the triangle $L M R$ is isosceles, which is what we wanted to prove.
- Denote by $\mathbb{N}$ the set of all natural numbers and consider all functions $f: \mathbb{N} \rightarrow \mathbb{N}$ such that for any $x, y \in \mathbb{N}$,
Find the least possible value of $f(2007)$.
Solution. Let $f$ be any function with the given property. We claim first of all that $f$ is injective. Indeed, if $f\left(y_{1}\right)=f\left(y_{2}\right)$, then for all natural $x$
and as $f(x)$ is a natural number it follows that $y_{1}=y_{2}$.
Taking $x=1$ in the given equation we get in particular $f(f(y))=y f(1)$, which for $y=1$ becomes $f(f(1))=f(1)$. As $f$ is injective, this means that
so that for all natural $y$
The last relation implies, in particular, that the range of the function $f$ is the entire set $\mathbb{N}$. For any natural $z$ we can thus find $y$ such that $y=f(z)$ and at the same time $f(y)=z$; using again the given equation, we therefore get
An easy induction argument then implies that
for any natural numbers $n$ and $x_{1}, x_{2}, \ldots, x_{n}$.
Next, we show that the image $f(p)$ of an arbitrary prime $p$ is also a prime. Assume that $f(p)=a b$, where $a$ and $b$ are natural numbers different from 1. By (2) a (3), then
Since $f$ is injective and $f(1)=1$, we must have $f(a)>1, f(b)>1$, contradicting the hypothesis that $p$ is a prime.
Since the decomposition of the number 2007 into prime factors is $2007=3^{2} \cdot 223$, we thus get by (3)
where both $f(3)$ and $f(223)$ are primes. If $f(3)=2$, then $f(2)=3$ by (2) so the least possible value for $f(223)$ is 5 , whence $f(2007) \geqslant 20$. If $f(3)=3$, then the least possible value of $f(223)$ is 2 and $f(2007) \geqslant 18$. It is easy to see that for any other choice of the values $f(3)$ a $f(223)$ we get $f(2007) \geqslant 18$.
We now show that there exists a function satisfying the conditions of the problem and such that $f(2007)=18$. Define $f$ in the following manner: For any natural number $x$, which we write as $x=2^{k} 223^{m} q$, where $k$ and $m$ are nonnegative integers and $q$ is a natural number coprime with 2 and 223 , set
Then $f(2007)=f\left(223 \cdot 3^{2}\right)=2 \cdot 3^{2}=18$. We check that this function $f$ indeed has the required property. Let $x=2^{k_{1}} 223^{m_{1}} q_{1}$ and $y=2^{k_{2}} 223^{m_{2}} q_{2}$ be arbitrary natural numbers written in the above form. Then
and at the same time
The least possible value of $f(2007)$ is thus 18 .
- The set $M$ contains all natural numbers from 1 to 2007 (inclusive) and has the following property: if $n \in M$, then $M$ contains all the members of the arithmetic progression with first member $n$ and difference $n+1$. Decide whether there must always exist a number $m$ such that $M$ contains all natural numbers greater than $m$.
Solution. The answer is in the negative; a counterexample is given by the set
which clearly contains all natural numbers from 1 to 2007. At the same time, a general member of the arithmetic progression $\left(a_{n}\right){n=1}^{\infty}$ with first member $a{1}=n \in M$ and difference $d=n+1$ has the form
which implies that $a_{k}+1=(n+1) k$ can never be a prime, for any $k>1$; thus $a_{k} \in M$ for all $k$ (no matter whether $a_{k} \leqslant 2007$ or $a_{k} \geqslant 2008$ ). Since there are infinitely many primes, there are also infinitely many numbers not lying in the set $M$.
- An acute triangle $A B C$ is given such that $|A C| \neq|B C|$. In the interior of its sides $B C$ and $A C$ consider the points $D$ and $E$, respectively, for which $A B D E$ is a chordal quadrangle. Denote by $P$ the intersection of its diagonals $A D$ and $B E$. Show that if the lines $C P$ and $A B$ are perpendicular, then $P$ is the orthocenter of the triangle $A B C$.
Solution. Denote $\phi=|\angle B A D|$ and $\psi=|\angle A B E|$ (Fig. 4). From the equality $|\angle A E B|=|\angle A D B|$ of the angles subtending the chord $A B$ in the chordal quad-
Fig. 4
rangle $A B D E$ we thus obtain (using the standard notation for the angles in the triangle $A B C$ )
Denote by $C_{0}$ the foot of the altitude from the vertex $C$, by $h_{c}$ the length of this altitude $C C_{0}$, and by $x, y$ and $p$ the lengths of the corresponding segments $A C_{0}, B C_{0}$ and $P C_{0}$, respectively (Fig. 4); thus
If the point $P$ is not the orthocenter (i.e. the angle $\alpha+\psi$ is not right), we can use (1) and write
Using the well-known addition formula for the tangent, it follows from (2) that (using also the equality $\tan \alpha \tan \psi=\tan \beta \tan \phi$, which likewise follows from (2))
or
Since $p<h_{c}$ and $x \neq y$ in view of the hypothesis we have made, the last equality cannot hold. Thus $\alpha+\psi=90^{\circ}$ and the point $P$ is the orthocenter, which is what we needed to prove.
- Find all ordered triples $(x, y, z)$ of mutually distinct real numbers which satisfy the set equation
Solution. If $x, y, z$ are three mutually distinct real numbers, then
are clearly numbers different from 0 and -1 whose product is equal to 1 . This property must therefore be possessed also by the values $x, y, z$ from any such triple. We will thus assume from now on that
Since the given set relation is the same for each of the ordered triples $(x, y, z)$, $(z, x, y)$ and $(y, z, x)$, we will assume in addition to (2) that $x>\max {y, z}$, and will distinguish two cases, according as $y>z$ or $z>y$. Let us introduce the following notation for intervals: $I_{1}=(0, \infty), I_{2}=(-1,0), I_{3}=(-\infty,-1)$.
The case of $x>y>z$. For the fractions (1) we clearly have $u \in I_{1}, v \in I_{2}$ and $w \in I_{3}$, so $u>v>w$. The given set equation can thus be fulfilled only when $u=x, v=y$ and $w=z$. Upon substituting from (1) and an easy manipulation we arrive at the equations
In view of the condition $x y z=1$ from (2) we can replace the term $z x$ in the equation $x y+y=z x+x$ by $1 / y$. This leads to
(We have used the fact that, as $y \in I_{2}$, necessarily $y \neq 1$.) From the last formula it follows that the value of the first expression in the system (3) is -1 , so from the fact that the second expression equals -1 we obtain
But then also the third expression in (3) is equal to -1 . Any solution of our problem (in the current case of $x>y>z$ ) must therefore be of the form
where $t \in I_{1}$ is arbitrary (in view of (3), we do not need to worry about checks). From the procedure used it also follows that taking $t \in I_{2}$ (or $t \in I_{3}$, respectively) in the formula (4) we get all solutions of our problem satisfying $z>x>y(y>z>x)$, so that it is not necessary to list the cyclic permutations of the triples from (4) in our final answer below.
The case of $x>z>y$. Now we have for the fractions (1) $u \in I_{3}, v \in I_{1}$ and $w \in I_{2}$, so $v>w>u$, and the set equation in question is satisfied only if $u=y$, $v=x$ and $w=z$. Upon substituting the fractions from (1) we arrive at the system
Adding up these three equations yields
which in view of $x \neq y$ implies that $z=\frac{1}{2}(x+y)$. Substituting this back into (5) we find (taking again into account that $x \neq y$ ) that the only solution is $x=1, y=-2$ and $z=-\frac{1}{2}$. The same triple also forms the (unique) solution satisfying $y>x>z$, as well as the (unique) solution for which $z>y>x$.
Answer: The solutions are all ordered triples (4), where $t \in \mathbb{R} \backslash{0,-1}$, and the three triples $(x, y, z)$ of the form
Czech-Slovak-Polish Match
Bílovec, June 25-26, 2007
$\mathbb{N} / \mathbb{1}^{6}$
- Find all polynomials $P$ with real coefficients for which the equality
holds for every real number $x$.
Solution. The constant polynomial $P(x)=c$ is a solution if and only if $c=c^{2}$, thus the polynomials $P(x)=0$ and $P(x)=1$ are solutions of the problem.
We claim that the only polynomial of a positive degree $n$ which solves the equation is of the form $P(x)=(x-1)^{n}$. In view of the identity $\left(x^{2}-1\right)^{n}=(x-1)^{n}(x+1)^{n}$, the latter is clearly a solution for any $n \geqslant 1$.
If $a x^{n}(a \neq 0)$ is the leading term of a polynomial $P(x)$ of a positive degree $n$, then $a x^{2 n}$ is the leading term of the polynomial $P\left(x^{2}\right)$ and $a^{2} x^{2 n}$ is the leading term of the polynomial $P(x) P(x+2)$. If $P$ satisfies the given equality, comparing the leading order terms thus gives $a=a^{2}$, hence $a=1$. The polynomial $P$ can therefore be written in the form $P(x)=(x-1)^{n}+Q(x)$, where $Q$ is either identically zero, or is a nonzero polynomial of degree $k$, where $0 \leqslant k<n$. Comparing the polynomials
we obtain (upon multiplying out the brackets and cancelling the terms $\left(x^{2}-1\right)^{n}$ on both sides) the equality
The zero polynomial $Q$ clearly satisfies this relation. For a nonzero $Q$ of degree $k<n$, however, $Q\left(x^{2}\right)$ is a polynomial of degree $2 k$, while on the right-hand side of the last equation there is a polynomial of degree $n+k$ (whose leading term is $2 b x^{n+k}$, if $b x^{k}$ is the leading order term of the polynomial $Q(x)$ ). Since $2 k<n+k$, this is not possible.
Conclusion. The solutions are the constant polynomials $P(x)=0$ and $P(x)=1$ and the polynomial $P(x)=(x-1)^{n}$ for any natural number $n$.
- Let $a_{1}=a_{2}=1$ and $a_{k+2}=a_{k+1}+a_{k}$ for any $k \in \mathbb{N}$ (the Fibonacci sequence). Prove that for any natural number $m$ there exists an index $k$ such that the number $a_{k}^{4}-a_{k}-2$ is divisible by $m$.
Solution. All the congruences and remainder classes below are meant $\bmod m$. We obtain the desired congruence relation $a_{k}^{4}-a_{k}-2 \equiv 0$ as a consequence of the simpler relation $a_{k} \equiv-1$.
The sequence of remainder classes of the numbers $a_{k}$ has the following property: the remainder classes of any two consecutive elements $a_{k}, a_{k+1}$ determine uniquely the remainder classes of all subsequent elements $a_{i}(i>k+1)$, as well as of all elements $a_{i}(i<k)$ preceding them. By the standard argument, based on the fact that the number of ordered pairs of remainder classes is $m^{2}$, hence finite, it follows that the sequence of remainder classes of the elements $a_{i}$ is periodic, starting already from its first member. Thus there exists a number $p>0$ (depending on the given modulus $m$ ) such that $a_{i} \equiv a_{i+p}$ for any index $i$. Unless $m=1$ (then the problem is trivial), clearly $p>1$. Since $a_{1} \equiv a_{2} \equiv 1$, we also have $a_{p+1} \equiv a_{p+2} \equiv 1$, whence $a_{p} \equiv 0$ and $a_{p-1} \equiv-1$, so we can take $k=p-1$ and the proof is finished.
- Let $k$ be the circumcircle of a given convex quadrilateral $A B C D$ with the property that the half-lines $D A$ and $C B$ meet at a point $E$ for which $|C D|^{2}=|A D| \cdot|E D|$ holds. Let us denote by $F(F \neq A)$ the point of intersection of the circle $k$ with the perpendicular to $E D$ at $A$. Prove that the segments $A D$ and $C F$ are congruent if and only if the circumcenter of the triangle $A B E$ lies on $E D$.
Solution. Clearly $D F$ is a diameter of $k$. First we show that under the given conditions the vertex $C$ cannot lie in the half-plane $D F A$.
If the vertices $B, C$ are points on the subarc $D A$ of the arc $D A F$ (Fig. 1) then the angles $D C B$ and $D B A$ are obtuse, hence $|D C|<|D B|<|D A|<|D E|$, which contradicts to the equality $|C D|^{2}=|A D| \cdot|E D|$.
If the vertices $B, C$ are points on the subarc $A F$ of the arc $D A F$ (Fig. 2) the angle $B A E$ is acute and $|\angle D B E|=180^{\circ}-|\angle D B C| \leqslant 90^{\circ}$, so the possible other meeting point $B^{\prime}$ of the half-line $D B$ with the circumcircle of the triangle $A E B$ lies in the segment $D B$. Hence $|D C|>|D B| \geqslant\left|D B^{\prime}\right|$. This means that the equality $|C D|^{2}=|A D| \cdot|E D|$ cannot hold as $|A D| \cdot|E D|=|D B| \cdot\left|D B^{\prime}\right|$ (which is the power of $D$ with respect to the circumcircle of the triangle $A E B$ ).
Fig. 1
Fig. 2
We have shown that the vertex $C$ of the given quadrangle does not lie in the half-plane $F D A$, hence $|F C|=|D A|$ if and only if $D A F C$ is a rectangle, i.e. if and only if $C A$ is a diameter of the circle $k$, which is equivalent to the angle $C B A$ being right, which is in turn equivalent to the triangle $A E B$ being right with the right angle at $B$, i.e. to the circumcenter of the triangle $A E B$ being the midpoint of $A E$.
- For any real number $p \geqslant 1$ let us consider the set of all real numbers $x$ with
Prove that from such a given set one can select four mutually different natural numbers $a, b, c$, $d$ with $a b=c d$.
Solution. The numbers $a=(k-1) k, b=(k+1) k, c=(k-1)(k+1), d=k^{2}$ clearly satisfy the equality $a b=c d$ and the inequalities $a<c<d<b$ for any $k>1$. Let thus $k$ be the least natural number for which $p<a$, i.e. $p<(k-1) k$ (for a given $p$ ). We will show that for this $k$ necessarily $b=(k+1) k \leqslant p+4+2 \sqrt{4 p+1}$, which is evidently a number by $\frac{1}{4}$ smaller than the upper bound of the interval in our problem, so we will be done.
In view of the choice of the number $k$ we have $p \geqslant(k-2)(k-1)$. Solving this quadratic inequality yields the estimate
from which it already follows that
- Find for which
the set ${1,2,3, \ldots, n}$ can be partitioned into (disjoint) triples in such a way that one of the three numbers in any triple is the sum of the other two.
Solution. From the possibility of partitioning the set into disjoint triples it follows that $3 \mid n$. In each triple ${a, b, a+b}$ the sum of its elements is $2(a+b)$, hence an even number; thus also the sum of all numbers from 1 to $n$ must be even, i.e. the product $n(n+1)$ must be divisible by four. Altogether it therefore follows that the number $n$ has to be of the form either $12 k$ or $12 k+3$; from the given set of numbers, this is satisfied only for $n=3900$ and $n=3903$.
In the next paragraph we describe a construction how to produce, starting from a decomposition satisfying the given condition for some $n=k$, a decomposition of the same kind for $n=4 k$ and $n=4 k+3$. This guarantees that the required decompositions for $n=3900$ and $n=3903$ indeed exist, in view of the decreasing sequence
(instead of 3900 one can start also with 3903 ) and the trivial decomposition for $n=3$ (from which we in turn construct the decompositions for $n=15, n=60$ etc. up to $n=3900$ or $n=3903$ ).
From a decomposition of the set ${1,2, \ldots, k}$ satisfying the given conditions we first produce a similar decomposition for the set of the first $k$ even numbers ${2,4, \ldots, 2 k}$ (simply by multiplying all the numbers in the triples by two). In the case of $n=4 k$ we partition the remaining numbers
into the $k$ triples ${2 j-1,3 k-j+1,3 k+j}$, where $j=1,2, \ldots, k$. They are shown in the columns of the table below.
In the case of $n=4 k+3$ we partition the remaining numbers
into the $k+1$ triples ${2 j-1,3 k+3-j, 3 k+j+2}$, where $j=1,2, \ldots, k+1$; these are again shown in the columns of the table below.
This completes the proof of the fact that the solution of the given problem are the numbers $n=3900$ and $n=3903$.
- Let $A B C D$ be a convex quadrilateral. A circle passing through the points $A$ and $D$ and a circle passing through the points $B$ and $C$ are externally tangent at a point $P$ inside the quadrilateral. Suppose that
Prove that $|A B|+|C D| \geqslant|B C|+|A D|$.
Solution. If $P$ is a common point of the given circles, the familiar properties of the angles subtending a chord at a point on a given circle and at its center imply that $P$ is also the point of tangency if and only if (Fig. 3)
Fig. 3
Consider now the circumcircles of the triangles $A B P$ and $C D P$ and assume for the moment that they meet also at another point $Q(Q \neq P)$.
Since the point $A$ lies outside the circle $B C P$, we have $|\angle B C P|+|\angle B A P|<180^{\circ}$. Therefore the point $C$ lies outside the circle $A B P$. Analogously, $D$ also lies outside that circle. It follows that $P$ and $Q$ lie on the same $\operatorname{arc} C D$ of the circle $C D P$.
Analogously, the points $P$ and $Q$ lie on the same $\operatorname{arc} A B$ of the circle $A B P$. Thus the point $Q$ lies either inside the angle $B P C$ or inside the angle $A P D$. Without loss of generality assume that $Q$ lies inside the angle $B P C$ (Fig. 4). Then
under the condition of the problem.
Fig. 4
In the chordal quadrilaterals $A P Q B$ and $D P Q C$, it follows from the hypothesis of the problem that the angles at the vertices $A$ and $D$ are acute. Thus the corresponding opposite angles at the vertex $Q$ are obtuse. This implies that $Q$ lies not only inside the angle $B P C$ but in fact inside the triangle $B P C$, hence also inside the quadrilateral $A B C D$.
From the properties of the angles in the two chordal quadrilaterals just mentioned it thus follows that
so by the hypothesis of the problem
Moreover, since $|\angle P C Q|=|\angle P D Q|$, we get by (1)
The last sum is equal to $|\angle A P B|$, according to the observation (1) applied to $T=P$. Since also $|\angle A P B|=|\angle A Q B|$, we obtain
This however means, as we have seen in the beginning, that the circles $B C Q$ and $D A Q$ are externally tangent at $Q$, contradicting our initial assumption that $P \neq Q$. Thus it has to be the case that the circumcircles of the two triangles $A B P$ and $C D P$ have only the single point $P$ in common, for which, by the inequalities (2) and (3), it is further true that the angles $A P D$ and $B P C$ are not obtuse.
Consider now the half-discs with diameters $B C$ and $D A$ constructed inwardly to the quadrilateral $A B C D$. Since the angles $A P D$ and $B P C$ are not obtuse, these two half-discs lie entirely inside the circles $B Q C$ and $A Q D$; and since these two circles are externally tangent, the two half-discs cannot have any other point than $P$ in common. Denoting by $M$ and $N$ the midpoints of the sides $B C$ and $D A$, respectively, it thus follows that $|M N| \geqslant \frac{1}{2}(|B C|+|D A|)$.
On the other hand, since $\mathbf{M N}=\frac{1}{2}(\mathbf{B A}+\mathbf{C D})$, we have $|M N| \leqslant \frac{1}{2}(|A B|+|C D|)$. Thus indeed $|A B|+|C D| \geqslant|B C|+|D A|$, as claimed.



















