How do you solve the expression
$$\sum_{j=0}^nj\sum_{1\le i_1<i_2<...<i_j\le n}m_{i_1}+m_{i_2}+...+m_{i_j}$$
with the following:
$$ \begin{array}{ll} variable & value\\ \hline n & 3\\ m_1 & 1 \\ m_2 & 2 \\ m_3 & 3 \\ \end{array} $$
I get that $$ 0 * \text{something}\\ + 1 * \text{something}\\ + 2 * \text{something}\\ + 3 * \text{something} $$
?
But I can't figure out how to express that $\text{something}$ from the original sigma notation.
Comment:
In (1) we write for each $j=1,2,3$ the inner sum, skipping the sum with $j=0$ which does not contribute anything.
In (2) we explicitly write the terms of each sum which is feasible since $n=3$ is small. Observe that in (2) the first term $m_1+m_2+m_3$ are three summands, whereas the third term $3(m_1+m_2+m_3)$ is one summand.
Note: It is crucial to use brackets in the first line, otherwise the meaning is \begin{align*} \sum_{1\le i_1<i_2<...<i_j\le 3}&m_{i_1}+m_{i_2}+\cdots+m_{i_j}\\ &=\left(\sum_{1\le i_1<i_2<...<i_j\le 3}m_{i_1}\right)+m_{i_2}+\cdots+m_{i_j}\\ &=m_{i_2}+\cdots +m_{i_j}+\sum_{1\le i_1<i_2<...<i_j\le 3}m_{i_1} \end{align*} which is usually not the intention.