Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 224 4 b Solution Created 2026-09-24 Updated 2026-09-24
Order the symbols so that . For each , there are exactly binary strings of length , while precisely the indicessatisfy . Assign those symbols bijectively to the strings of length . The resulting map is an injective function and hence a one-to-one source code, with . Assigning shorter available words to more probable symbols also shows that this is an optimal one-to-one binary code.