Question

In: Advanced Math

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.

Solutions

Expert Solution

1. Here, since there are only n possible remainders on division by n, and we have n + 1 numbers, by the Pigeonhole Principle (PHP) some two of them have the same remainder on division by n. Thus we can write these two as

n1 = nk1 + r and n2 = nk2 + r where r is the remainder on division by n. Then the difference is n1 − n2 = (nk1 + r) − (nk2 + r) = nk1 + r − nk2 − r = nk1 − nk2 = n(k1 − k2), which is divisible by n.

2. we will prove more general thing for any n in natural numbers.

Show that for any natural number n there is a number composed of digits 5 and 0 only and divisible by n

(here you are having n=2018)

Solution: We will use the previous problem. We want to find a number divisible by n; the previous problem tells us that given any set of n + 1 numbers, some two of them have a difference that’s divisible by n. So we should try to find a set of n + 1 numbers with the property that for any two of them, the difference is a number composed of digits 5 and 0 only. One possibility is the sequence of numbers 5, 55, 555, 5555, 55555, . . ., since the difference of any two of these will be some number of 5’s followed by some number of 0’s. So we can take the first n+ 1 numbers whose only digits are 5, and there must be some pair whose difference is composed of only 5’s and 0’s, and divisible by n.


Related Solutions

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.
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.
Prove That For All Natural Numbers A > 1 And B > 1, If A Divides...
Prove That For All Natural Numbers A > 1 And B > 1, If A Divides B Then A Does Not Divide B+1 (prove by contradiction)
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.
Given 11 different integers from 1 to 20, prove that at least two of them are...
Given 11 different integers from 1 to 20, prove that at least two of them are exactly 5 apart.
Let m, n be natural numbers such that their greatest common divisor gcd(m, n) = 1....
Let m, n be natural numbers such that their greatest common divisor gcd(m, n) = 1. Prove that there is a natural number k such that n divides ((m^k) − 1).
Prove that for n ⩾ 2 there are exactly two n-vertex graphs with n − 1...
Prove that for n ⩾ 2 there are exactly two n-vertex graphs with n − 1 distinct degrees (up to isomorphism). The other answers on the website are incorrect.
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.
Let a and b be rational numbers. As always, prove your answers. (a) For which choices...
Let a and b be rational numbers. As always, prove your answers. (a) For which choices of a, b is there a rational number x such that ax = b? (b) For which choices of a, b is there exactly one rational number x such that ax = b?
(A) Prove division with remainder makes sense for integers as well as natural numbers. In other...
(A) Prove division with remainder makes sense for integers as well as natural numbers. In other words prove the following. Proposition: Let d be a nonzero integer. For any integer n, there exist unique integers q and r such that n = dq + r and 0 ≤ r < |d|.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT