2023 Ukraine National Mathematical Olympiad

Grade 8

Day 1

8.1

Oleksiy placed positive integers in the cells of the $8\times 8$ chessboard. For each pair of adjacent-by-side cells, Fedir wrote down the product of the numbers in them and added all the products. Oleksiy wrote down the sum of the numbers in each pair of adjacent-by-side cells and multiplied all the sums. It turned out that the last digits of both numbers are equal to $1$. Prove that at least one of the boys made a mistake in the calculation. For example, for a square $3\times 3$ and the arrangement of numbers shown below, Fedir would write the following numbers: $2, 6, 8, 24, 15, 35, 2, 6, 8, 20, 18, 42$, and their sum ends with a digit $6$; Oleksiy would write the following numbers: $3, 5, 6, 10, 8, 12, 3, 5, 6, 9, 9, 13$, and their product ends with a digit $0$. \begin{tabular}{| c| c | c |} \hline 1 & 2 & 3 \\ \hline 2 & 4 & 6 \\ \hline 3 & 5 & 7 \\ \hline \end{tabular} Proposed by Oleksiy Masalitin and Fedir Yudin

8.2

In one country, a one-round tennis tournament was held (everyone played with everyone exactly once). Participants received $1$ point for winning a match, and $0$ points for losing. There are no draws in tennis. At the end of the tournament, Oleksiy saw the number of points scored by each participant, as well as the schedule of all the matches in the tournament, which showed the pairs of players, but not the winners. He chooses matches one by one in any order he wants and tries to guess the winner, after which he is told if he is correct. Prove that Oleksiy can act in such a way that he is guaranteed to guess the winners of more than half of the matches. Proposed by Oleksiy Masalitin

8.3

Positive integers $x, y$ satisfy the following conditions: $$\{\sqrt{x^2 + 2y}\}> \frac{2}{3}; \hspace{10mm} \{\sqrt{y^2 + 2x}\}> \frac{2}{3}$$ Show that $x = y$. Here $\{x\}$ denotes the fractional part of $x$. For example, $\{3.14\} = 0.14$. Proposed by Anton Trygub

8.4

Point $T$ is chosen in the plane of a rhombus $ABCD$ so that $\angle ATC + \angle BTD = 180^\circ$, and circumcircles of triangles $ATC$ and $BTD$ are tangent to each other. Show that $T$ is equidistant from diagonals of $ABCD$. Proposed by Fedir Yudin

Day 2

8.5

Do there exist $10$ real numbers, not all of which are equal, each of which is equal to the square of the sum of the remaining $9$ numbers? Proposed by Bogdan Rublov

8.6

In a convex pentagon $ABCDE$ the following conditions hold : $AB \parallel CD$, $BC \parallel DE$, and $\angle BAE = \angle AED$. Prove that $AB + BC = CD + DE$ Proposed by Anton Trygub

8.7

The country has $n \ge 3$ airports, some pairs of which are connected by bidirectional flights. Every day, the government closes the airport with the strictly highest number of flights going out of it. What is the maximum number of days this can continue? Proposed by Fedir Yudin

8.8

You are given a set of $m$ integers, all of which give distinct remainders modulo some integer $n$. Show that for any integer $k \le m$ you can split this set into $k$ nonempty groups so that the sums of elements in these groups are distinct modulo $n$. Proposed by Anton Trygub

Grade 9

Day 1

9.1

$n \ge 4$ real numbers are arranged in a circle. It turned out that for any four consecutive numbers $a, b, c, d$, that lie on the circle in this order, holds $a+d = b+c$. For which $n$ does it follow that all numbers on the circle are equal? Proposed by Oleksiy Masalitin

9.2

Positive integers $a_1, a_2, \ldots, a_{101}$ are such that $a_i+1$ is divisible by $a_{i+1}$ for all $1 \le i \le 101$, where $a_{102} = a_1$. What is the largest possible value of $\max(a_1, a_2, \ldots, a_{101})$? Proposed by Oleksiy Masalitin

9.3

You are given an acute triangle $ABC$ with circumcircle $\omega$. Points $F$ on $AC$, $E$ on $AB$ and $P, Q$ on $\omega$ are chosen so that $\angle AFB = \angle AEC = \angle APE = \angle AQF = 90^\circ$. Show that lines $BC, EF, PQ$ are concurrent or parallel. Proposed by Fedir Yudin

9.4

Find the smallest real number $C$, such that for any positive integers $x \neq y$ holds the following: $$\min(\{\sqrt{x^2 + 2y}\}, \{\sqrt{y^2 + 2x}\})<C$$ Here $\{x\}$ denotes the fractional part of $x$. For example, $\{3.14\} = 0.14$. Proposed by Anton Trygub

Day 2

Same as 8.5 - 9.5

9.6

A point $O$ lies inside $\triangle ABC$ so that $\angle BOC=90-\angle BAC$. Let $BO, CO$ meet $AC, AB$ at $K, L$. Points $K_1, L_1$ lie on the segments $CL, BK$ so that $K_1B=K_1K$ and $L_1C=L_1L$. If $M$ is the midpoint of $BC$, then prove that $\angle K_1ML_1=90^{o}$. Proposed by Anton Trygub

9.7

You are given $n \ge 2$ distinct positive integers. Let's call a pair of these integers elegant if their sum is an integer power of $2$. For every $n$ find the largest possible number of elegant pairs. Proposed by Oleksiy Masalitin

9.8

What is the largest possible number of edges in a graph on $2n$ nodes, if there exists exactly one way to split its nodes into $n$ pairs so that the nodes from each pair are connected by an edge? Proposed by Anton Trygub

