Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 4500 articles have referenced us, often saying "we would not have discovered this result without the OEIS".
This sequence is not a permutation of the integers which is self-inverse. But is it a permutation?
Table of n, a(n) for n=1..72.
f[n_] := BitXor[n, Floor[ Log[2, n]]]; Array[f, 75];
Sequence in context: A207636 A125764 A023897 * A100527 A063946 A154441
Adjacent sequences: A178751 A178752 A178753 * A178755 A178756 A178757
Robert G. Wilson v, Jun 09 2010