**Binary numbers are the integral part of digital logic.**

The rules of binary numbers translation to decimal numbers, that we used to operate with, are very similar to the decimal rules.

Binary logic represent two digits, called bits, and the values are 1 and 0. Binary numbers with the structure like ${a}_{n}{a}_{(n\u20131)}\dots {a}_{1}{a}_{0}$ are contracted by bonding the bit values with the following expression: $(\u20131{)}^{\left({a}_{n}\right)}{{\sum}_{(i=0)}}^{(n\u20131)}{a}_{i}{2}^{i}.$ Here ${a}_{n}$ can be 1 or 0.

Example: 11001. Here ${a}_{0}=1,{a}_{1}=0,{a}_{2}=0,{a}_{3}=1,{a}_{4}=1$.

Using formula above $11001=(\u20131{)}^{1}({2}^{0}*1+{2}^{1}*0+{2}^{2}*0+{2}^{3}*1)=\u20139$