I throw 5 dices and want Mathematica to list the outcomes with a 'three of a kind' structure.
This means: twice two equal numbers and a third different number. Something like 24142 or 66522 or 11226 etc.
I tried commands like select, permutations, list but whether I get all the 7776 5-tuples or only a few hundreds of the desired ones. I think (by calculation) there are 1800 solutions for my search.
Does anybody know if Mathematica can do the job?
Thanks for a reaction,