Problem

Source: 1st TASIMO, Day1 Problem2

Tags: Sequence, algebra



Find all positive integers $(r,s)$ such that there is a non-constant sequence $a_n$ os positive integers such that for all $n=1,2,\dots$ \[ a_{n+2}= \left(1+\frac{{a_2}^r}{{a_1}^s} \right ) \left(1+\frac{{a_3}^r}{{a_2}^s} \right ) \dots \left(1+\frac{{a_{n+1}}^r}{{a_n}^s} \right ).\]Proposed by Navid Safaei, Iran