Hey, I'm reading through some notes, and I don't really understand congruent modulos I was hoping someone could explain better than the sites I found on google. Am I solving for something? I see a bunch of examples, but I don't understand what the problem is, or what I'm solving for... a = b (mod p) -1 = 1 (mod 2) -12 = 3 (mod 5) I don't understand how the negative numbers work. 22 = 1 (mod 3) 12 = 2 (mod 5) What I'm getting right now is 22/3 is remainder 1. and 12/5 is remainder 2.. but for -12/5.. wouldn't the remainder be -2? and -1/2.. wouldn't the remainder be -1? Sorry if this seems like a dumb question, thanks in advance.