Can we have negative modulo in modular arithmetic?

49 Views Asked by At

Why can't we have modulo to a negative number? I have never seen this.

1

There are 1 best solutions below

0
On

We can, but you'll notice by looking at the definition that $a\equiv b\pmod {(-n)}\iff a\equiv b\pmod n$, so it's a bit silly.