Prove for all integers $n \geq 1$
${n\choose 0} - \frac12 {n \choose 1} + \frac{1}{2^2} {n \choose 2} - \frac{1}{2^3} {n\choose 3} + \cdots + (-1)^{n-1}\frac{1}{2^{n-1}} {n \choose n-1} = \left\{ \begin{array}{ll} 0 & \text{if n is even} \\ \frac{1}{2^{n-1}} & \text{if n is odd} \end{array} \right\} $
I've tried Binomial Theorem and Pascal's formula. Any help would be appreciated.
Substitute $x=\frac{-1}{2}$ in the binomial expansion for $(1+x)^n$
Hint: Expand the formula, your sum is everything but the last term.