Using dice notation to denote the total (i.e. xdy means the total of x dice with y sides) my question would be finding the probability of the following statement to be true (I am not sure if there is a better way of representing this) -
$ \sum\limits_{i=1}^n{c_i\text{d}i} = p$
where $c_i\in \mathbb{Z^+_0}$
I learnt how to do this for one kind of dice here, here and here. I was wondering about an even more general case where all the dice being rolled are not the same. I tried following a similar approach to this one of making n bins and then distributing a total of p balls into these bins, with each bin being equal to $c_i$ dice with $i$ sides. Choosing a number to put into a bin of course would depend on the probability of getting that total from this group of dice with the same number of sides. The minimum in each bin corresponds to $c_i$, and thus we are left with the problem of putting $\left(p-\sum\limits_{i=1}^nc_i\right)$ balls into n bins.
I am a bit confused as to how to proceed from here, since adding another ball in all of these bins will change the probability differently. I couldn't find any resources specifically answering this question anywhere either.
$$\prod_{i=1}^n \left( \sum_{j=1}^{c_i} x^i \right)$$
Similar but not quite the same as what @ThomasAndrews wrote in the above comments. Essentially each die is $(x+x^2+\cdots+x^c)$, and you multiply all the dice together, which will give you the coefficients. --- Also, while it doesn't answer the question, http://www.anydice.com could be helpful for playing around with things.
– Eric Snyder Nov 05 '22 at 03:16