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