Bitstrings
A bitstring is a finite sequence of bits, where each bit is 0 or 1. Bitstrings are the basic unit of information in binary form and are widely used in computing and digital communications. A bitstring of length n is sometimes written as {0,1}^n and is also called a binary string of length n; the empty string has length 0.
Bitstrings can be finite (most common) or infinite, in which case they form a stream. The number
Operations on bitstrings include concatenation (joining two bitstrings end to end) and bitwise operations such as
Applications include data encoding and storage, network protocols, error detection and correction (parity bits, checksums), cryptography,
Bitstrings also figure in theoretical contexts, such as the study of formal languages and automata, where they