Determine all integers n≥2 having the following property: for any integers a1,a2,…,an whose sum is not divisible by n, there exists an index 1≤i≤n such that none of the numbers ai,ai+ai+1,…,ai+ai+1+…+ai+n−1 is divisible by n. Here, we let ai=ai−n when i>n.Proposed by Warut Suksompong, Thailand IMO Shortlistnumber theory