partitiontable.m
by David Terr
07 Jun 2004
(Updated 09 Jun 2004)
Given a nonnegative integer n, compute a table of the unrestricted partition function p(m) for m<=n.
|
Watch this File
|
| File Information |
| Description |
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. |
| Acknowledgements |
This submission has inspired the following:
Partitions of an integer
|
| MATLAB release |
MATLAB 6.0 (R12)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (2) |
| 02 Dec 2005 |
Maxine Marchie
|
|
|
| 23 Oct 2007 |
ahmed nagib
|
|
|
|
Contact us at files@mathworks.com