integer partition Algorithm

In number theory and combinatorics, a partition of a positive integer N, also named an integer partition, is a manner of write N as a sum of positive integers. They happen in a number of branches of mathematics and physics, including the survey of symmetric polynomials and of the symmetric group and in group representation theory in general.

integer partition source code, pseudocode and analysis