Question: Show all multipermutations.

Is there a command that can show me all multipermutations?

If I have a set (1,2,3) I want an output of all the multipermutations of length n.

For example for n=2:

I suspect I have to use the Iteration command MultiPartition, but I don't understand the examples given on maplesoft:

Please Wait...