Given a set $S=\{1..n\}$ and all it's subsets $Q$ of size $m$, we have:
$|Q| = \binom{n}{m}$
I would like to find a generic formula for the sum of products of all elements in each of the subsets. E.g. for $n=4, m= 2$:
$1 * 2 + 1 * 3 + 1 * 4 + 2 * 3 + 2 * 4 + 3 * 4$