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 but fast, as it takes advantage of many patterns that occur in the triangle. The fourth program returns a list of Q partitions (A000009) which are the number of partitions into distinct parts, or odd parts. The last program returns rows 1 through n of A008289, the Q partition triangle. |
Filename: | partition.zip |
ID: | 8924 |
Author: | John Keith |
Downloaded file size: | 3,715 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: | 2023-07-20 07:02:30 |
Creation date: | 2023-07-20 |
Source code: | Included |
Download count: | 315 |
Version history: | 2023-09-24: Updated (no version number specified)
2019-08-29: Updated (no version number specified)
2018-09-25: Added to site
|
Archive contents: | Length Date Time Name
--------- ---------- ----- ----
1134 2023-07-20 07:02 PARTITION.DIR
11685 2023-07-20 07:02 partition.html
--------- -------
12819 2 files |
|
User comments: | No comments at this time. |
| You must be logged in to add your own comment. |