Subcontests
(4)Sequence not containing a multiple of p (BxMO2021 P4)
A sequence a1,a2,a3,… of positive integers satisfies a1>5 and an+1=5+6+⋯+an for all positive integers n. Determine all prime numbers p such that, regardless of the value of a1, this sequence must contain a multiple of p. Replace maxima by minima (BxMO2021 P1)
(a) Prove that for all a,b,c,d∈R with a+b+c+d=0,
max(a,b)+max(a,c)+max(a,d)+max(b,c)+max(b,d)+max(c,d)⩾0.
(b) Find the largest non-negative integer k such that it is possible to replace k of the six maxima in this inequality by minima in such a way that the inequality still holds for all a,b,c,d∈R with a+b+c+d=0.