OFFSET
0,2
MATHEMATICA
Table[ BitXor[4n, 2n], {n, 0, 60}] (* Robert G. Wilson v, Jul 06 2006 *)
PROG
(PARI) a(n)=bitxor(2*n, 4*n) \\ Charles R Greathouse IV, Oct 03 2016
(Python)
def A048726(n): return (n^ n<<1)<<1 # Chai Wah Wu, Jun 29 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Antti Karttunen, Apr 26 1999
STATUS
approved