File size: 9,871 Bytes
802d9fe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# MМO 2019 

Problem 1. Let $A B C$ be an acute triangle, $M$ be midpoint of the segment $B C$ and the centers of the excircles with respect of $\mathrm{M}$ of the triangles $A M B$ and $A M C$ are $D$ and $E$, respectively. The The circumcircle of the triangle $A B D$ meets the line $B C$ at the points $B$ and $F$. The circumcircle of the triangle $A C E$ meets the line $B C$ at the points $C$ and $G$. Prove that $B F=C G$.

Solution. (BMO shortlist) Obviously, we have $\angle A D B=90^{\circ}-\frac{1}{2} \measuredangle A M B$ and $\angle A E C=90^{\circ}-\frac{1}{2} \measuredangle A M C$.

![](https://cdn.mathpix.com/cropped/2024_04_28_7363064d6cbc95a9960fg-1.jpg?height=411&width=675&top_left_y=612&top_left_x=537)

Let the circumcircles of $\triangle A D B$ and $\triangle A E C$ meet again the line $A M$ at the points $P$ and $P^{\prime}$, respectively. Let we notice that the point $M$ is outside of the circumcircles of $\triangle A D B$ and $\triangle A E C$, since $\measuredangle A D B+\measuredangle A M B<180^{\circ}$ and $\angle A E C+\measuredangle A M C<180^{\circ}$, so $P$ and $P^{\prime}$ lie on the ray $M A$. Furthermore, $\measuredangle B P M=\measuredangle B D A=90^{\circ}-\frac{1}{2} \measuredangle P M B$, hence the triangle $B P M$ is isosceles, so $M P=M B$. Analogously, $M P^{\prime}=M C=M B$, so $P^{\prime} \equiv P$.

Now, using the power of the point $M$, we obtain $M B \cdot M F=M P \cdot M A=M C \cdot M G$, i.e. $M F=M G=M A$, hence $B F=C G$.

Problem 2. Let $n$ be a positive integer. If $r \equiv n(\bmod 2)$ and $r \in\{0,1\}$, then find the number of the integer solutions of the system of equations

$$
\left\{\begin{array}{l}
x+y+z=r \\
|x|+|y|+|z|=n
\end{array}\right.
$$

Solution. Let $n$ be a even positive integer, that is $r=0$. Then the problem can be reformulated as to find the number of integer solutions of the system of equations

$$
\left\{\begin{array}{l}
x+y+z=0 \\
|x|+|y|+|z|=n
\end{array}\right.
$$

Lemma. 1) At least one of the numbers $x, y, z$ has absolute value $\frac{n}{2}$.

2) Each of $x, y, z$ has absolute value $\leq \frac{n}{2}$.

Proof. It is clear that one of the numbers $x, y, z$ must be positive; otherwise we obtain contradiction with the first equation of the system of equations (1). Without loss the generality, we may assume $x>0$.

Indeed, if $x>\frac{n}{2}$, from $x=-(y+z)$, and from $|y|+|z| \geq|y+z|>\frac{n}{2}$ we obtain contradiction with the second equation of the system of equations (1).

If $0<x<\frac{n}{2}$, then at leas one of the numbers $y, z$ is smaller than 0 . We consider two cases: Case 1 . $y<0, z<0$, and Case 2. $y z<0$.

Case 1. $|y+z|=|y|+|z|$ and $y+z=-x$, so $|x|+|y|+|z|<\frac{n}{2}+\frac{n}{2}$, which is contradiction.

Case 2. Let $y<0<z$. In this case $x+z=-y$, that is $|y|=|x+z|=|x|+|z|$ from where we obtain

$$
2|y|=|y|+|x+z|=|x|+|y|+|z|=n \text { or }|y|=\frac{n}{2}
$$

The case when $x<0$ is analogues. This completes the lemma.

Continuation of the solution. Let only one of the numbers $x, y, z$ be positive. Without loss of generality, let $x>0$, and then $x=\frac{n}{2}$ and $y+z=-\frac{n}{2}$. From the lemma, it follows that all the ordered triples

$$
\left(\frac{n}{2},-\frac{n}{2}, 0\right),\left(\frac{n}{2},-\frac{n}{2}+1,-1\right),\left(\frac{n}{2},-\frac{n}{2}+2,-2\right), \ldots,\left(\frac{n}{2}, 0,-\frac{n}{2}\right)
$$

are solution of the system of equations (1), and those are $\frac{n}{2}+1$ solutions. Changing the position of $\frac{n}{2}$ (at the second and at the third coordinate) and applying the same discussion, we obtain $3\left(\frac{n}{2}+1\right)$ ordered triples which are solution of the system of equations (1). Let any two of $x, y, z$ are positive. Without loss of generality, let $x>0, y>0$. Then $z=-\frac{n}{2}$ and $x+y=\frac{n}{2}$. From the lemma, it follows that all the ordered triples

$$
\left(1, \frac{n}{2}-1,-\frac{n}{2}\right),\left(2, \frac{n}{2}-2,-\frac{n}{2}\right),\left(3, \frac{n}{2}-3,-\frac{n}{2}\right), \ldots,\left(\frac{n}{2}-1,1,-\frac{n}{2}\right)
$$

are solution of the system of equations (1), and those are $\frac{n}{2}-1$ solutions. Changing the position of $-\frac{n}{2}$ (at the first and at the second coordinate) and applying the same discussion, we obtain $3\left(\frac{n}{2}-1\right)$ ordered triples which are solution of the system of equations (1). Finally, we obtain that the total number of solutions of the system of equations (1) is

$$
3\left(\frac{n}{2}+1\right)+3\left(\frac{n}{2}-1\right)=3 n
$$

Now, let $n$ be a odd positive integer, that is $r=1$. Then, the system (1) can be written as

$$
\left\{\begin{array}{l}
x+y+z=1 \\
|x|+|y|+|z|=n
\end{array}\right.
$$

In analogues way as the case when $n$ is even, (using the appropriate lemma obtained when replacing $\frac{n}{2}$ with $\frac{n+1}{2}$ ), we obtain that the total number of solutions of the system of equations (1) is

$$
3\left(\frac{n-1}{2}+1\right)+3\left(\frac{n-1}{2}\right)=3 n
$$

Problem 3. Let $A B C$ be an isosceles triangle ( $A B=A C$ ) and let $M$ be a midpoint of the segment $B C$. The point $P$ is chosen such that $P B<P C$ and $P A$ is parallel to $B C$. Let $X$ and $Y$ are point from the lines $P B$ and $P C$, respectively, such that the point $B$ is on the segment $P X, C$ is on the segment $P Y$ and $\measuredangle P X M=\measuredangle P Y M$. Prove that the quadrilateral $A P X Y$ is cyclic.

Solution (IMO Shortlist). Since $A B=A C, A M$ is a axes of symmetry of the segment $B C$, we have $\angle P A M=\angle A M C=90^{\circ}$.

Let $Z$ be intersection point of the line $A M$ and the normal of $P C$, passing through $Y$ (notice that $Z$ is on the ray $A M$ after the point $M$ ). We have, $\measuredangle P A Z=\measuredangle P Y Z=90^{\circ}$. Hence, the points $P, A, Y$ and $Z$ are concyclic.

Since $\measuredangle C M Z=\measuredangle C Y Z=90^{\circ}$, the quadrilateral $C Y Z M$ is cyclic, so $\measuredangle C Z M=\measuredangle C Y M$. By the condition of the problem, $\measuredangle C Y M=\measuredangle B X M$, and since $Z M$ is axes of symmetry of the angle $\measuredangle B Z C$, we have $\measuredangle C Z M=\measuredangle B Z M$. So, $\measuredangle B X M=\measuredangle B Z M$. Now, we have that the points $B, X, Z$ and $M$ are concyclic, so $\measuredangle B X Z=180^{\circ}-\measuredangle B M Z=90^{\circ}$.

Finally, e obtain that $\measuredangle P X Z=\measuredangle P Y Z=\measuredangle P A Z=90^{\circ}$, hence the points $P, A, X, Y, Z$ are concyclic, i.e. the quadrilateral $A P X Y$ is cyclic.

Remark. The construction of the point $Z$, can be made in a different ways. One way is the point $Z$ to be second intersection of the circle $C M Y$ and the line $A M$. Another way to introduce the point $Z$ is as a second intersection point of the circumcircles of the triangles $C M Y$ and $B M X$.

![](https://cdn.mathpix.com/cropped/2024_04_28_7363064d6cbc95a9960fg-3.jpg?height=560&width=545&top_left_y=979&top_left_x=612)

Problem 4. Find all functions $f: \mathbb{N} \rightarrow \mathbb{N}$ such that

$$
n!+f(m)!\mid f(n)!+f(m!)
$$

for all $m, n \in \mathbb{N}$.

Solution. (BMO Shortlist) Taking $m=n=1$ in (*) yields $1+f(1)!\mid f(1)!+f(1)$ and hence $1+f(1)!\mid f(1)-1$. Since, $|f(1)-1|<f(1)!+1$, that is $1+f(1)!\mid f(1)-1$ it follows that $f(1)-1=0$, i.e. $f(1)=1$.

For $m=1$ in $\left({ }^{*}\right)$ we have $n!+1 \mid f(n)!+1$, which implies $n!\leq f(n)$ !, i.e. $n \leq f(n)$. On the other hand, taking $(m, n)=(1, p-1)$ for any prime number $p$ and using Wilson's theorem we obtain $p|(p-1)!+1| f(p-1)!+1$, implying $f(p-1)<p$. But $f(p-1) \geq p-1$ and from $f(p-1)<p$ we conclude that

$$
f(p-1)=p-1
$$

Next, fix a positive integer $m$. For any prime number $p$, setting $n=p-1$ in $\left(^{*}\right)$ yields $(p-1)!+f(m)!\mid(p-1)!+f(m!)$, hence

$$
(p-1)!+f(m)!\mid f(m!)-f(m)!
$$

For all prime numbers $p$. This implies $f(m!)=f(m)$ !, for all $m \in \mathbb{N}$, so $\left(^{*}\right)$ can be rewritten as $n!+f(m)!\mid f(n)!+f(m)!$. This implies

$$
n!+f(m)!\mid f(n)!-n!
$$

for all $m, n \in \mathbb{N}$. Fixing $n \in \mathbb{N}$ and taking $m$ large enough, we conclude that $f(n)!=n$ !, i.e. $f(n)=n$, for all $n \in \mathbb{N}$.

Problem 5. Let $n$ be a given positive integer. Sisyphus performs a sequence on a board consisting of $n+1$ squares in a row, numbered from 0 to $n$, starting from left to right. At the beginning, $n$ stones are put into square numbered 0 , and the other squares are empty. At any turn, Sisyphus chooses any nonempty square with $k$ stones, takes on of these stones and moves it to the right but at most $k$ squares (the chosen stone should stay within the board). The goal of Sisyphus is to place all $n$ stones at the square $n$. Prove that Sisyphus can not achieve his goal in less that $\left\lceil\frac{n}{1}\right\rceil+\left\lceil\frac{n}{2}\right\rceil+\left\lceil\frac{n}{3}\right\rceil+\ldots+\left\lceil\frac{n}{n}\right\rceil$ moves. Notation $\lceil x\rceil$ stands for the least integer not smaller than $x$.

Solution. (IMO Shortlist) The stones are indistinguishable, and all have the same origin and the same final position. So, at any position we can prescribe which stone from the chosen square to move. We do it in the following manner. Number the stone from 1 to $n$. At any turn, after choosing a square, Sisyphus moves the stone with the largest number from the square.

This way, when stone $k$ is moved from some square, that square contains not more than $k$ stones (since all their numbers are at most $k$ ). Therefore, stone $k$ is moved by at most $k$ squares at each turn. Since the total shift of the stone is exactly $n$, at least $\left\lceil\frac{n}{k}\right\rceil$ moves of stone $k$ should have been made, for every $k=1,2, \ldots, n$.

By summing up over all $k=1,2, \ldots, n$, we get the required estimate.