The base of the decimal number system is ten, meaning, for example, that . In the binary system, which has base two, the first five positive integers are . The numeral in the binary system would then be written in the decimal system as:
$ \textbf{(A)}\ 19 \qquad
\textbf{(B)}\ 40\qquad
\textbf{(C)}\ 10011\qquad
\textbf{(D)}\ 11\qquad
\textbf{(E)}\ 7$
Problem 1267
Official solution
To convert the binary number to its decimal equivalent, we need to express it as a sum of powers of 2. Each digit in the binary number represents a power of 2, starting from on the right.
1. Write down the binary number and its corresponding powers of 2:
2. Calculate each term:
3. Sum all the terms:
Therefore, the decimal equivalent of the binary number is .
The final answer is .