Glixon code
A distinction is made between single-step and multi-step codes. Single-step codes are those in which a code word differs by only one bit from the previous and subsequent code word.
In the case of the Glixon code, only one bit changes at a time. The Hamming distance is 1. The one-step codes include the Gray code, Glixon code, Petherick code, Tompkins code and the O'Brien code.
The Glixon code is similar in structure to the Gray code. The decimal 0 corresponds to the code word 0000, the decimal 1 to the code word 0001, and the 2 to the bit combination 0011, as in the Gray code. Only at the decimal 9 do the two codes deviate from each other.
In the Gray code, the 9 corresponds to the bit combination 1101, in the Glixon code 1000. Both code words are single-step compared to the digit 8. From the digit 9 to 0 with the code word 0000, the Glixon code is also single-step.