Grade 10

Day 1

10.1

Find all positive integers $k$, for which the product of some consecutive $k$ positive integers ends with $k$. Proposed by Oleksiy Masalitin

10.2

On a rectangular board $100 \times 300$, two people take turns coloring the cells that have not yet been colored. The first one colors cells in yellow, and the second one in blue. Coloring is completed when every cell of the board is colored. A connected sequence of cells is a sequence of cells in which every two consecutive cells share a common side (and all cells in the sequence are different). Consider all possible connected sequences of yellow cells. The result of the first player is the number of cells in the connected sequence of yellow cells of maximum length. The first player's goal is to maximize the result, and the second player's goal is to make the first player's result as small as possible. Prove that if each player tries to achieve his goal, the result of the first player will be no more than $200$. Proposed by Mykhailo Shtandenko and Fedir Yudin

10.3

Let $I$ be the incenter of the triangle $ABC$, and $P$ be any point on the arc $BAC$ of its circumcircle. Points $K$ and $L$ are chosen on the tangent to the circumcircle $\omega$ of triangle $API$ at point $I$, so that $BK = KI$ and $CL = LI$. Show that the circumcircle of triangle $PKL$ is tangent to $\omega$. Proposed by Mykhailo Shtandenko

10.4

Let $(x_n)$ be an infinite sequence of real numbers from interval $(0, 1)$. An infinite sequence $(a_n)$ of positive integers is defined as follows: $a_1 = 1$, and for $i \ge 1$, $a_{i+1}$ is equal to the smallest positive integer $m$, for which $[x_1 + x_2 + \ldots + x_m] = a_i$. Show that for any indexes $i, j$ holds $a_{i+j} \ge a_i + a_j$. Proposed by Nazar Serdyuk

Day 2

Same as 8.6 - 10.5

10.6

Let $P(x), Q(x), R(x)$ be polynomials with integer coefficients, such that $P(x) = Q(x)R(x)$. Let's denote by $a$ and $b$ the largest absolute values of coefficients of $P, Q$ correspondingly. Does $b \le 2023a$ always hold? Proposed by Dmytro Petrovsky

10.7

You are given $n \ge 2$ distinct positive integers. For every pair $a<b$ of them, Vlada writes on the board the largest power of $2$ that divides $b-a$. At most how many distinct powers of $2$ could Vlada have written? Proposed by Oleksiy Masalitin

10.8

Consider a complete graph on $4046$ nodes, whose edges are colored in some colors. Let's call this graph $k$-good if we can split all its nodes into $2023$ pairs so that there are exactly $k$ distinct colors among the colors of $2023$ edges that connect the nodes from the same pairs. Is it possible that the graph is $999$-good and $1001$-good but not $1000$-good? Proposed by Anton Trygub

Grade 11

Day 1

11.1

Set $M$ contains $n \ge 2$ positive integers. It's known that for any two different $a, b \in M$, $a^2+1$ is divisible by $b$. What is the largest possible value of $n$? Proposed by Oleksiy Masalitin

11.2

Points $A_1, A_2, \ldots, A_{2022}$ are chosen on a plane so that no three of them are collinear. Consider all angles $A_iA_jA_k$ for distinct points $A_i, A_j, A_k$. What largest possible number of these angles can be equal to $90^\circ$? Proposed by Anton Trygub

11.3

In the quadrilateral $ABCD$ $\angle ABC = \angle CDA = 90^\circ$. Let $P = AC \cap BD$, $Q = AB\cap CD$, $R = AD \cap BC$. Let $\ell$ be the midline of the triangle $PQR$, parallel to $QR$. Show that the circumcircle of the triangle formed by lines $AB, AD, \ell$ is tangent to the circumcircle of the triangle formed by lines $CD, CB, \ell$. Proposed by Fedir Yudin

11.4

Find all functions $f : \mathbb{R} \to \mathbb{R}$, such that for any real $x, y$ holds the following: $$f(x+yf(x+y)) = f(y^2) + xf(y) + f(x)$$ Proposed by Vadym Koval

Day 2

11.5

Let's call a polynomial mixed if it has both positive and negative coefficients ($0$ isn't considered positive or negative). Is the product of two mixed polynomials always mixed? Proposed by Vadym Koval

11.6

Let $K$ be the midpoint of the median $AM$ of a triangle $ABC$. Points $X, Y$ lie on $AB, AC$, respectively, such that $\angle KXM =\angle ACB$, $AX>BX$ and similarly $\angle KYM =\angle ABC$, $AY>CY$. Prove that $B, C, X, Y$ are concyclic. Proposed by Mykhailo Shtandenko

11.7

For a positive integer $n$ consider all its divisors $1 = d_1 < d_2 < \ldots < d_k = n$. For $2 \le i \le k-1$, let's call divisor $d_i$ good, if $d_{i-1}d_{i+1}$ isn't divisible by $d_i$. Find all $n$, such that the number of their good divisors is smaller than the number of their prime distinct divisors. Proposed by Mykhailo Shtandenko

11.8

There are $2024$ cities in a country, every two of which are bidirectionally connected by exactly one of three modes of transportation - rail, air, or road. A tourist has arrived in this country and has the entire transportation scheme. He chooses a travel ticket for one of the modes of transportation and the city from which he starts his trip. He wants to visit as many cities as possible, but using only the ticket for the specified type of transportation. What is the largest $k$ for which the tourist will always be able to visit at least $k$ cities? During the route, he can return to the cities he has already visited. Proposed by Bogdan Rublov