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.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.