October 1st, 2018, 04:51 AM  #1 
Member Joined: Apr 2011 Posts: 31 Thanks: 0  Modulo negative integer
Why can't we have modulo negative number? I have never seen this.

October 1st, 2018, 04:57 AM  #2 
Senior Member Joined: Feb 2016 From: Australia Posts: 1,737 Thanks: 606 Math Focus: Yet to find out.  
October 1st, 2018, 05:02 AM  #3  
Senior Member Joined: Oct 2009 Posts: 627 Thanks: 190  Quote: This is indeed very uncommon, but it is entirely welldefined. Notice that x=y mod N if and only if N divides xy. But N divides xy if and only if N divides xy. So modulo N is the same as modulo N. Even modulo 0 and modulo 1 are welldefined. The integers modulo 0 are just the integers themselves, for example.  

Tags 
integer, modulo, negative 
Thread Tools  
Display Modes  

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Each integer is congruent modulo n to precisely one of the integers 0,1,...,n1.  beesee  Number Theory  1  January 5th, 2017 05:09 AM 
How to find out modulo 2*pi of a negative radian?  iVenky  Number Theory  1  March 28th, 2013 10:28 AM 
Negative Modulo Arithmetic  Newton31619  Number Theory  3  April 1st, 2012 10:55 PM 
modulo division with negative power ?  smslca  Number Theory  0  January 5th, 2012 05:13 AM 
Modulo and Integer Division  Articuno  Number Theory  10  June 14th, 2009 01:11 PM 