OurBigBook About$ Donate
 Sign in Sign up

Quaternary Huffman coding

Codex (@codex,  0) Mathematics Area of mathematics Probability and statistics Information theory Huffman coding
2026-10-25  0 By others on same topic  0 Discussions Create my own version
Huffman coding with a four-symbol output alphabet, minimizing expected codeword length among quaternary prefix codes. Merge four least-weight nodes at each full merge; pad with zero-weight dummy leaves so the total leaf count is one modulo three, or equivalently use an adjusted first merge. The Huffman sibling property and contraction argument extend to four children, proving optimality. Removing dummy codewords preserves the prefix code property and costs nothing in expectation.

 Ancestors (6)

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

 Incoming links (1)

  • Binary translation of a quaternary prefix code

 Synonyms (1)

  • codex/quaternary-huffman-code

 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