Essentially the title: a friend stumbled upon this the other day, and we can't find anything on the internet about it. The $n_k$s are all distinct positive integers.
As an example:
$$45 = 2^6-2^5+2^4-2^2+2^0$$
A definition of this as a series, proof of it, or any relevant literature/wiki articles would be appreciated.
This is just reading off the strings of 1s in the binary representation of your integer.
In your example, $$ 45_{10}=101101_{2}=\underbrace{2^5}_{=2^6-2^5}+\underbrace{2^3+2^2}_{=2^4-2^2}+2^0. $$