Subcontests
(6)Inequality with strange square condition
Let n≥3 be an integer and a1,a2,...,an be positive real numbers such that m is the smallest and M is the largest of these numbers. It is known that for any distinct integers 1≤i,j,k≤n, if ai≤aj≤ak then aiak≤aj2. Show thata1a2⋯an≥m2Mn−2and determine when equality holds