Find all solutions x∈Zm of the following congruence
whereby m is the modulus. If there doesn't exist a solution, state
why.17x≡25( mod 33)
Alright so I have big trouble doing this because I only know how to do it if there was a 1 instead of a 25 on the right side : /
You then put all on one side and 33 on the other side, use euclidean algorithm and calculate it. But what can I do in this case, when there isn't a 1?
Is it done completely different or the same way?
Answer
Since 17 and 33 are coprime, i.e. gcd(17,33)=1, we can find integers m and n for which 17m+33n=1. We can find m and n by using the Extended Eulidean Algorithm.
We see that m=2 and n=−1, which gives 17×2+33×(−1)=1. Reducing both sides modulo 33 gives 17×2≡1mod33, i.e. 2 is the multiplicative inverse of 17, modulo 33.
Coming back to 17x≡25mod33. If we multiply both sides by the multiplicative inverse of 17, i.e. 2, we get 34x≡50mod33, i.e. 1x≡17mod33. Hence x=33k+17, where k is an integer.
No comments:
Post a Comment