Summation involving floor function with powers

147 Views Asked by At

I want to perform $\sum\limits_{i=1}^k \lfloor\frac{N}{2^i}\rfloor7^{i-1} $ where $N$ is an even integer.

Is there any technique which performs it?

THanks.