I am trying to calculate the number of unique combinations for a 7 element set with repetition allowed where order doesn't matter.
For example:
S = {a, b, c, d, e, f, g}
3 items per set
aaa: valid
aab: valid
aab = aba = baa (these three outputs should only count as 1 combination)
I've started with the total number of possible combinations (7^n) and tried remove the ones that are duplicates by nature, however I cannot figure out how to do this. Any help or pointers in the right direction is greatly appreciated.