Roll n fair m-sided dice one after another. Return the probability the results come out strictly increasing.
n
m
Input
n = 3 m = 6
Output
0.09259259259259259
This one's part of Premium. Unlock the full Probability track plus every other premium problem on the site.
solve(...)