- #1
cmajor47
- 57
- 0
Homework Statement
Prove that is m, n, and d are integers and d divides (m-n) then m mod d = n mod d.
Homework Equations
Quotient Remainder Theorem: Given any integer n and positive integer d, there exists unique integers q and r such that n=dq + r and 0[tex]\leq[/tex]r<d and n mod d = r.
The Attempt at a Solution
Proof: Let m, n, d [tex]\in[/tex] Z st d divides (m-n)
[tex]\exists[/tex] k [tex]\in[/tex] Z st m=dk + r
[tex]\exists[/tex] j [tex]\in[/tex] Z st n=dj + s
m-n=(dk + r)-(dj + s)
=dk+r-dj+s
=d(k-j)+(r-s)
Am I going along with the proof correctly? I don't know where to go from this point and would really appreciate some help.