English

Gopala-Hemachandra codes revisited

Information Theory 2020-04-03 v1 Combinatorics math.IT Number Theory

Abstract

Gopala-Hemachandra codes are a variation of the Fibonacci universal code and have applications in cryptography and data compression. We show that GHa(n)GH_{a}(n) codes always exist for a=2,3a=-2,-3 and 4-4 for any integer n1n \geq 1 and hence are universal codes. We develop two new algorithms to determine whether a GH code exists for a given set of parameters aa and nn. In 2010, Basu and Prasad showed experimentally that in the range 1n1001 \leq n \leq 100 and 1k161 \leq k \leq 16, there are at most kk consecutive integers for which GH(4+k)(n)GH_{-(4+k)}(n) does not exist. We turn their numerical result into a mathematical theorem and show that it is valid well beyond the limited range considered by them.

Cite

@article{arxiv.2004.00821,
  title  = {Gopala-Hemachandra codes revisited},
  author = {L. Childers and K. Gopalakrishnan},
  journal= {arXiv preprint arXiv:2004.00821},
  year   = {2020}
}
R2 v1 2026-06-23T14:36:18.848Z