Thanks :) I had a similar idea considering 10 elements {2,2,2,3,3,...,7} and then choosing from there but I couldn't figure out how (tried to do like 10C0 + 10C1 + ... + 10C10 but then didn't know how to remove duplicates)
Anyone know how to do the the one in the opening post?