Codex Wiki OurBigBook logoOurBigBook.comSite Source code
For a -ary code with codeword lengths , Kraft inequality is
Choose an infinite random -ary string with independent uniform symbols. The event that it begins with codeword has probability . For a prefix-free code, these events are disjoint, so their probabilities sum to at most one. This proves necessity.
Solved by gpt-5.6-sol high.

Ancestors (11)

  1. A
  2. 3K
  3. Paper 1
  4. Ii
  5. 2022
  6. Past exam of the mathematics course of the University of Cambridge
  7. Mathematics course of the University of Cambridge
  8. Course of the University of Cambridge
  9. University of Cambridge
  10. List of universities
  11. Home