Show that $\frac{(2n-1)!}{(n)!(n-1)!}$ is odd or even according as $n$ is or is not a power of $2$.
I know that the index of the highest power of $2$ contained in $n!$ is $n-1$ when $n$ is a power of $2$ and $n-r$ when $n$ is equal to $2^r-1$.
I've expanded the above to the result that the index of the highest power of $2$ contained in $n!$ is $2^r-1$ when $n$ is equal to $2^r+1$. (If you're wondering how I derived it, refer to the formula given in this question and correct me if I'm wrong). Using that, I've got that the highest power of $2$ in the term when $n$ is a power of $2$ is $\frac{2^{r+1}-(r+2)}{(2^r-1)(2^r-(r+1))}$.
Now here, if $r$ is odd, then the numerator is odd, so the whole term is odd and everything is fine. But if $r$ is odd, then the numerator is even and the denominator is odd, so the term is even which contradicts the above statement.
Putting $n=2^r+1$ the term equals $\frac{(2^{r+1}+1)}{(2^r+1)(2^r)}$. Finding the highest powers of $2$ I've got $\frac{(2^{r+1}-1)}{(2^r-1)(2^r-1)}$ which is odd.
I'm getting nearly opposite results.
Am I doing something very wrong?
Any help would be highly appreciated.