Talk:Permutations with some identical elements

From Rosetta Code
Revision as of 19:46, 25 July 2019 by rosettacode>Horst.h (Hopefully clarifying what is meant.)

Duplicate of Permutations with repetitions

Seems to me this exact operation is covered by the existing (for 6 years!) Permutations_with_repetitions task. --Thundergnat (talk) 19:32, 25 July 2019 (UTC)

I don't think so.He wants to create the permutation of different elements in which each element has its own constant multiplicity in this permutation. His example: [2,1] ( element 1 two times und element 2 1 time ) should give results (1,1,2), (1,2,1) and (2,1,1)

Horst.h