(35S) Partitions - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (35S) Partitions (/thread-1351.html) |
(35S) Partitions - Gerald H - 05-19-2014 05:48 AM 2020-05-16: Edit: Decided to follow Jeff_Kearns 'scroll-box' suggestion. Returns number of integer partitions for input integer: input integer, 0 for all partitions; input integer, 1 for distinct partitions. Code: 1 LBL X Any improvements or error reports welcome. RE: HP 35S Partitions - Jeff_Kearns - 05-25-2014 03:21 PM (05-19-2014 05:48 AM)Gerald H Wrote: Returns number of integer partitions for input integer: I, for one, would appreciate more explanation and an example. What is the purpose of the program? What is the definition (via a link) of an integer partition? For instance, something like: "A partition of an integer, n, is one way of writing n as the sum of positive integers where the order of the addends (terms being added) does not matter....". That was taken from this link, which seems to provide a good introduction to Partitions of Integers. What is the practical application of this program? Also, there is a way to enter the program in a 'scroll-box' so it is not so long on the screen. Jeff K RE: HP 35S Partitions - Gerald H - 05-26-2014 10:01 AM To post #2: Purpose: to calculate the number of 2 different types of integer partitions. Example: one integer partition of "5" is "4+1" Definition: adequately supplied by the sentence in quotes & the suggested link Utility: I am not principally interested in usefulness but much rather in improving the programme. Should anyone become rich through using the programme I would ask them not to inform me. Scroll box: I find the full screen depiction of the programme gives a better overview. Should the article promote some research, interest, discussion....& improvements to the programme it will have fulfilled my needs. Thank you for your comments. RE: (35S) Partitions - Nihotte(lma) - 05-16-2020 09:54 AM (05-19-2014 05:48 AM)Gerald H Wrote: Returns number of integer partitions for input integer: Hi, Gerald H ! Your 2014 proposal seems to me to be a more general version than mine devoted to what I called «Some digits for a sum» or dedicated «April 1 recursive program» ? The term Integer Partitions was unknown to me. Your initial development seems to me less restrictive than that which I recently published in the sense that I only use figures which must, moreover, all be different! In any case, your publication appeals to me: I will be interested in it! So i will examine your program on my 35s! See you later on this! |