Professional Documents
Culture Documents
Cancellation & Inverses (Mod N) : If &), Then Then
Cancellation & Inverses (Mod N) : If &), Then Then
MIT 6.042J/18.062J
If a ≡ b (mod n) &
Cancellation &
≡ d (mod n),
Inverses (mod n) c
then a+c ≡ b+d (mod n)
then a⋅c ≡ b⋅d (mod n)
Albert R Meyer, March 7, 2012 lec 5W.1 Albert R Meyer, March 7, 2012 lec 5W.2
4/2/08 2:20PM
1
inverses (mod n) inverses (mod n)
If gcd(k,n)=1, then have k’ sk + tn = 1
k’·k ≡ 1 (mod n). sk + tn ≡ 1 (mod n)
k’ is an inverse mod n of k sk + t0 ≡ 1 (mod n)
pf: sk + tn = 1, so sk ≡ 1 ((mod n))
just let k’ be s so s is an inverse of k
Albert R Meyer, March 7, 2012 lec 5W.5 Albert R Meyer, March 7, 2012 lec 5W.6
4/2/08 2:20PM
2
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms .