Binary Gray Code

Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
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.
Contributed by: Michael Schreiber (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
detailSectionParagraphPermanent Citation
"Binary Gray Code"
http://demonstrations.wolfram.com/BinaryGrayCode/
Wolfram Demonstrations Project
Published: March 7 2011