olymmath

TR-MO 2019 Problem 5

    Let f:{1,2,…,2019}→{−1,1}f:\{1,2,\dots,2019\}\to\{-1,1\} be a function, such that for every k∈{1,2,…,2019}k\in\{1,2,\dots,2019\} , there exists an ℓ∈{1,2,…,2019}\ell\in\{1,2,\dots,2019\} such that ∑i∈Z:(ℓ−i)(i−k)⩾0f(i)⩽0.\sum_{i\in\mathbb{Z}:(\ell-i)(i-k)\geqslant 0} f(i)\leqslant 0. Determine the maximum possible value of ∑i∈Z:1⩽i⩽2019f(i).\sum_{i\in\mathbb{Z}:1\leqslant i\leqslant 2019} f(i).

    Dataset text AI-MO AoPS. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Similar problems

    These problems have the most words in common with this statement.

    Locator tr-mo/2019/p5 · Tag VFGMT2W8RW · Edit this page on GitHub · Keys: j next, k previous