Don Colton's Risk Dice Roller

(Risk is a trademark of Parker Bros / Hasbro for their board game.)
Wikipedia Article, Attacking

How many attacking armies
How many defending armies
How many skirmishes (max)

Skirmish 1   4 4 4   2 3 attacker loses X, defender loses X
Skirmish 2   1 1 2   5 3 attacker loses X, defender loses X
Skirmish 3   4 3 3   4 6 attacker loses X, defender loses X
Skirmish 4   3 6 2   1 5 attacker loses X, defender loses X