Adding one to the number 9 changes two positions in its decimal represention. Gray code representations always differ by exactly one digit when the difference of the numbers is one. Gray codes can be generated for mixed bases as well. Change the bases to compare mixed base representations of the range 0 to .