MathDB
red and blue endpoints of segments in 100-gon, numbers on vertices

Source: Tournament of Towns, Junior A-Level , Spring 2019 p4

May 13, 2020
combinatoricsColoringSumProduct

Problem Statement

Each segment whose endpoints are the vertices of a given regular 100100-gon is colored red, if the number of vertices between its endpoints is even, and blue otherwise. (For example, all sides of the 100100-gon are red.) A number is placed in every vertex so that the sum of their squares is equal to 11. On each segment the product of the numbers at its endpoints is written. The sum of the numbers on the blue segments is subtracted from the sum of the numbers on the red segments. What is the greatest possible result?
(Ilya Bogdanov)