Skip to main content
4 of 4
edited tags
Gabe Goldberg
  • 8.1k
  • 1
  • 37
  • 45

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?