MathDB
Prefix sums of permutation

Source: Kyiv City MO 2022 Round 2, Problem 11.3

January 30, 2022
number theorypermutationsalgebra

Problem Statement

Find the largest kk for which there exists a permutation (a1,a2,,a2022)(a_1, a_2, \ldots, a_{2022}) of integers from 11 to 20222022 such that for at least kk distinct ii with 1i20221 \le i \le 2022 the number a1+a2++ai1+2++i\frac{a_1 + a_2 + \ldots + a_i}{1 + 2 + \ldots + i} is an integer larger than 11.
(Proposed by Oleksii Masalitin)