GammaKodierung
GammaKodierung, often referred to as Elias-Gamma-Kodierung, is a universal code for positive integers used in information theory and data compression. It encodes numbers into a self-delimiting, variable-length bitstream, favoring smaller numbers when their frequencies are nonuniform.
Encoding and decoding: For a positive integer n, let k be the number of bits in the
Properties and variants: GammaKodierung is a prefix code, meaning no codeword is a prefix of another, which
Applications: Used in early data compression schemes, succinct data structures, and representations of integer sequences where