Is there any function which can multiply the combination of numbers and then add them?
For example consider the function which I made, $$C_2(5,6,7)=5 × 6+6 × 7+5 × 7=107$$ or $$C_3(1,2,3,4)=1 × 2 × 3+2 × 3 × 4+4 × 1 × 2+3 × 1 × 4=60.$$
Hope you get it.
Is there any formal notation which is used by everyone?
What about this one? $$C_3(a,b,c,d)=abcd\left(\frac1a+\frac1b+\frac1c+\frac1d\right)$$
or even more compact:
$$C_{n-1}(x_1,\ldots,x_n)=\prod_{k=1}^nx_k\left(\sum_{k=1}^n\frac 1{x_k}\right)$$