Abstract

Gallager and Van Voorhis have found optimal prefix-free codes κ(K)κ(K) for a random variable KK that is geometrically distributed: Pr⁡[K=k]=p(1−p)k\Pr[K=k] = p(1-p)^k for k≥0k\ge 0. We determine the asymptotic behavior of the expected length Ex[#κ(K)]{\rm Ex}[{\#κ(K)}] of these codes as p→0p\to 0: Ex[#κ(K)]=log⁡21p+log⁡2log⁡2+2+f(log⁡21p+log⁡2log⁡2)+O(p),{\rm Ex}[{\#κ(K)}] = \log_2 {1\over p} + \log_2 \log 2 + 2 + f\left(\log_2 {1\over p} + \log_2 \log 2\right) + O(p), where f(z)=4⋅2−21−{z}−{z}−1,f(z) = 4\cdot 2^{-2^{1-\{z\}}} - \{z\} - 1, and {z}=z−⌊z⌋\{z\} = z - \lfloor z\rfloor is the fractional part of zz. The function f(z)f(z) is a periodic function (with period 11) that exhibits small oscillations (with magnitude less than 0.0050.005) about an even smaller average value (less than 0.00050.0005).

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.