Question
Four fair six-sided dice are rolled.
Out of the 1296 possibilities, what would result in a product of 144?
I started out with listing all possible combinations that lead to this product.
6*6*4*1 $${4\choose2}{2\choose1}{1\choose1} = {4!\over2!1!1!} = 12$$
6*6*2*2 $${4\choose2}{2\choose2} = {4!\over2!2!} = 6$$
6*4*3*2 $${4\choose1}{3\choose1}{2\choose1}{1\choose1} = {4!\over1!1!1!1!} = 24$$
4*4*3*3 $${4\choose2}{2\choose2} = {4!\over2!2!} = 6$$
And then I add all those numbers together.
12+6+24+6 = 48
Obviously this method is inefficient and prone to error. I do not feel confident with my answer (as in, I think it's not even right) and want to know if there's a better way to do this.
As a side note I checked out What is the probability of the sum of four dice being 22? but was completely confused on how that worked, so I need some hand-holding here.
f = (1/6)^4; domain[f] = {{x,1,6}, {y,1,6}, {z,1,6}, {w,1,6}} && {Discrete}; Prob[x y z w == 144, f]returns $\frac{1}{27}$ - same as you obtained. – wolfies Jul 10 '17 at 18:32