Is 12(mod 13) the same as -1(mod 13)?

$\begingroup$

I'm in the process of studying for an exam and this just popped into my head. Sorry if it's a dumb question

$\endgroup$ 4

2 Answers

$\begingroup$

Yes, they are the same. Note that $(-1)+13=12$, so their difference is exactly the thing that is ignored by mod $13$!

$\endgroup$ 1 $\begingroup$

Indeed they are the same, although I'd write them either without brackets or with brackets around the whole expression.

I really wanted to add that that using the $(-1 \bmod 13)$ representation can be very useful, especially when try to find the result of a multiplication. For a simple example, $12\times 7 \bmod 13$ is easily converted to $12\times 7 \equiv -1\times 7 \equiv -7 \equiv 4 \bmod 13$

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like