algebracombinatoricsChina second roundinequalitiesn-variable inequality
Problem Statement
Let a1,a2,⋯,an be integers such that 1=a1≤a2≤⋯≤a2019=99. Find the minimum f0 of the expression f=(a12+a22+⋯+a20192)−(a1a3+a2a4+⋯+a2017a2019),
and determine the number of sequences (a1,a2,⋯,an) such that f=f0.