Given a triangle $ABC$, $BC = 2 \cdot AC$. Point $M$ is the midpoint of side $ BC$ and point $D$ lies on $AB$, with $AD = 2 \cdot BD$. Prove that the lines $AM$ and $MD$ are perpendicular.
2023 Czech-Polish-Slovak Junior Match
Individual
For a positive integer $n$, let $d(n)$ denote the number of positive divisors of $n$. Determine all positive integers $n$ for which $d(n)$ is the second largest divisor of $n$.
Given is an acute triangle $ABC$. Point $P$ lies inside this triangle and lies on the bisector of angle $\angle BAC$. Suppose that the point of intersection of the altitudes $H$ of triangle $ABP$ lies inside triangle $ABC$. Let $Q$ be the intersection of the line $AP$ and the line perpendicular to $AC$ passing through $H$. Prove that $Q$ is the point symmetrical to $P$ wrt the line $BH$.
Each field of the $n \times n$ array has been colored either red or blue, with the following conditions met: $\bullet$ if a row and a column contain the same number of red fields, the field at their intersection is red; $\bullet$ if a row and a column contain different numbers of red cells, the field at their intersection is blue. Prove that the total number of blue cells is even.
Bartek patiently performs operations on fractions. In each move, he adds its inverse to the current result, obtaining a new result. Bartek starts with the number $1$: after the first move, he receives the result 2, after the second move, the result is $\frac{5}{2}$, after the third move $\frac{29}{10}$, etc. After $300$ moves, Bartek receives the result $x$. Determine the largest integer not greater than $x$.
Team
Let $S(n)$ denote the sum of all digits of natural number $n$. Determine all natural numbers $n$ for which both numbers $n + S(n)$ and $n - S(n)$ are square powers of non-zero integers.
The numbers $1, 2,..., 2023$ are written on the board in this order. We can repeatedly perform the following operation with them: We select any odd number of consecutively written numbers and write these numbers in reverse order. How many different orders of these $2023$ numbers can we get? Example: If we start with only the numbers $1, 2, 3, 4, 5, 6$, we can perform the following steps $$1, 2, 3, 4, 5, 6 \to 3, 2, 1,4, 5, 6 \to 3, 6, 5, 4, 1, 2 \to 3, 6, 1, 4, 5, 2 \to ...$$
$n$ people met at the party, with $n \ge 2$. Each person dislikes exactly one other person present at the party (but not necessarily reciprocal, i.e. it may happen that $A$ dislikes $B$ even though $B$ does not dislike $A$) and likes all others. Prove that guests can be seated at three tables in such a way that each guest likes all the people at his table.
In triangle $ABC$, the points $M$ and $N$ are the midpoints of the sides $AB$ and $AC$, respectively. The bisectors of interior angles $\angle ABC$ and $\angle BCA$ intersect the line $MN$ at points $P$ and $Q$, respectively. Let $p$ be the tangent to the circumscribed circle of the triangle $AMP$ passing through point $P$, and $q$ be the tangent to the circumscribed circle of the triangle $ANQ$ passing through point $Q$. Prove that the lines $p$ and $q$ intersect on line $BC$.
Mazo performs the following operation on triplets of non-negative integers: If at least one of them is positive, it chooses one positive number, decreases it by one, and replaces the digits in the units place with the other two numbers. It starts with the triple $x$, $y$, $z$. Find a triple of positive integers $x$, $y$, $z$ such that $xy + yz + zx = 1000$ (*) and the number of operations that Mazo can subsequently perform with the triple $x, y, z$ is (a) maximal (i.e. there is no triple of positive integers satisfying (*) that would allow him to do more operations); (b) minimal (i.e. every triple of positive integers satisfying (*) allows him to perform at least so many operations).
Given a rectangle $ABCD$. Points $E$ and $F$ lie on sides $BC$ and $CD$ respectively so that the area of triangles $ABE$, $ECF$, $FDA$ is equal to $1$. Determine the area of triangle $AEF$.