MathGloss/B/Base 2 Numeral System

Examples
To convert any number "$$n$$" (decimal system) to binary system we write $$n$$ as sum of powers of $$2$$ as


 * $$n=d\cdot2^0+d\cdot2^1+d\cdot2^2+d\cdot2^3+\ldots\;\!$$


 * where $$d\,\,$$ can take values $$0\,\,$$ or $$1\,\,$$.

Start writing the coefficients of powers of 2 from left to right in ascending order.

$$\begin{align} 7_{10} & = 1+2+4 \\       & = 2^0+2^{1}+2^{2} \\        & = 1\cdot2^0+1\cdot2^{1}+1\cdot2^{2} \\ & = 111_{2} \end{align}$$

$$\begin{align} 26_{10} & = 0+2+0+8+16 \\        & = 0+2^1+0+2^{3}+2^{4} \\         & = 0\cdot2^0+1\cdot2^{1}+0\cdot2^{2}+1\cdot2^{3}+1\cdot2^{4} \\ & = 11010_{2} \end{align}$$