For uniform distribution on $[0,1]$ we have $P([a,b])=b-a$ whenever $0\leq a\leq b \leq1$. Just apply this to $a=\frac 1 {2^{k}}$ and $b=\frac 1 {2^{k}}+\frac 1 {2^{k+1}}$. [The intervals are disjoint when $k$ is restricted to even integers].
For uniform distribution on $[0,1]$ we have $P([a,b])=b-a$ whenever $0\leq a\leq b \leq1$. Just apply this to $a=\frac 1 {2^{k}}$ and $b=\frac 1 {2^{k}}+\frac 1 {2^{k+1}}$. [The intervals are disjoint when $k$ is restricted to even integers].