Discrete Mathematics with Applications 4th Edition

Published by Cengage Learning
ISBN 10: 0-49539-132-8
ISBN 13: 978-0-49539-132-6

Chapter 4 - Elementary Number Theory and Methods of Proof - Exercise Set 4.3 - Page 179: 49

Answer

See explanation

Work Step by Step

Let \( n \) be any nonnegative integer with decimal representation \[ n = d_k 10^k + d_{k-1} 10^{k-1} + \cdots + d_1 10 + d_0, \] where \( d_0 \) is the rightmost digit, \( d_1 \) the next digit to the left, and so on. Notice that \[ 10 \equiv -1 \pmod{11}. \] Raising both sides to the \( i \)th power, we have \[ 10^i \equiv (-1)^i \pmod{11}. \] Thus, we can rewrite \( n \) modulo 11 as \[ n \equiv d_k(-1)^k + d_{k-1}(-1)^{k-1} + \cdots + d_1(-1)^1 + d_0(-1)^0 \pmod{11}. \] This expression is exactly the alternating sum of the digits of \( n \) (starting from the rightmost digit \( d_0 \) as positive, then subtracting \( d_1 \), adding \( d_2 \), etc.). In other words, \[ n \equiv \text{(alternating sum of the digits of } n\text{)} \pmod{11}. \] Therefore, if the alternating sum of the digits of \( n \) is divisible by 11 (i.e. it is congruent to 0 modulo 11), then \[ n \equiv 0 \pmod{11}, \] which means that \( n \) is divisible by 11. This completes the justification.
Update this answer!

You can help us out by revising, improving and updating this answer.

Update this answer

After you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.