Obviously the lowest and highest have 1 combination and the second lowest and second highest have X combinations.
The 3rd has 1,3,6,10 combinations for 1,2,3,4 dice. (triangle numbers obviously)
The 4th has 1,4,10,20? combinations for 1,2,3,4 dice. (summation of triangle numbers)
Perhaps this is summation
n-1 of 1 from 1 to dice number?
This would stop working when n > y.
Edit more:
3d5
min 3, max 15[F], mode 9
34567 45678 56789 6789A 789AB
45678 56789 6789A 789AB 89ABC
56789 6789A 789AB 89ABC 9ABCD
6789A 789AB 89ABC 9ABCD ABCDE
789AB 89ABC 9ABCD ABCDE BCDEF
34567
89A45678
9A56789
A6789A
789AB
89A
9A
A45678
9A56789
A6789A
789AB
89ABC
9AA56789
A6789A
789AB
89ABC
9ABCD
A89A
9A
A9A
AAThe yellow is the extra results the combination sees when n>Y
Note it is 3 then 9 then 18 in the X=3 case.