Computation of $P(n,m)$, the Number of Integer Partitions of $n$ into Exactly $m$ Parts
M.J. Kronenburg

TL;DR
This paper introduces efficient algorithms for computing the number of integer partitions of n into m parts and into distinct parts, achieving a time complexity of O(n^{3/2}) and providing practical implementation details.
Contribution
The paper presents two novel algorithms for calculating partition counts with improved efficiency and combines them to compute related partition functions in optimal time.
Findings
Algorithms run in O(n^{3/2}) time for partition counts.
A combined algorithm computes all P(n,m) efficiently.
Practical implementation and timing results are provided.
Abstract
Two algorithms for computing , the number of integer partitions of into exactly parts, are described, and using a combination of these two algorithms, the resulting algorithm is . The second algorithm uses a list of , the number of integer partitions of , which is cached and therefore needs to be computed only once. Computing this list is also . With these algorithms also , the number of integer partitions of into exactly distinct parts, and a list of , the number of integer partitions of into distinct parts, can be computed in . A list of and can be computed in . A computer algebra program is listed implementing these algorithms, and some timings of this program are provided.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicsgraph theory and CDMA systems · Coding theory and cryptography · Analytic Number Theory Research
