 The bit positions start 0, 1, 0, 2, 0, 1, 0, 3, … .See find first set for efficient algorithms to compute these values.The following functions in C convert between binary numbers and their associated Gray codes.