# The Residue Number System

1. Nov 22, 2009

### flouran

I was wondering what the residue number representation of -1 was? (Or for negative numbers in general)

Thanks,
flouran

2. Nov 22, 2009

### robert Ihnot

If the modulus is M, then we can take M-1.

3. Nov 22, 2009

### flouran

The residue representation of -1 in $$Z_{42}$$ is (-1,-1,-1).