- #1
EngWiPy
- 1,368
- 61
Hello,
I have the following equation, which is simply the multinomial exapnsion:
[tex]\left[\sum_{l=1}^L\,x_l\right]^n=\sum_{k_1,k_2,\ldots,k_L}{n\choose k_1,k_2,\ldots,k_L}\prod_{l=1}^L\,x_l^{k_l}[/tex]
where the summation is taken over all possibilities that the summation of the nonnegative integer indices k1,k2,...,kL equal n.
How can I program this using Mathematica??
Thanks in advance
I have the following equation, which is simply the multinomial exapnsion:
[tex]\left[\sum_{l=1}^L\,x_l\right]^n=\sum_{k_1,k_2,\ldots,k_L}{n\choose k_1,k_2,\ldots,k_L}\prod_{l=1}^L\,x_l^{k_l}[/tex]
where the summation is taken over all possibilities that the summation of the nonnegative integer indices k1,k2,...,kL equal n.
How can I program this using Mathematica??
Thanks in advance