2009 AIME I Problems/Problem 8
Problem 8
Let . Consider all possible positive differences of pairs of elements of . Let be the sum of all of these differences. Find the remainder when is divided by .
Solution
We can do this in an organized way.
If we continue doing this, we will have
Which is
By simplifying this, we will get
We only care about the last three digits so the answer will be