Chances of at least one each of two values on X dice

40 Views Asked by At

I'm trying to work out the chance of rolling at least one each of 2 different values (say for example at least one 1 and at least one 2) on x dice. I'm not concerned about the totals, it's just the discrete values, so a success would simply be one or more of value A AND one or more of value B. I can't figure out how to represent this as a formula, the only way I can solve it is to draw out the sample space, which becomes unworkable as the number of dice (or sides on the dice) increase. Is there a simple way of representing this problem as a formula?