Let $n$ be an integer. Prove that there exist $k, m$ integers such that $n=2^km$.
I am stuck with this proof. I thought at first that I need to use contradiction but that did not work. What do you suggest? I know I have to break them into cases basically when $n=1$ then $1=2^0 \cdot 1$ but what about the other case?
Hint:
Consider the factorisation of $n$ as a product of primes: $$n=2^k\prod_{\substack{p_i\;\text{odd}\\\text{prime}}} p_i^{k_i}.$$