Let $p$ be a prime number and $[p-1]=\{1, 2, \ldots, p-1\}$.
The following proposition is proved: (but I cannot find out where)
Proposition: The non-empty subset sums of $[p-1]$ are equally distributed $\pmod{p}$.
In other words, if $N(a)$ denotes the number of non-empty subset sums which are $\equiv a\pmod{p}$ then $N(a)=\frac{2^{p-1}-1}{p}$, for every integer $0\le a\le p-1$.
I can prove it on my own in many ways, but I thought since this is already known, to put just a reference next to this result.
Can anybody give me some reference (paper or book) where I can find a proof of this proposition?