Anything related to Gray code, also known as reflected binary code, i.e. a n-bit binary code where any one of the 2^n binary code words differs from the next in just one bit position.
I don't understand how to calculate the 9's complement of a binary number. I can apply it to decimal ones, …
binary bcd truthtable complement gray-codeThe Challenge The shortest program by character count that outputs the n-bit Gray Code. n will be an arbitrary number …
algorithm code-golf gray-code