partitiontable.m
Version 1.0.0.0 (517 Bytes) by
David Terr
Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n.
3.5K Downloads
Updated
9 Jun 2004
No License
Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n. This program uses a recurrence involving pentagonal numbers, which makes it necessary to compute p(m) for all m<=n in order to compute p(n). Thus, we get the table for free with this computation.
Cite As
David Terr (2024). partitiontable.m (https://www.mathworks.com/matlabcentral/fileexchange/5154-partitiontable-m), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R12
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math > Polynomials >
Find more on Polynomials in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Partitions of an integer
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |