I need help understanding what I am doing wrong.
I need to prove (by induction): $ f(n) = \begin{cases} 1 & \text{if $n=1$} \\ (2*n - 1)*f(n - 1) & \text{if $n>=2$} \end{cases} $
$f(n) = \frac{(2*n)!}{(n!*2^n)}$
I start with basis for $n=1$ and $2$:
$f(1) = \frac{2!}{(2*1!)}$ -> 1=1 OK!
$f(2) = (2*2)!/(2!*2^2) \to 3=3 $ OK!
Then we assume $n = k$ then $f(k) = \frac{(2*k)!}{(k!*2^{k})}$
We need to show that it holds for $k+1$:
$(2*k + 1)*f(k) = (2*k + 1)*\frac{(2*k)!}{(k!*2^{k})}$
$(2*k + 1)*\frac{(2*k)!}{(k!*2^{k})}$
$(2*k + 1)*(2*k)!*\frac{1}{(k!*2^{k}*(2*k + 1))}$
Here is my issue. I end up with the same equation for $k$, and not $k+1$:
$\frac{(2*k)!}{(k!*2^{k})}$
What am I doing wrong?
Any help will be greatly appreciated!