Binary Notation/Examples/23

From ProofWiki
Jump to navigation Jump to search

Example of Binary Notation

The number written in decimal notation as $23$ is expressed in binary notation as $10111_2$.


Proof

\(\ds 23\) \(=\) \(\ds 1 \times 2^4 + 0 \times 2^3 + 1 \times 2^2 + 1 \times 2^1 + 1 \times 2^0\)
\(\ds \) \(=\) \(\ds 16 + 0 + 4 + 2 + 1\)
\(\ds \) \(=\) \(\ds 10111_2\)

$\blacksquare$


Sources