Let n≥2018 be an integer, and let a1,a2,…,an,b1,b2,…,bn be pairwise distinct positive integers not exceeding 5n. Suppose that the sequence
b1a1,b2a2,…,bnan
forms an arithmetic progression. Prove that the terms of the sequence are equal. number theoryprogressionarithmetic sequenceIMO Shortlist