I want to show that for each natural number $k$ there is a $k$-digit number divisible by $2^k$ consisting only of the digits $1$ or $2$.
I tried to solve it using induction as follows. For $k=1$, $2^1|a_0=2$. Now suppose for the natural $k$ we have $2^k| a_{k-1}…a_0$ where each $a_i$ is either $1$ or $2$. I don’t know how to insert an appropriate digit to $a_{k-1}…a_0$ so that it will be divisible by $2^{k+1}$, because the new digit as a function of $k$ seems not to obey any obvious pattern. How would we proceed?