Problem

Source: Stars of Mathematics 2015 Junir Level #4

Tags: number theory, combinatorics



Let $n\ge 5$ be a positive integer and let $\{a_1,a_2,...,a_n\}=\{1,2,...,n\}$.Prove that at least $\lfloor \sqrt{n}\rfloor +1$ numbers from $a_1,a_1+a_2,...,a_1+a_2+...+a_n$ leave different residues when divided by $n$.