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 swquares of the length of these segments is divisible by
.
(Serbia)