I'm trying to solve a generalized die rolling problem. I want to calculate the probability a die A + constant x has a greater value than another die B + constant y, where x and y are arbitrary numbers between 0 and 20.
I can't quite figure out how to sum the probability of all possible roll combinations where A+x > B+y.