ISL 2014 N6
Let be pairwise coprime positive integers with being prime and . On the segment of the real line, mark all integers that are divisible by at least one of the numbers . These points split into a number of smaller segments. Prove that the sum of the squares of the lengths of these segments is divisible by . (Serbia)
Official text Transcription from NuminaMath olympiads, checked word for word against the official paper. Quoted with source.
Official text: IMO 2014 Shortlist booklet, page 10.
Solutions
Official solution Solution 1 by the IMO Problem Selection Committee
The terms of the source let olymmath link to this solution but not copy it. Read the solution (IMO official site).