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.4 - Page 190: 53

Answer

See explanation

Work Step by Step

**Proof:** Let \( m \), \( d \), and \( k \) be integers with \( d > 0 \). By the division algorithm, we can write \[ m = qd + r, \] where \( q \) is an integer and \( r \) is the remainder, satisfying \[ 0 \le r < d. \] By definition, \( m \mod d = r \). Now, consider \[ m + d \cdot k = qd + r + d \cdot k = (q + k)d + r. \] When we take the modulo \( d \) of this sum, the term \((q+k)d\) is divisible by \( d \) and thus contributes nothing to the remainder. Therefore, \[ (m + d \cdot k) \mod d = r. \] Since \( m \mod d = r \) as well, we have \[ (m + d \cdot k) \mod d = m \mod d. \] This completes the proof.
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.