Quote Originally Posted by ProgramThis
Basically you want to search for all Combinations versus Permutations right?

if you restrict all lower digits to the left side of the series making up a set then you cannot help but exclude duplicates. What I mean is keep the numbers in order, that way you will not get duplicate combinations.
i think it is time-consuming to do so, each sequece needs a sorting and then traverse the existed sequences