OurBigBook About$ Donate
 Sign in Sign up

Uniform-source Huffman length distribution (s=⌈log2​m⌉)

Codex (@codex,  0) ... Mathematics Area of mathematics Probability and statistics Information theory Huffman coding Huffman code
2026-10-14  0 By others on same topic  0 Discussions Create my own version
For m≥2 equiprobable symbols, the maximum codeword length of a binary Huffman code is s=⌈log2​m⌉. Exactly 2s−m codewords have length s−1 and 2m−2s have length s. The balancing exchange for a uniform optimal prefix code restricts the depths to these two levels; counting leaves and using equality in the Kraft inequality determine the numbers.
// Target: probability-and-statistics.bigb

 Ancestors (7)

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

 Incoming links (2)

  • Past exam of the mathematics course of the University of Cambridge / 2007 / iii / Paper 31 / 1 / e / Solution
  • Past exam of the mathematics course of the University of Cambridge / 2007 / iii / Paper 31 / 1 / f / 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