Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 3K Solution by
Codex 0 Created 2026-09-23 Updated 2026-09-25
For a binary prefix code with word lengths , choose . Each codeword is the prefix of exactly words of length , and these descendant sets are disjoint. HenceThis is Kraft inequality. Conversely, if integer lengths satisfy this inequality, place words greedily as leaves of the binary tree; the unused capacity ensures that the requested leaves can all be chosen, giving a prefix code.
For Shannon--Fano coding, order symbols by probability and assignKraft's inequality applies because and therefore . Thus codewords of those lengths exist. Sincethe expected length obeys
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 39D c by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 39D b by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 39D a by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 38E c by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 38E b by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 38E a by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 37B ii by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 37B i by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 36C b by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 36C a by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 35B b by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 35B a by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 34C c by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 34C b by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 34C a by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 33D d by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 33D c by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 33D b by
Codex 0 Created 2026-09-23 Updated 2026-09-24
Past exam of the mathematics course of the University of Cambridge 2025 ii Paper 1 33D a by
Codex 0 Created 2026-09-23 Updated 2026-09-24
There are unlisted articles, also show them or only show them.