Single-attack Dice Odds

Hi there, while trying to spice up my gameplay with a bit of science, I noticed that there's a lot of confounding info about that and a lot of sub-par odds calculators out there.
So I decided to calculate everything myself - and in the process put together an article about all single-attack probabilities. The article shows a couple of formulaic expressions (and how they were derived) for fast dice odds computation, and summarizes the results for all the usual attack configurations (see the table at the bottom of the page).
Sadly, for some attack configurations I could not derive a formula, so I have determined the odds via an exhaustive lookup function. Both the formulae and the lookup function are also published in this script - should others want to try and replicate the results, or find out how odds would look like for different attacker or defender caps or dice side numbers.
So I decided to calculate everything myself - and in the process put together an article about all single-attack probabilities. The article shows a couple of formulaic expressions (and how they were derived) for fast dice odds computation, and summarizes the results for all the usual attack configurations (see the table at the bottom of the page).
Sadly, for some attack configurations I could not derive a formula, so I have determined the odds via an exhaustive lookup function. Both the formulae and the lookup function are also published in this script - should others want to try and replicate the results, or find out how odds would look like for different attacker or defender caps or dice side numbers.