Skip to main content
1 of 4

Summing the max value of the distinct pairs in a set

Say one has $A \subset N$, or the positive integers if that’s better. 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?