OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..10000
FORMULA
a(n) = A246830(2n,n).
EXAMPLE
a(0) = (0|0)_2 = 0.
a(1) = (1|11)_2 = 7.
a(2) = (10|110)_2 = 22.
a(3) = (11|1001)_2 = 57.
a(4) = (100|1100)_2 = 76.
a(5) = (101|1111)_2 = 95.
MAPLE
f:= proc(i, j) local r, h, k; r:=0; h:=0; k:=j;
while k>0 do r:=r+2^h*irem(k, 2, 'k'); h:=h+1 od; k:=i;
while k>0 do r:=r+2^h*irem(k, 2, 'k'); h:=h+1 od; r
end:
a:= n-> f(n, 3*n):
seq(a(n), n=0..60);
PROG
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alois P. Heinz, Sep 04 2014
STATUS
approved