I'm just starting to learn the three types of proofs and I came across this question.
a mod b = b mod a iff a=b
I tried looking for solution to prove this but couldn't find it. Most examples I have are of the same divisor like: a mod n = b mod n. But i couldn't find anything on this.
I assumed it would be by using a contradiction proof but what got me confused is the if and only if condition.
Thanks for any help you send this way!!