Working modulus a prime number in modular arithmetic let's you cancel factors in a congruence equation. Let p and k be integers, p a prime number and k not a multiple of p:
a⋅k≡b⋅k(modn)
We can multiply by a constant on each side and maintain the congruence. Let this constant be a multiplicative inverse of k (which is guaranteed to exist in this case).
a⋅k⋅k−1≡b⋅k⋅k−1(modn)
Why is it that I can now justify canceling the initial k? k⋅k−1 gives some integer m, which when divided by n gives remainder 1. But what is the property that takes me from a⋅m≡b⋅m(modn) to a≡b(modn)?
No comments:
Post a Comment