I'm a grade 12 math student, and this was one of the questions in one of the hardest modules. Recurrence relations are not actually in our syllabus, so I expect that the solution probably involves a neat way of eliminating terms, maybe even a telescoping series type of approach.
I tried writing the equation as $ a_{n+2} - a_{n} = \frac{2}{a_{n+1}} $ and sought a relation between the terms. At first it felt like it was working, as $a_5 - a_3 = 3 - \frac{1}{3}$ and $a_6 - a_4 = 4 - \frac{1}{4}$ but then $a_7 - a_5 = 5 + \frac{1}{5}$ and after that the numbers cannot be expressed in this form