Prove, that
$$\sum_{n=1}^{N} \left \lfloor{\frac{x}{2^{n}}+\frac{1}{2}}\right \rfloor =\left \lfloor{x}\right \rfloor $$ for large enough N.
It's easy to see that addents start to vanish at some point (it's possible to calculate for which n it takes place). But I can't say much more about this proof so any help would be nice.
A quick check you can do is when some term $\left\lfloor\frac{x}{2^n}+\frac{1}{2}\right\rfloor$ in the left side increases. You should find that it increases exactly when $x$ becomes $2^{n-1}$ times an odd number. So when $x$ increases between integers, the left side doesn't increase at all and obviously neither does the right.
But when $x$ becomes an integer, there is a unique maximal power of $2$ that it is divisible by, and this term and this term alone increases. For example, if $x$ goes from $2.9$ to $3$, the term $\left\lfloor\frac{x}{2}+\frac{1}{2}\right\rfloor$ increases from $1$ to $2$, and none of the other terms increase. And if $x$ goes from $7.9$ to $8$, the term $\left\lfloor\frac{x}{16}+\frac{1}{2}\right\rfloor$ increases from $0$ to $1$ and no other term on the left increases at all.
So if at integers the left increases by 1 and nowhere else, this is exactly what the right is, since both are $0$ at $x=0$. So the left and right sides must be equal.