Given the following sum: is minimal when the two equences and
are sorted ---------------
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
One example. Let both sequences will be 1,2,3,4,5,...n If both are increasing, it will be sum of n^2. If one is increasing and one decreasing, it will be sum of n(n-i).