Determine all real numbers $\alpha$ such that the number
$$
\lfloor\alpha\rfloor+\lfloor 2 \alpha\rfloor+\cdots+\lfloor n \alpha\rfloor
$$
is a multiple of $n$ for every positive integer $n$. (Here $\lfloor z\rfloor$ denotes the greatest integer less than or equal to $z$.) For example, $\lfloor-\pi\rfloor=-4$ and $\lfloor2\rfloor=\lfloor2.9\rfloor=2$.
Determine all positive integers $a$ and $b$ such that there exists a positive integer $g$ such that $\operatorname{gcd}\left(a^{n}+b, b^{n}+a\right)=g$ for all sufficiently large $n$.
Let $N$ be a positive integer and let $a_{1}, a_{2}, \ldots$ be an infinite sequence of positive integers. Suppose that, for each $n \gt N$, $a_{n}$ is equal to the number of times $a_{n-1}$ appears in the list $a_{1}, a_{2}, \ldots, a_{n-1}$.
Prove that at least one of the sequences $a_{1}, a_{3}, a_{5}, \ldots$ and $a_{2}, a_{4}, a_{6}, \ldots$ is eventually periodic.
Let $ABC$ be a triangle with $AB\lt AC\lt BC$. Let the incentre and incircle of triangle $ABC$ be $I$ and $\omega$, respectively. Let $X$ be the point on line $BC$ different from $C$ such that the line through $X$ parallel to $AC$ is tangent to $\omega$. Similarly, let $Y$ be the point on line $BC$ different from $B$ such that the line through $Y$ parallel to $AB$ is tangent to $\omega$. Let $AI$ intersect the circumcircle of triangle $ABC$ again at $P\ne A$. Let $K$ and $L$ be the midpoints of $AC$ and $AB$, respectively.
Prove that $\angle KIL+\angle YPX=180^\circ$.
Turbo the snail plays a game on a board with 2024 rows and 2023 columns. There are hidden monsters in 2022 of the cells. Initially, Turbo does not know where any of the monsters are, but he knows that there is exactly one monster in each row except the first row and the last row, and that each column contains at most one monster.
Turbo makes a series of attempts to go from the first row to the last row. On each attempt, he chooses to start on any cell in the first row, then repeatedly moves to an adjacent cell sharing a common side. (He is allowed to return to a previously visited cell.) If he reaches a cell with a monster, his attempt ends and he is transported back to the first row to start a new attempt. The monsters do not move, and Turbo remembers whether or not each cell he has visited contains a monster. If he reaches any cell in the last row, his attempt ends and the game is over.
Determine the minimum value of $n$ for which Turbo has a strategy that guarantees reaching the last row on the $n$th attempt or earlier, regardless of the locations of the monsters.
Let $\mathbb{Q}$ be the set of rational numbers. A function $f:\mathbb{Q}\to\mathbb{Q}$ is called aquaesulian if the following property holds: for every $x,y\in\mathbb{Q}$,
$$f(x+f(y))=f(x)+y\quad\text{or}\quad f(f(x)+y)=x+f(y).$$
Show that there exists an integer $c$ such that for any aquaesulian function $f$ there are at most $c$ different rational numbers of the form $f(r)+f(-r)$ for some rational number $r$, and find the smallest possible value of $c$.