Which of the following BCD code, is a sequential code and therefore can be used for arithmetic operations as well as has six invalid states 0000, 0001, 0010, 1101, 1110 and 1111?
1
The excess three code
2
Error detecting code
3
The 8421 BCD code
4
The Gray code