Let S={20,21,22,…,210}. Consider all possible positive differences of pairs of elements of S. Let N be the sum of all of these differences. Find N.
The sum of all difference is 17,496.
Thank you for answering, however the correct answer is 16398.