WOLFRAM|DEMONSTRATIONS PROJECT

Binary Gray Code

​
number of binary digits
bit differences
binary code
binary Gray code
Consecutive numbers may differ by many bits in an ordinary binary representation of integers; however, they differ by only one bit in the binary Gray code representation. The plots show ranges of numbers starting at 0 whose bits are given in columns counting from the left; the bit differences can be indicated automatically by color.