2024 Iran MO (2nd Round)

Day 1$\quad$ April 18

1

Kimia has a weird clock; the clock's second hand moves 34 or 47 seconds forward instead of each regular second, at random. As an example, if the clock displays the time as $\text{12:23:05}$, the following times could be displayed in this order: $$\text{12:23:39, 12:24:13, 12:25:00, 12:25:34, 12:26:21,\dots}$$Prove that the clock's second hand would eventually land on a perfect square.

2

Find all sequences $(a_n)_{n\geq 1}$ of positive integers such that for all integers $n\geq 3$ we have $$ \dfrac{1}{a_1 a_3} + \dfrac{1}{a_2a_4} + \cdots + \dfrac{1}{a_{n-2}a_n}= 1 - \dfrac{1}{a_1^2+a_2^2+\cdots +a_{n-1}^2}. $$

3

In a triangle $ABC$ the incenter, the $B$-excenter and the $C$-excenter are $I, K$ and $L$, respectively. The perpendiculars at $B$ and $C$ to $BC$ intersect the lines $AC$ and $AB$ at $E$ and $F$, respectively. Prove that the circumcircles of $AEF, FIL, EIK$ concur.

Day 2 $\quad$ April 19

1

In the triangle $ABC$, $M$ is the midpoint of $AB$ and $B'$ is the foot of $B$-altitude. $CB'M$ intersects the line $BC$ for the second time at $D$. Circumcircles of $CB'M$ and $ABD$ intersect each other again at $K$. The parallel to $AB$ through $C$ intersects the $CB'M$ circle again at $L$. Prove that $KL$ cuts $CM$ in half.

2

Sahand and Gholam play on a $1403\times 1403$ table. Initially all the unit square cells are white. For each row and column there is a key for it (totally 2806 keys). Starting with Sahand players take turn alternatively pushing a button that has not been pushed yet, until all the buttons are pushed. When Sahand pushes a button all the cells of that row or column become black, regardless of the previous colors. When Gholam pushes a button all the cells of that row or column become red, regardless of the previous colors. Finally, Gholam's score equals the number of red squares minus the number of black squares and Sahand's score equals the number of black squares minus the number of red squares. Determine the minimum number of scores Gholam can guarantee without if both players play their best moves.

3

Find all natural numbers $x,y>1$and primes $p$ that satisfy $$\frac{x^2-1}{y^2-1}=(p+1)^2. $$