I am looking for a closed-form for this summation:
$\sum_{b=1}^q\frac{b}{{q\choose b}}$
I looked at tables (Prudnikov-Brychkov book) of binomial sums but I couldn't find the result. WolpramAlpha answers:
$\sum_{b=1}^q\frac{b}{{q\choose b}}= -\frac{n _2F_1(1, n + 2; -q + n + 1, -1)}{q \choose n + 1} - \frac{_2F_1(1, n + 2; -q + n + 1, -1)}{q \choose n + 1} - \frac{_2F_1(2, n + 3; -q + n + 2, -1)}{q \choose n + 2} + \frac{_2F_1(2, 2; 1-q, -1)}{q}$
But when I was trying to calculate this expression (for example q=5) in MATLAB, last member of sum gives an error of invalid arguments, but direct computation is relatively easy returns 6.5.
Can anyone help me with simplifying this sum? Thanks.