I want to prove the following:
Let $A$ be a set of $n$ positive integers such that for any subset $M$, $M$ neither empty nor equal to $A$, the sum of elements of $M$ is not divisible by $n$. Prove that the elements of $A$ are all congruent $\pmod n.$
The $n=2$ case is obvious (both numbers must be odd). For $n=3$, the only possible residues are 1,2, and it is obvious that if both residues are present then their sum is divisible by 3, contradiction. $n=4$ is again easily provable by casework (since you can't have both 1 and 3 as residues in the same set.)
However, i do not know how one would generalize this. For starters, if $r$ is a residue $\pmod n$, you cannot include both $r$ and $n-r$ as residues in the same set, thus obtaining that such a set has at most $\left \lfloor \dfrac{n+1}{2} \right \rfloor$ distinct residues.( $\lfloor a\rfloor$ is the integer part of $a$)
How can I finish the proof?