MathDB
ASU 410 All Soviet Union MO 1985 sum of |a_i - b_i| = n^2

Source:

August 5, 2019
algebrasetabsolute value

Problem Statement

Numbers 1,2,3,...,2n1,2,3,...,2n are divided onto two equal groups. Let a1,a2,...,ana_1,a_2,...,a_n be the first group numbers in the increasing order, and b1,b2,...,bnb_1,b_2,...,b_n -- the second group numbers in the decreasing order. Prove that a1b1+a2b2+...+anbn=n2|a_1 - b_1| + |a_2 - b_2| + ... + |a_n - b_n| = n^2