Let $S = \{2^0,2^1,2^2,\ldots,2^{10}\}$. 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.