I'm having some trouble in trying to crack the logic behind this pattern. Up to binary 7 (111) I can see that the '1' holds the positions that can be occupied by moving from right to left. However, it becomes increasingly complex and can't see the pattern, specially from 10000 onwards. I've 'cheated' and used a decimal>binary conversion chart, however, I still don't see a clear pattern in the movements of the 1s. Exercise as appears in the book
Thanks in advance.
PS. The source is Geldand's Algebra.
Each position from right to left is a power of $2$ using conventions $m_j$ meaning $m$(base)j and $n^k$ meaning $n$(to the power of)$k$.
So $1_2=2^0=1_{10}\quad 10_2=2^1=2_{10}\quad 100_2=2^2=4_{10}$ and so on. Using this pattern we can see that $11_2=2_{10}+1_{10}=3_{10}\qquad 110_2=4_{10}+2_{10}=6_{10}\qquad 111_2=4_{10}+2_{10}=1_{10}=7_{10}.$
In the example $10000$, the $1$ is in position $5$ so, letting $p=$position, we have $10000_2=2^{p-1}=2^{5-1}=2^4=16_{10}$
Now, let's take the sequence you showed from the last number $1100=2^3+2^2=8_{10}+4_{10}=12_{10}$
The next number is simply $1100_2+1_2=1101_2=13_{10}$
The number after that has to move the rightmost $1$ to the left and leave $0$ in the last position because of a binary carry. (Think how, in base $10,\quad 9+1=10$). So we have $1101_2+1_2=1110_2=14_{10}.$ Likewise, $1110_2+1_2=1111_2=15_{10}.$
Now pay attention:$\quad 1111_2+1_2=10000_2=16_{10}\quad $ because all of the digits had to carry.
You can figure this stuff out by hand, in most cases because the numbers are small.
Example: $10101=2^4+2^2+2^0=16_{10}+4_{10}+1_{10}=21_{10}$