Instinctlol said:
My approach is correct, since I got the correct answer. I'm not quite sure what you are doing with the subscripts
my guess is, you are learning some number theory.
my second guess is, you are more comfortable with writing:
a = b + kn than:
a = b (mod n).
what i am "doing with the subscripts" is this:
[a]
n = b, where a = b + kn, and 0 ≤ b < n.
the reason for the brackets is that [a]
n = [a+n]
n, that is: a = a+n (mod n), but surely a and a+n aren't the same integer.
often, working with the integers mod n, the brackets are omitted (as being "understood we are working mod n").
here's the thing:
if a = b (mod n) and c = d (mod n), then (a+c) = (b+d) (mod n), and ab = cd (mod n).
well there are only n "remainder classes" mod n. this reduces the (possibly infinite) number of cases about integers, to just n cases. one can consider "numbers of the form":
0 + kn
1 + kn
2 + kn
...
(n-1) + km
but the arithmetic involved "carrying the terms involving n" is much more tedious to work with, and they don't affect the answer we're looking for. in other words, modular arithmetic is invoked to make things EASIER.
you seem to be of the view, that as long as you get the correct answer correctly, that you're good. that is only half true. homework questions are not "real problems", they are usually "invented" by a professor or text author as "practice" to test your understanding of the ideas involved. later, you will use the ideas involved in situations where the "answer" may not be known. in such a situation, "checking to see if your answer is right" is useless, the only guide you have is your confidence in your methods.
i sense a certain reluctance in you to embrace modular arithmetic. my suspicion is, this will not be a fruitful stategy for you in the long run, and may cause difficulties for you later on.
******
as others have remarked in this thread, the definition of "MOD" and the "QRT" are mirrors of each other:
a = b + kn if and only if a = b (mod n).
if i (personally) am working thorugh an equation involving "divisibility by n":
[a] =
is much more straight-forward that a = b + kn, since i really don't care about which integer k is.