Suppose that a and b are integers, a ≡ 11(mod 19), and b ≡ 3(mod 19). Find the integer c with 0 <= c <= 18 such that c ≡ a-b(mod 19)
1 Answers
Best Answer
Definitions
Division algorithm Let a be an integer and d a positive integer. Then there are unique integers q and r with 0 <= r < d such that a=dq+r
q is called the quotient and r is called the remainder
q=a div d
r=a mod d
Theorem 5 Let m be a positive integer. If a ≡ b(mod m) and c ≡ d(mod m), then a+c ≡ b+d(mod m) and ac ≡ bd(mod m).
Solution
a=11(mod 19)
b ≡ 3(mod 19)
0 <= c <= 18
Use theorem 5:
c ≡ a-b(mod 19)
=11-3(mod 19)
=8(mod 19)
We then obtain c=8 with 0 <= c <= 18.