OFFSET
0,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..1000
EXAMPLE
a(3) = 14 = (1, 1, 2, 4) dot (1, 3, 3, 1) = (1 + 3 + 6 + 4).
MAPLE
b:= proc(n) option remember; add(`if`(k=0, 1,
`if`(k::odd, 0, b(k/2)))*binomial(n, k), k=0..n)
end:
a:= n-> add(b(k)*binomial(n, k), k=0..n):
seq(a(n), n=0..40); # Alois P. Heinz, Jul 08 2015
MATHEMATICA
b[n_] := b[n] = Sum[If[k == 0, 1, If[OddQ[k], 0, b[k/2]]]*Binomial[n, k], {k, 0, n}];
a[n_] := Sum[b[k]*Binomial[n, k], {k, 0, n}];
Table[a[n], {n, 0, 40}] (* Jean-François Alcover, Jun 04 2018, from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Gary W. Adamson, Nov 29 2008
EXTENSIONS
A-Number corrected by R. J. Mathar, Apr 04 2012
STATUS
approved