GRAY CODE- DECIMAL VALUE, BINARY VALUE
( decimal should be read 1 less than what appears here )
2n + 2 for n!=1