0,2

Every value appears once. Inverse of A059884. Similar to A052330 (they diverge at n=16) but assigns bits via interleaving versus numerical order.

Table of n, a(n) for n=0..58.

Index entries for sequences that are permutations of the natural numbers

To find a(7): 7 = ...000111; ... 0 0 1 1 = 3 -> 2^3 = 8; ... 0 1 = 1 -> 3^1 = 3; so a(7) = 3*8 = 24.

A059884, A052330.

Sequence in context: A121663 A096112 A052330 * A123664 A084980 A101369

Adjacent sequences: A059897 A059898 A059899 * A059901 A059902 A059903

base,easy,nonn

Marc LeBrun, Feb 07 2001

approved