I have a list {{1,2,7},{3,4,6},{5,6,2}}
. Then, I want to combinate it with itself so:
{{1,2,7},{3,4,6},{5,6,2}} X {{1,2,7},{3,4,6},{5,6,2}} = newlist=
{{{1,2,7},{1,2,7}},{{1,2,7},{3,4,6}},{{1,2,7},{5,6,2}},{{3,4,6},
{1,2,7}},{{3,4,6},{3,4,6}}......}
Then I want to apply the next function: (i am gonna make the example with the second element of the newlist)
(N!/1!2!7!)*(3/3+4+6)^1*(4/3+4+6)^2*(6/3+4+6)^7
Tuples[{{1, 2, 7}, {3, 4, 6}, {5, 6, 2}}, {2}]
, and look upMultinomial[]
. $\endgroup$