On the ratio of prefix codes to all uniquely decodable codes with a given length distribution
Abstract
We investigate the ratio $\rho_{n,L}$ of prefix codes to all uniquely decodable codes over an $n$-letter alphabet and with length distribution $L$. For any integers $n\geq 2$ and $m\geq 1$, we construct a lower bound and an upper bound for $\inf_L\rho_{n,L}$, the infimum taken over all sequences $L$ of length $m$ for which the set of uniquely decodable codes with length distribution $L$ is non-empty. As a result, we obtain that this infimum is always greater than zero. Moreover, for every $m\geq 1$ it tends to 1 when $n\to\infty$, and for every $n\geq 2$ it tends to 0 when $m\to\infty$. In the case $m=2$, we also obtain the exact value for this infimum.
- Publication:
-
arXiv e-prints
- Pub Date:
- April 2018
- DOI:
- 10.48550/arXiv.1804.02531
- arXiv:
- arXiv:1804.02531
- Bibcode:
- 2018arXiv180402531W
- Keywords:
-
- Mathematics - Combinatorics;
- Computer Science - Information Theory;
- 94A45 94A55 68R15 68W32
- E-Print:
- doi:10.1016/j.dam.2018.02.026