these questions are for discrete math pls do both 3 and 4 and questions we have
ID: 3146438 • Letter: T
Question
these questions are for discrete math
pls do both 3 and 4 and questions we have to use the prove from question 3
i request to do both questions with discription
Explanation / Answer
(Note: Please check the WHOLE solution.)
3. k = 2m + 1
This means k is odd.
10k + 1 = (11 - 1)k + 1
= 11k - 11k-1 + 11k-2 - .....+111 - 1k + 1
(Note, since k is odd, the sign of 1k is negative)
= 11k - 11k-1 + 11k-2 - .....+111
Since all terms contain 11, 11 | 10k + 1.
4. We have n = d0 * 100 + d1 * 101 + d2 * 102 + d3 * 103 + ...... dk-1 * 10k-1 + dk * 10k
There are two cases: k is odd and k is even.
If k is odd, there are k+1 terms and we can pair them as below:
=> n = (d0 * 100 - d1 * 101 + 11 d1 * 101) + (d2 * 102 - d3 * 103 + 11 d3 * 103 + ...... (dk-1 * 10k-1 - dk * 10k + 11 dk * 10k)
=> n = (d0 * 100 - d1 * 101) + (d2 * 102 - d3 * 103) +...... (dk-1 * 10k-1 - dk * 10k) - (11 d1 * 101 + 11 d3 * 103 + ....11 dk * 10k)
=> n = sn - 11(d1 * 101 + d3 * 103 + ....dk * 10k)
If sn is divisible by 11, let sn = 11r where r is an integer.
=> n = 11r - 11(d1 * 101 + d3 * 103 + ....dk * 10k)
=> n = 11 (r - (d1 * 101 + d3 * 103 + ....dk * 10k))
Therefore n is divisible by 11.
If k is even, there are k+1 terms and we add a "k+2th term" to make sure pairing is possible
=> n = n = d0 * 100 + d1 * 101 + d2 * 102 + d3 * 103 + ...... dk-1 * 10k-1 + dk * 10k + dk+1 10k+1 - dk+1 10k+1 where dk+1 is some integer.
=> n = (d0 * 100 - d1 * 101 + 11 d1 * 101) + (d2 * 102 - d3 * 103 + 11 d3 * 103 + ...... (dk* 10k - dk+1 * 10k+1 + 11 dk+1 * 10k+1) - 10 dk+1 * 10k+1
=> n = (d0 * 100 - d1 * 101) + (d2 * 102 - d3 * 103) +...... (dk-1 * 10k-1 - dk * 10k) - (11 d1 * 101 + 11 d3 * 103 + ....11 dk * 10k) - 10 dk+1 * 10k+1
=> n = sn - 11(d1 * 101 + d3 * 103 + ....dk * 10k) - 10 dk+1 * 10k+1
Using the result of 3, we know that 11 | 10k+1 => 11 | 10 dk+1 * 10k+1 and let 10 dk+1 * 10k+1 = 11t.
If sn is divisible by 11, let sn = 11r where r is an integer.
=> n = 11r - 11(d1 * 101 + d3 * 103 + ....dk * 10k) - 11t
=> n = 11 (r - (d1 * 101 + d3 * 103 + ....dk * 10k) - t)
Therefore n is divisible by 11.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.