This website contains problems from math contests. Problems and corresponding tags were obtained from the Art of Problem Solving website.

Tags were heavily modified to better represent problems.

AND
OR
NO

Found problems: 1

Let $ \left( a_i \right)_{1\le i\le n} $ and $ \left( b_i \right)_{1\le i\le n} $ be two sequences, the former being a decreasing sequence and the latter being an increasing sequence. All the terms of $ \left( a_i \right)_{1\le i\le n} $ and $ \left( b_i \right)_{1\le i\le n} $ form the set $ \{1,2,3,\ldots ,2n \} . $ Prove that: $$ \left| a_1-b_1 \right| +\left| a_2-b_2 \right| +\cdots +\left| a_n-b_n \right|=n^2 $$