Problem 6
Let be an odd prime number. How many -element subsets of are there, the sum of whose elements is divisible by ?
Step 3 of 3: Count one zero-sum set per orbit
In plain words
Since is prime and is nonzero modulo , the sums are all residues.
Detailed analysis
The successive total sums differ by , so they are all residues modulo . Exactly one member of every orbit has total sum divisible by . The nonexceptional contribution is therefore ; adding the two excluded subsets gives .