OFFSET
0,11
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
Wikipedia, Bitwise operation
MAPLE
a:= n-> Bits[Xor](n, (s-> parse(cat(s[-i]$i=1..length(s))))(""||n)):
seq(a(n), n=0..80);
MATHEMATICA
Table[BitXor[n, FromDigits[Reverse[IntegerDigits[n]]]], {n, 0, 65}] (* Ivan N. Ianakiev, Apr 10 2015 *)
PROG
(PARI) a(n) = bitxor(n, subst(Polrev(digits(n)), x, 10)); \\ Michel Marcus, Apr 10 2015
CROSSREFS
KEYWORD
AUTHOR
Alois P. Heinz, Apr 09 2015
STATUS
approved