Ok, I found a lot of questions asking about solving a=b(modc) where you could divide a and b by some x where gcd(x,c)=1. How do you solve when this is not the case?
Suppose I have 10x≡5(mod15). How do I solve this? How can you solve to get a linear equation in x?
On inspection (and trying out values), I see that x=3n+2 is what I'm looking for. How can I get this mathematically?
And yes, this is homework, but I changed the numbers so that I could practice on the actual problem ;)
Answer
Hint mod mc: acx≡bc⟺mod m: ax≡bfor c≠0by mc| acx−bc⟺m | ax−bbecause acx−bcmc = ax−bm
No comments:
Post a Comment