OFFSET
0,2
COMMENTS
Like in binary Gray code A003188, also in this permutation the binary expansions of a(n) and a(n+1) differ always by just a single bit-position, that is, A000120(A003987(a(n),a(n+1))) = 1 for all n >= 0. Here A003987 computes bitwise-XOR of its two arguments. This is true for any composition P(A003188(n)), where P is a permutation that permutes the bit-positions of binary expansion of n in some way.
LINKS
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Antti Karttunen & Peter Munn, Apr 15 2018
STATUS
approved