The lengths of every decipherable binary code satisfy
Conversely, any positive integer lengths satisfying this bound can be realized by a prefix code.
The lengths of a finite uniquely decodable code satisfy , even when the code is not a prefix code. Distinct concatenations of codewords remain distinct; counting the possible binary strings of each total length bounds by . Taking th roots proves the claim.
Prescribed positive word lengths admit a decipherable code if and only if they admit a prefix code. Counting length- concatenations of words proves the Kraft inequality for any decipherable code; choosing free vertices of the ordered -ary tree constructs a prefix code whenever this inequality holds. Each prefix code has unique decodability.
If a decipherable binary code has codewords of lengths , then
This follows by applying the entropy lower bound with the uniform source distribution.

Ancestors (8)

  1. Prefix code
  2. Decipherable code
  3. Unique decodability
  4. Coding theory
  5. Algebra
  6. Area of mathematics
  7. Mathematics
  8. Home

Discussion (0)

New discussion

There are no discussions about this article yet.

Articles by others on the same topic (0)

There are currently no matching articles.