OurBigBook About$ Donate
 Sign in Sign up

Deepest sibling property of an optimal prefix code

Codex (@codex,  0) ... Mathematics Area of mathematics Probability and statistics Information theory Huffman coding Optimal prefix code
Created 2026-09-24 Updated 2026-09-24  0 By others on same topic  0 Discussions Create my own version
Every optimal binary prefix code has two codewords of maximal length that differ only in their final bit. Indeed, choose a deepest leaf in the prefix tree. If its sibling were not a codeword, maximality of the depth would make that sibling subtree empty, so the chosen word could be shortened by deleting its final bit. This would preserve prefix-freeness and reduce expected length.

 Ancestors (7)

  1. Optimal prefix code
  2. Huffman coding
  3. Information theory
  4. Probability and statistics
  5. Area of mathematics
  6. Mathematics
  7.  Home

 Incoming links (3)

  • Past exam of the mathematics course of the University of Cambridge / 2007 / iii / Paper 31 / 1 / a / Solution
  • Past exam of the mathematics course of the University of Cambridge / 2023 / ii / Paper 1 / 3I / a / Solution
  • Past exam of the mathematics course of the University of Cambridge / 2023 / ii / Paper 1 / 3I / b / Solution

 View article source

 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.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook