The number which, added to the given n-digit number in radix r, results in . In binary (), this is the ones complement; in decimal (), this is the nines complement.
The diminished radix complement of is .
See Also: complement, radix complement
Wikipedia foundation.