2421 Code
This is a weighted code, its weight are 2, 4, 2 and 1. A decimal number is represented in 4-bit form and total weight of the four bits = 2 + 4 + 2 + 1 = 9. Hence the 2421 code represents decimal number 0 to 9.
Originally posted by: jmcoreymv
Wow must of missed that. Alright cool thanks. Do you know why 2421 is useful?
Excess-3 and BCD 2421 were devised so that bitwise complementation
will give the 9's complement (the radix 2 analog of 1's complement)
of the decimal number, making hardware implementation require more
simple circuitry.