Article ID Journal Published Year Pages File Type
4649924 Discrete Mathematics 2008 11 Pages PDF
Abstract

The binary reflected Gray code function b is defined as follows: If m   is a nonnegative integer, then b(m)b(m) is the integer obtained when initial zeros are omitted from the binary reflected Gray code of m.This paper examines this Gray code function and its inverse and gives simple algorithms to generate both. It also simplifies Conder's result that the jth letter of the kth word of the binary reflected Gray code of length n is 2n-2n-j-1⌊2n-2n-j-1-k/2⌋mod2by replacing the binomial coefficient by k-12n-j+1+12.

Related Topics
Physical Sciences and Engineering Mathematics Discrete Mathematics and Combinatorics
Authors
, , ,