MathDB
Combinatorics on partial sums and divisibility

Source: RMM 2024 Problem 2

February 29, 2024
algorithmnumber theoryprime numbersPartial sumspermutationsRMM

Problem Statement

Consider an odd prime pp and a positive integer N<50pN < 50p. Let a1,a2,,aNa_1, a_2, \ldots , a_N be a list of positive integers less than pp such that any specific value occurs at most 51100N\frac{51}{100}N times and a1+a2++aNa_1 + a_2 + \cdots· + a_N is not divisible by pp. Prove that there exists a permutation b1,b2,,bNb_1, b_2, \ldots , b_N of the aia_i such that, for all k=1,2,,Nk = 1, 2, \ldots , N, the sum b1+b2++bkb_1 + b_2 + \cdots + b_k is not divisible by pp.
Will Steinberg, United Kingdom