Algorithmic counting of nonequivalent compact Huffman codes

0Citations
Citations of this article
1Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

It is known that the following five counting problems lead to the same integer sequence ft(n) : (1)the number of nonequivalent compact Huffman codes of length n over an alphabet of t letters,(2)the number of “nonequivalent” complete rooted t-ary trees (level-greedy trees) with n leaves,(3)the number of “proper” words (in the sense of Even and Lempel),(4)the number of bounded degree sequences (in the sense of Komlós, Moser, and Nemetz), and(5)the number of ways of writing (Formula presented.) with integers 0 ≤ x1≤ x2≤ ⋯ ≤ xn.In this work, we show that one can compute this sequence for alln< N with essentially one power series division. In total we need at most N1+ε additions and multiplications of integers of cN bits (for a positive constant c< 1 depending on t only) or N2+ε bit operations, respectively, for any ε> 0. This improves an earlier bound by Even and Lempel who needed O(N3) operations in the integer ring or O(N4) bit operations, respectively.

Cite

CITATION STYLE

APA

Elsholtz, C., Heuberger, C., & Krenn, D. (2023). Algorithmic counting of nonequivalent compact Huffman codes. Applicable Algebra in Engineering, Communications and Computing. https://doi.org/10.1007/s00200-022-00593-0

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free