Your problem is a restatement of the division algorithm.
If the LHS is congruent to b mod n, the for some integer k, it equals kn+b.
a+x=kn+b should be close enough to the division algorithm that you can take it from there.
Hello Mathematicians,
I've come to bother you again. This is a homework problem, so please, offer only hints if you can, especially since I think this problem should be easy for me (it has the stench of something that is straight forward).
Problem:
Prove that if is a positive integer, and , then there is an integer such that
Things that may come in handy:
As the title suggests, I have a strong gut feeling that I'm supposed to use the Division Algorithm here. But I can't seem to make it fit together nicely.
The Division Algorithm: If with , then there exists unique integers and such that
What I've Tried:
Okay, so I decided to try and make this work by the division algorithm.
Now, means that for
By the Division Algorithm, if with , then there are unique integers and such that
for
...and I'm stuck there...
I was thinking of choosing , and . so the integer I am looking for would be
but I don't think that proves anything, nor am I sure that I can actually choose them like that...
Help
Thanks guys (and gals -- dedicated to JaneBennet)
that would mean k has to be zero. but that's fine right? since we only want to find some x in existence. b - a is an integer if a and b are, so i guess that works...
i guess i was looking for something more general (we don't even need the division algorithm to know that works), but that is simple and nice