Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 4.5.11* (Every $x \in \mathbb{Z}/n \mathbb{Z}$ occurs at least once among the sums of the elements of $\mathscr{S}$)
Exercise 4.5.11* (Every $x \in \mathbb{Z}/n \mathbb{Z}$ occurs at least once among the sums of the elements of $\mathscr{S}$)
For every positive integer , construct a minimal set of integers having the property that every residue class modulo occurs at least once among the sums of the elements of the nonempty subsets of . For example, if , will do because every residue class modulo appears among .
Answers
Proof. Let us say that a subset is convenient for some integer if every class modulo occurs at least once among the sums of the elements of the non empty subsets of .
We will show that for every (so that ),
- (i)
- is convenient for .
- (ii)
- Every subset with elements (or less) is not convenient for .
- (i)
-
Consider the set
, where
.
Every residue class modulo is in the form , where . The usual binary representation of is , where , and , since (see Problem 1.2.44). Thus
This shows that every is sum of elements of , so is convenient for .
- (ii)
- Suppose now that satisfies , where . There are non empty subsets of , thus there are at most possible sums of distinct elements of . But , therefore some elements of , which has elements, are not represented by a sum of elements of . So is not convenient for .
In conclusion, is a minimal set of integers having the property that every residue class modulo occurs at least once among the sums of the elements of the nonempty subsets of .
(Note that there are much more possible sets with elements.) □