Question

In: Math

Show that among all collections with 2n-1 natural numbers in them there are exactly n numbers...

Show that among all collections with 2n-1 natural numbers in them there are
exactly n numbers whose sum is divisible by n.

Solutions

Expert Solution

Let the numbers be denoted by aiai. As we are dealing with divisibility by nn, we may assume that 0?ai<n0?ai<n for all ii. Furthermore, let the aiai be in ascending order.

Now, if ai=ai+n?1ai=ai+n?1 for some ii, then we are done: simply pick the nn numbers aiaithrough ai+n?1ai+n?1. Therefore, we may assume that ai?ai+n?1ai?ai+n?1 for all ii.

Consider the following subsets of ?nZn: Ai={ai,ai+n?1}Ai={ai,ai+n?1} for 1?i<n1?i<n and An=a2n?1An=a2n?1. Define the sum of two sets XX and YY as follows:

X+Y={z:z=x+y,x?X?y?Y}X+Y={z:z=x+y,x?X?y?Y}

With this definition, define the following sets SiSi:

Si=?k=1iAkSi=?k=1iAk

It is easy to see that mi=m(Si)mi=m(Si) (mm denotes the number of elements) is a nondecreasing sequence. We strengthen this result as follows:

Lemma. For i<ni<n, mi?i+1mi?i+1.

Proof. Assume the contrary. Then, there must be some i<n?1i<n?1 such that mi=mi+1mi=mi+1 (this follows from the fact that mimi is nondecreasing and m1=2m1=2). In other words, denoting Si+1={x,y}Si+1={x,y}, the two sets Si+xSi+x and Si+ySi+y must be identical (as x?yx?y). This means that the set SiSi is invariant under the addition of

z=x?yz=x?y. Recalling how we defined addition, this means that if aa is some element of SiSi, then every number of the form a+kza+kz where k??k?Z must also be an element of SiSi. However, these numbers are distinct for 0?k<n0?k<n, as nn is prime. Therefore, SiSi must have nn elements, from which a contradiction follows easily.

Now, we simply note that mn?mn?1?nmn?mn?1?n and therefore mn=nmn=n, which means that the set SnSn contains all possible remainders modulo n, in particular, it contains 0. This means that we can choose nn elements from A1,A2,...,AnA1,A2,...,Anrespectively whose sum will be 0 modulo n.

To obtain the result for the case when n=abn=ab is composite, simply partition the set into 2b?12b?1 mutually exclusive subsets and apply the result twice.


Related Solutions

Show by induction that for all n natural numbers 0+1+4+9+16+...+ n^2 = n(n+1)(2n+1)/6.
Show by induction that for all n natural numbers 0+1+4+9+16+...+ n^2 = n(n+1)(2n+1)/6.
1. Prove that given n + 1 natural numbers, there are always two of them such...
1. Prove that given n + 1 natural numbers, there are always two of them such that their difference is a multiple of n. 2. Prove that there is a natural number composed with the digits 0 and 5 and divisible by 2018. both questions can be solved using pigeonhole principle.
Consider the sequence: x0=1/6 and xn+1 = 2xn- 3xn2 | for all natural numbers n. Show:...
Consider the sequence: x0=1/6 and xn+1 = 2xn- 3xn2 | for all natural numbers n. Show: a) xn< 1/3 for all n. b) xn>0 for all n. Hint. Use induction. c) show xn isincreasing. d) calculate the limit.
Show that |N| = |Z|, where N is the set of natural numbers and Z is...
Show that |N| = |Z|, where N is the set of natural numbers and Z is the set of all integers.
Consider the statement, “For all natural numbers n,n, if nn is prime, then nn is solitary.”...
Consider the statement, “For all natural numbers n,n, if nn is prime, then nn is solitary.” You do not need to know what solitary means for this problem, just that it is a property that some numbers have and others do not. Write the converse and the contrapositive of the statement, saying which is which. Note: the original statement claims that an implication is true for all n,n, and it is that implication that we are taking the converse and...
A triangular number is the sum of the n natural numbers from 1 to n. For...
A triangular number is the sum of the n natural numbers from 1 to n. For example: The triangular number for 3 is 1 + 2 + 3 = 6 The triangular number for 7 is 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28 Write a program segment (using a loop), that calculates and then prints the integer n and its triangular number.
Let the cardinal number of N, the set of all natural numbers, be א0. Prove that...
Let the cardinal number of N, the set of all natural numbers, be א0. Prove that the product set N × N = {(m,n);m ∈ N,n ∈ N} has the same cardinal number. Further prove that Q+, the set of all positive rational numbers, has the cardinal number N_0. Hint: You may use the formula 2^(m−1)(2n − 1) to define a function from N × N to N, see the third example on page 214 of the textbook.
Show that the number of labelled simple graphs with n vertices is 2n(n-1)/2. (By induction way!)
Show that the number of labelled simple graphs with n vertices is 2n(n-1)/2. (By induction way!)
1.)Prove that f(n) = O(g(n)), given: F(n) = 2n + 10; g(n) = n 2.)Show that...
1.)Prove that f(n) = O(g(n)), given: F(n) = 2n + 10; g(n) = n 2.)Show that 5n2 – 15n + 100 is Θ(n2 ) 3.)Is 5n2 O(n)?
Let x, y be integers, and n be a natural number. Prove that x ^(2n) −...
Let x, y be integers, and n be a natural number. Prove that x ^(2n) − y ^(2n) is divisible by x + y
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT