Tuesday, December 22, 2015

modular arithmetic - Find all solutions; 17xequiv25(textmod33)





Find all solutions xZm of the following congruence
whereby m is the modulus. If there doesn't exist a solution, state
why.17x25( 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×21mod33, i.e. 2 is the multiplicative inverse of 17, modulo 33.



Coming back to 17x25mod33. If we multiply both sides by the multiplicative inverse of 17, i.e. 2, we get 34x50mod33, i.e. 1x17mod33. Hence x=33k+17, where k is an integer.


No comments:

Post a Comment

analysis - Injection, making bijection

I have injection f:AB and I want to get bijection. Can I just resting codomain to f(A)? I know that every function i...