Let $n$ be a non-zero natural number and let $X_n$ be a random variable that follows a uniform distribution on $D_n$. Show that there exist random variables $V_1, \ldots, V_n$ mutually independent, each following a Bernoulli distribution with parameter $1/2$, and such that
$$X_n = \sum_{k=1}^{n} \frac{V_k}{2^k}.$$