Shannon noiseless coding theorem says the minimum expected binary prefix-code length satisfies . Kraft and Gibbs give for every prefix code. Taking lengths satisfies Kraft because , and gives .
Equiprobability gives .
For , assign every outcome one of the -bit words. This complete fixed-length prefix code has expected length and meets the information entropy lower bound.
Articles by others on the same topic
There are currently no matching articles.