Problem

Source: Lithuania NMO 2010

Tags: combinatorics proposed, combinatorics



Arrange arbitrarily $1,2,\ldots ,25$ on a circumference. We consider all $25$ sums obtained by adding $5$ consecutive numbers. If the number of distinct residues of those sums modulo $5$ is $d$ $(0\le d\le 5)$,find all possible values of $d$.