I am trying to find all the natural numbers satisfying $2^(n-1)\mid n!$. I managed to prove that all naturals of the form $2^m$ satisfy this property:
$$ \nu_2((2^m)!) = \sum\limits_{k=1}^{m}\left\lfloor\frac{2^m}{2^k}\right\rfloor = \sum\limits_{k=1}^m 2^{m-k} = 2^m\left(\frac{1-\left(\frac{1}{2}\right)^{m+1}}{1-\frac{1}{2}}-1\right) = 2^m\left(1-\frac{1}{2^m}\right) = 2^m-1 $$ and therefore $2^{2^m-1}$ divides $\left(2^m\right)!$
My goal is to prove that this is the only case. I have managed to bound $\nu_2(n!)$ by $n$, but I want to prove that if $n\neq 2^m$, then $\nu_2(n!)$ is strictly bounded by $n-1$.