002. The Subset Sum Multiple of n
Given the set for where all elements are distinct, prove that there exists a subset of whose sum is multiple of except for the empty set.
Consider the following values,
In the case that there exists a value multiple of among these values, it is trivial. Assume that there does not exist that. By pigeonhole principle, there must exist at least two values that have an equal remainder when divided by . Let these two values be and where . Then the subtraction of them, , is multiple of . Since is not the empty set, this completes the proof.