Icon

Binary representation

A binary representation is a number written using Base 2. Each digit may have only one of two possible values (0 or 1) hence the name, binary. Binary representations have many applications in computer science because they map well onto the “off” and “on” states of electronic transistors.

The first few positive integers written in binary form are:

All positive integers (and 0) may be written in binary representation.

Appending a zero to the right-hand side of a binary representation multiplies it by 2.

See also

bases