WOLFRAM|DEMONSTRATIONS PROJECT

Mixed Base Gray Codes

​
most significant base
middle base
least significant base
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
-1+
b
1
×
b
2
×
b
3
.