Partition Numbers |
Description: | Given an integer n on the stack, these two programs return a list of the partition numbers (A000041) from 0 through n. The first program is small, and the second one is fast. Also has a third program that returns the partition number triangle (A008284) as a list of lists. It is large (214 bytes) but fast, as it takes advantage of many patterns that occur in the triangle. |
Filename: | partition.zip |
ID: | 8924 |
Author: | John Keith |
Downloaded file size: | 3,009 bytes |
Size on calculator: | 1 KB |
Platforms: | 49/50 |
User rating: | 10/10 with 1 vote (you must be logged in to vote) |
Primary category: | Math/Numeric |
Languages: | ENG |
File date: | 2019/08/27 21:43:00 |
Creation date: | 2019/08/27 |
Source code: | Included |
Download count: | 252 |
Version history: | 2019/08/29: Updated (no version number specified)
2018/09/25: Added to site
|
Archive contents: | Length Date Time Name
--------- ---------- ----- ----
315 2018-09-25 18:52 eulers.hp
6518 2019-08-27 21:42 partition.html
222 2019-08-27 21:14 partnumtri.hp
110 2018-09-25 18:50 summation.hp
--------- -------
7165 4 files |
|
User comments: | No comments at this time. |
| You must be logged in to add your own comment. |