Drawmack
First Post
Storminator said:You could do it recursively. The probability of rolling 7 of 3d6 is the probability of rolling a 1 on one die times the probability of rolling 6 on 2d6, plus the probability of rolling a 2 on one die times the probability of rolling 5 on 2d6 ...
Might make for a quicker computation of very large sample spaces (frex 42d20).
PS
This truly is an interesting method. The problem comes when you have to factor the original number.
For example 42d20 and you want the probability of rolling 104. You have to first calculate every combination that would yield 104 which brings us right back to the initial problem. Also using recursion on this could cause the person to run out of stack space and that's just not a good thing.