There is probably something stupidly simple I'm missing, but I'm trying to find a closed form for:
$$ 2\sum_{k=1}^{(n-1)/2} k \, {n \choose k} \hspace{1cm} (n\textrm{ is odd}) $$
Anyone know how to do this?
I've figured out that since $n$ is odd,
$$ 2+2\sum_{k=1}^{(n-1)/2}{n \choose k} = 2^n $$
Thanks...
If you want a complete solution, using the equation in the above comments i.e. $k \binom{n}{k} = n \binom{n-1}{k-1}$, we get that if $n= 2m+1$, $$2\sum_{k=1}^{m} k \binom{2m+1}{k} = 2(2m+1) \sum_{k=0}^{m-1} \binom{2m}{k} = (2m+1) \left(\sum_{k=0}^{2m} \binom{2m}{k} - \binom{2m}{m} \right) = n \left(2^{n-1} - \binom{n-1}{(n-1)/2} \right)$$