For a binary reflected Gray code, the (Hamming/Euclidean) distance between 2 subsequent points x and y is 1, say in coordinate k. If y has a 1 in coordinate k and x has a 0, than (x,y) is indicated by k, if it is the other way around, (x,y) is indicated by -k. The sequence has a fractal character such that G(d+1) = G(d) d+1 R(G(d)) where R(G(d)) alters d --> -d and leaves all other numbers invariant.
A164677
For a binary reflected Gray code, the (Hamming/Euclidean) distance between 2 subsequent points x and y is 1, say in coordinate k. If y has a 1 in coordinate k and x has a 0, than (x,y) is indicated by k, if it is the other way around, (x,y) is indicated by -k. The sequence has a fractal character such that G(d+1) = G(d) d+1 R(G(d)) where R(G(d)) alters d --> -d and leaves all other numbers invariant.
Terms
- a(0) =1a(1) =2a(2) =-1a(3) =3a(4) =1a(5) =-2a(6) =-1a(7) =4a(8) =1a(9) =2a(10) =-1a(11) =-3a(12) =1a(13) =-2a(14) =-1a(15) =5a(16) =1a(17) =2a(18) =-1a(19) =3a(20) =1a(21) =-2a(22) =-1a(23) =-4a(24) =1a(25) =2a(26) =-1a(27) =-3a(28) =1a(29) =-2
External references
- oeis: A164677