I'm working on a recurrence which give me the following solution:
$$ f(n)=(2+1)(2+\tfrac12)(2+\tfrac13)\cdots\left(2+\tfrac1{\lg(n)}\right) $$
so for $n=16$, $f(n)$ is just like:
$$ (2+1)(2+\tfrac12)(2+\tfrac13)(2+\tfrac14) $$
since $\lg(16)=4$. Does anyone know a way to find a closed-form formula for such kind of product? Perhaps someone know a useful source of theory for such kind of problems?
FYI the recurrence is $C_n=\left(2+\frac1{\lg(n)}\right)C_{n/2}$ for $n\ge2$ and $C_1=1$, $N$ is a power of $2$..
Thanks
Let $N=\log_2 (n)$ be a positive integer (which means that $n=2^k$ where $k$ is a positive integer).
Then, noting that $$\begin{align}\prod_{n=1}^{N}(2n+1)&=3\cdot 5\cdots (2N+1)\\&=(2N+1)!!\\&=\frac{1\cdot 2\cdots (2N)\cdot (2N+1)}{2\cdot 4\cdots (2N-2)\cdot (2N)}\\&=\frac{(2N+1)!}{2^N\cdot (1\cdot 2\cdots (N-1)\cdot N)}\\&=\frac{(2N+1)!}{2^N\cdot N!}\end{align}$$
we can see that your product can be represented as $$\begin{align}\prod_{n=1}^{N}\left(2+\frac 1n\right)&=\frac{\prod_{n=1}^{N}{(2n+1)}}{\prod_{n=1}^{N}n}\\&=\frac{1}{N!}\cdot \frac{(2N+1)!}{2^N\cdot N!}\\&=\frac{2N+1}{2^N}\cdot \frac{(2N)!}{N!N!}\\&=\frac{2N+1}{2^N}\binom{2N}{N}\\&=\frac{2\log_2(n)+1}{n}\binom{2\log_2(n)}{\log_2(n)}.\end{align}$$