OFFSET
1,2
COMMENTS
Inverse permutation of A227987.
LINKS
EXAMPLE
For n=28927:
(1) binary representation of n = "111000011111111",
(2) run lengths of n = [1+2,1+3,1+7],
(3) run lengths of a(n) = [1+2,1+(2 XOR 3),1+(3 XOR 7)]=[3,2,5],
(4) binary representation of a(n) = "1110011111",
(5) a(n) = 927.
PROG
(Perl) See Link section.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paul Tek, Aug 06 2013
STATUS
approved