- #1

- 11

- 0

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.