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 n , construct a minimal set 𝒮 of integers having the property that every residue class modulo n occurs at least once among the sums of the elements of the nonempty subsets of 𝒮 . For example, if n = 6 , 𝒮 = { 1 , 3 , 5 } will do because every residue class modulo 6 appears among 1 , 3 , 5 , 1 + 3 , 3 + 5 , 1 + 5 , 1 + 3 + 5 .

Answers

Proof. Let us say that a subset A nℤ is convenient for some integer n > 0 if every class modulo n occurs at least once among the sums of the elements of the non empty subsets of A .

We will show that for every n [ [ 2 k , 2 k + 1 [ [ (so that k = log ( n ) log ( 2 ) ),

(i)
A = { 1 ¯ , 2 ¯ , 2 ¯ 2 , , 2 ¯ k } is convenient for n .
(ii)
Every subset B nℤ with k elements (or less) is not convenient for n .
(i)
Consider the set A = { 1 ¯ , 2 ¯ , 2 ¯ 2 , , 2 ¯ k } nℤ , where 2 k n < 2 k + 1 .

Every residue class modulo n is in the form m ¯ , where 1 m n . The usual binary representation of m is m = i I 2 i , where I , and I [ [ 0 , k [ [ , since n < 2 k + 1 (see Problem 1.2.44). Thus

m ¯ = i I 2 ¯ i .

This shows that every m ¯ nℤ is sum of elements of A , so A is convenient for n .

(ii)
Suppose now that B satisfies Card ( B ) k , where 2 k n < 2 k + 1 . There are 2 Card ( B ) 1 non empty subsets of B , thus there are at most 2 Card ( B ) 1 possible sums of distinct elements of B . But 2 Card ( B ) 1 2 k 1 < n , therefore some elements of nℤ , which has n elements, are not represented by a sum of elements of B . So B is not convenient for n .

In conclusion, 𝒮 = { 1 ¯ , 2 ¯ , 2 ¯ 2 , , 2 ¯ k } is a minimal set of integers having the property that every residue class modulo n occurs at least once among the sums of the elements of the nonempty subsets of 𝒮 .

(Note that there are much more possible sets 𝒮 with k + 1 elements.) □

User profile picture
2025-03-31 08:39
Comments