Given n>2n > 2 and reals x1≤x2≤⋯≤xnx_1 \leq x_2 \leq \cdots \leq x_n, show that (∑i,j∣xi−xj∣)2≤23(n2−1)∑i,j(xi−xj)2(\sum_{i,j} |x_i - x_j|)^2 \leq \frac{2}{3}(n^2 - 1)\sum_{i,j}(x_i - x_j)^2. Show that we have equality iff the sequence is an arithmetic progression.