MathDB
A Sequence of +1's and -1's

Source: ISL 2022/C1

July 9, 2023
combinatoricsInteger sequenceISL 2022

Problem Statement

A ±1\pm 1-sequence is a sequence of 20222022 numbers a1,,a2022,a_1, \ldots, a_{2022}, each equal to either +1+1 or 1-1. Determine the largest CC so that, for any ±1\pm 1-sequence, there exists an integer kk and indices 1t1<<tk20221 \le t_1 < \ldots < t_k \le 2022 so that ti+1ti2t_{i+1} - t_i \le 2 for all ii, and i=1katiC.\left| \sum_{i = 1}^{k} a_{t_i} \right| \ge C.