TOPICS
Search

Code


A code is a set of n-tuples of elements ("words") taken from an alphabet.

In combinatorics on words, a variable-length code is a set of words whose concatenations have unique decompositions into members of the set. A complete bayonet code is defined by such a condition on an augmented set.

The designation "code n" is also given to the nth totalistic cellular automaton in Wolfram's enumeration (2002, pp. 60-70).

A variable-length code is complete if every word over the alphabet occurs as a contiguous factor of a concatenation of codewords. An uncompletable word witnesses failure of completeness. For a sofic shift, unique decipherability and completeness can be defined relative to the blocks of the shift.


See also

Alphabet, Code 177, Code 912, Code 2040, Code Factorization, Coding Theory, Complete Bayonet Code, Encoding, Error-Correcting Code, Gray Code, Gray Map, Huffman Coding, ISBN, Linear Code, Maximum Distance Separable Code, Singleton Bound, Totalistic Cellular Automaton, UPC, Word

Explore with Wolfram|Alpha

References

Wolfram, S. A New Kind of Science. Champaign, IL: Wolfram Media, pp. 60, 2002.

Referenced on Wolfram|Alpha

Code

Cite this as:

Weisstein, Eric W. "Code." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Code.html

Subject classifications