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

October 1st, 2018, 03:57 AM  #2 
Senior Member Joined: Feb 2016 From: Australia Posts: 1,826 Thanks: 646 Math Focus: Yet to find out.  
October 1st, 2018, 04:02 AM  #3  
Senior Member Joined: Oct 2009 Posts: 817 Thanks: 309  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 04:09 AM 
How to find out modulo 2*pi of a negative radian?  iVenky  Number Theory  1  March 28th, 2013 09:28 AM 
Negative Modulo Arithmetic  Newton31619  Number Theory  3  April 1st, 2012 09:55 PM 
modulo division with negative power ?  smslca  Number Theory  0  January 5th, 2012 04:13 AM 
Modulo and Integer Division  Articuno  Number Theory  10  June 14th, 2009 12:11 PM 