MathDB
Make S nonnegative

Source: Kyiv City MO 2024 Round 1, Problem 7.4

January 28, 2024
algebracombinatoricsOperation

Problem Statement

For real numbers a1,a2,,a200a_1, a_2, \ldots, a_{200}, we consider the value S=a1a2+a2a3++a199a200+a200a1S = a_1a_2 + a_2a_3 + \ldots + a_{199}a_{200} + a_{200}a_1. In one operation, you can change the sign of any number (that is, change aia_i to ai-a_i), and then calculate the value of SS for the new numbers again. What is the smallest number of operations needed to always be able to make SS nonnegative?
Proposed by Oleksii Masalitin