Problem

Source: 2019 Switzerland MO

Tags: algebra



Find all periodic sequences $x_1,x_2,\dots$ of strictly positive real numbers such that $\forall n \geq 1$ we have $$x_{n+2}=\frac{1}{2} \left( \frac{1}{x_{n+1}}+x_n \right)$$