This difference equation $$ f(x)^2 = 1 + x f(x + 1) $$ can pop up when looking at a famous problem posted by Ramanujan.
This equation is equivalent to the following infinitely nested radical expression $$ f(x) = \sqrt{1 + x \sqrt{1 + (x+1) \sqrt{1 + (x+2)\sqrt{\cdots}}}} $$ assuming that we take the positive branch of all of the radicals.
Ok, what I would like to prove or disprove is whether the only analytic (or a more relaxed criterion) solution is $f(x) = 1+x$. You can easily enough show that if $f$ is differentiable, then $f(N) = 1+N$ for all integers $N\in\mathbb{Z}$.
You can also show that for all integers $$ f'(N) = a N 2^N + 1 $$ for some $a\in\mathbb{R}$ by solving the recurrence relation that appears after taking the derivative of the above difference equation. It is clear that $f(x) = 1+x$ is a solution, but I am trying to figure out if it is the only solution.
By setting $x = 0$, and $x=-1$ you find that $f(0) = 1$ and $f(-1) = 0$. By taking the implicit derivative and looking at $x=0$ and $x=-1$ again, you find that $f'(0) = 1$ and thus $f(1)=2$ the rest follow by induction.
– Todd Sierens Feb 10 '23 at 14:42