Is there an upper limit to the number of times a value can occur in a superset?

46 Views Asked by At

Given a set of numbers $S=\{-5,6,9,3,2,-2\}$, is there an upper limit to the number of times a particular value (say $4$) can occur in the sums of all the combinations of these numbers?

For example: in the above set $9-5 = 4$, $6-2 = 4$, $6+3-5 = 4$, etc. That's $3$ times the number $4$ shows up. Is there an upper limit to the number times a value can show up.

Is there a way to calculate this?