 In the standard Gray coding the least significant bit follows a repetitive pattern of 2 on, 2 off the next digit a pattern of 4 on, 4 off; the n-th least significant bit a pattern of formula_1 on formula_1 off.More formally, a Gray code is a code assigning to each of a contiguous set of integers, or to each member of a circular list, a word of symbols such that no two code words are identical and each two adjacent code words differ by exactly one symbol.These codes are also known as "unit-distance", "single-distance", "single-step", "monostrophic" or "syncopic codes", in reference to the Hamming distance of 1 between adjacent codes.