paper

Asymptotic Analysis of Run-Length Encoding

arXiv:1504.04070

Abstract

Gallager and Van Voorhis have found optimal prefix-free codes for a random variable that is geometrically distributed: for . We determine the asymptotic behavior of the expected length of these codes as : where and is the fractional part of . The function is a periodic function (with period ) that exhibits small oscillations (with magnitude less than ) about an even smaller average value (less than ).

i+5 pp