I'm having some trouble finding a recursive definition for the following sequence:
$x_0 = \sqrt{1+n}$
$x_1 = \sqrt{1+n\sqrt{1+(n+1)}}$
$x_2 = \sqrt{1+n\sqrt{1+(n+1)\sqrt{1+(n+2)}}}$
$x_3 = \sqrt{1+n\sqrt{1+(n+1)\sqrt{1+(n+2)\sqrt{1+(n+3)}}}}$
and so on (where $n \in \mathbb{N}$). I tried using something like $x_{i+1} = \sqrt{1 + n f(x_i)}$ where $f$ would be a function that sends $n$ to $n+1$ wherever $n$ appears in $x_i$. So for instance $f(x_0) = \sqrt{1 + (n+1)}$ and $f(x_1) = \sqrt{1+(n+1)\sqrt{1+(n+2)}}$. My problem is that I can't figure out an explicit form for $f$. If it's any help, the limit of the sequence is $n+1$.
One has $x_k(n) = f_{k+1}(n)$, where $(f_k)_{k \geqslant 0}$ is the sequence of functions defined recursively as follows:
$f_0(n) = 1$
$f_{k+1}(n) = \sqrt{1+nf_k(n+1)}$
Indeed,
$f_0(n) = 1$
$f_1(n) = \sqrt{1+n}$
$f_2(n) = \sqrt{1+n\sqrt{1+(n+1)}}$
$f_3(n) = \sqrt{1+n\sqrt{1+(n+1)\sqrt{1+(n+2)}}}$
etc.