OFFSET
0,2
MATHEMATICA
T[_, 0] = T[_, 1] = T[_, 2] = 1;
T[n_, k_] := T[n, k] = If[k < 2n, T[n-1, k-3] + T[n-1, k-2] + T[n-1, k-1], T[n-1, 2n-3] + T[n-1, 2n-2]];
a[n_] := Sum[T[n, k] T[n, n+k], {k, 0, n}];
a /@ Range[0, 22] (* Jean-François Alcover, Sep 26 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved