Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > math > arXiv:1901.11343

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Mathematics > Combinatorics

arXiv:1901.11343 (math)
[Submitted on 31 Jan 2019 (v1), last revised 9 Jan 2023 (this version, v4)]

Title:Algorithmic counting of nonequivalent compact Huffman codes

Authors:Christian Elsholtz, Clemens Heuberger, Daniel Krenn
View a PDF of the paper titled Algorithmic counting of nonequivalent compact Huffman codes, by Christian Elsholtz and 2 other authors
View PDF
Abstract:It is known that the following five counting problems lead to the same integer sequence~$f_t(n)$: the number of nonequivalent compact Huffman codes of length~$n$ over an alphabet of $t$ letters, the number of `nonequivalent' canonical rooted $t$-ary trees (level-greedy trees) with $n$~leaves, the number of `proper' words, the number of bounded degree sequences, and the number of ways of writing $1= \frac{1}{t^{x_1}}+ \dots + \frac{1}{t^{x_n}}$ with integers $0 \leq x_1 \leq x_2 \leq \dots \leq x_n$. In this work, we show that one can compute this sequence for \textbf{all} $n<N$ with essentially one power series division. In total we need at most $N^{1+\varepsilon}$ additions and multiplications of integers of $cN$ bits, $c<1$, or $N^{2+\varepsilon}$ bit operations, respectively. This improves an earlier bound by Even and Lempel who needed $O(N^3)$ operations in the integer ring or $O(N^4)$ bit operations, respectively.
Subjects: Combinatorics (math.CO); Computational Complexity (cs.CC); Discrete Mathematics (cs.DM); Symbolic Computation (cs.SC)
MSC classes: 05A15, 05C05, 05C30, 11D68, 68P30
Cite as: arXiv:1901.11343 [math.CO]
  (or arXiv:1901.11343v4 [math.CO] for this version)
  https://doi.org/10.48550/arXiv.1901.11343
arXiv-issued DOI via DataCite
Journal reference: Appl. Algebra Engrg. Comm. Comput. (2024) 35:887--903
Related DOI: https://doi.org/10.1007/s00200-022-00593-0
DOI(s) linking to related resources

Submission history

From: Daniel Krenn [view email]
[v1] Thu, 31 Jan 2019 13:11:24 UTC (16 KB)
[v2] Fri, 2 Aug 2019 12:53:10 UTC (17 KB)
[v3] Wed, 14 Jul 2021 08:20:36 UTC (18 KB)
[v4] Mon, 9 Jan 2023 15:46:21 UTC (18 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Algorithmic counting of nonequivalent compact Huffman codes, by Christian Elsholtz and 2 other authors
  • View PDF
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
math.CO
< prev   |   next >
new | recent | 2019-01
Change to browse by:
cs
cs.CC
cs.DM
cs.SC
math

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack