Number of unique partitions of an integer

Given a positive integer, the problem is to find all the Unique Partitions of the number. We can understand the above problem using some basic examples. Note: By Unique it is meant that no other composition can be expressed as a permutation of the generated composition.


This is a companion discussion topic for the original entry at http://iq.opengenus.org/number-of-unique-partitions-of-an-integer/