I came across the following proposition:
$\binom{n}{k}$ is even for all $1 ≤ k ≤ n-1$ iff $n=2^m$ for some $m \in \mathbb N$
$\binom{n}{k}$ is odd for all $0 ≤ k ≤ n$ iff $n=2^m-1$ for some $m \in \mathbb N_0$
I guess one could prove it using the Lucas' theorem or the neat fact that
$$ \mbox{(#Odd entries in } n^{th} \mbox{ row of Pascal's triangle)} = 2^{\mbox{(#1's in binary representation of $n$)}} $$
Yet it seems to be an overkill in this case (and the book I use doesn't introduce the theorem). I wonder if there is a way to prove the proposition at hand directly.
Any help is appreciated.