Where does the following equation come from? I am trying to understand it.
$2^4 + 2^2 + 2^0=1 + 2*(2*(1+2*2))$
Or the "extended" version
$2^4 + 2^2 + 2^0=1 + 2 * (0 + 2 * (1 + 2 * (0 + 2)))$
but of course zero can be omitted.
@edit
I have second questio, how can I write any number using this method?
I mean for example 10 or 6
$$2^4 + 2^2 + 2^0 =\\ 2\cdot2\cdot2\cdot2 + 2\cdot2 + 1 =\\ 2 (2\cdot2\cdot2 + 2) + 1 =\\ 2 (2 (2\cdot2 + 1)) + 1$$