I have to prove that
$$2^{n-1}={n\choose 0}+ {n\choose 2}+ {n\choose 4}+ \dots $$
I checked the case where $n-1$ is even but I am a little confused when $n-1$ is odd:
$$2^{n-1}={n-1\choose 0}+{n-1\choose 1}+{n-1\choose 2}+\dots +{n-1 \choose n-1}$$
I know we can group the terms pairwise with the identity ${n\choose k}+{n\choose k+1}={n+1 \choose k}$ and obtain:
$$2^{n-1}={n\choose 0}+{n\choose 2}+{n\choose 4}+\dots +{n-1 \choose n-2 } +{n-1 \choose n-1}$$
But when I do the last pair I would obtain:
$${n-1 \choose n-2 } +{n-1 \choose n-1}={n \choose n-2}$$
And the exercise says the last term should be $\displaystyle {n \choose n-1}$ or $\displaystyle {n\choose n}$. I might be missing something truly silly, but I'm not seeing at the moment.