Skip to main content
3 of 4
edited title

Summing the max value of the distinct pairs in a multiset

Say one has a multi set of natural numbers, or positive integers if that’s more useful. If $\#A = n$ and one knows $\sum_{a \in A} a$

What is it possible to say about $\sum_{a,a^{‘}\in A, a \neq a^{‘}} max(a,a^{‘})$?

Any insight or knowledge of something like this?