OFFSET
0,3
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..8000
EXAMPLE
Triangle begins
0;
1, 4;
2, 3, 8;
3, 6, 9, 12;
4, 5, 6, 7, 16;
PROG
(Haskell)
import Data.Bits (xor, (.&.), shift)
a201651 :: Integer -> Integer -> Integer
a201651 n 0 = n
a201651 n k = a054240 (n `xor` k) (shift (n .&. k) 2)
a201651_row n = map (a054240 n) [0..n]
a201651_tabl = map a201651_row [0..]
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Reinhard Zumkeller, Dec 03 2011
STATUS
approved