Past exam of the mathematics course of the University of Cambridge 2021 iii Paper 224 4 b Solution 2026-09-28
The Shannon lengths are . Their Competitive optimality of the Shannon code says that for every binary uniquely decodable code of lengths and every positive integer ,On this event, . Summing and applying the Kraft inequality proves