I've always been interested in
Gray codes. More recently, I became aware of the concept of a "balanced Gray code", i.e. one in which each bit in the code will "toggle" (transition from 0 to 1 or vice-versa) an equal number of times. I once wrote a program to find a 4-bit balanced Gray code almost instantaneously, but searching for an 8-bit version
(
Read more... )