OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..1000
MATHEMATICA
T[_, 0] = 1; T[n_, n_] = 1; T[n_, k_] /; EvenQ[k] && 1 <= k/2 <= Floor[n/4] || EvenQ[n - k] && 1 <= (n - k)/2 <= Floor[n/4] := T[n, k] = T[n - 1, k - 1] + T[n - 2, k - 1] + T[n - 1, k]; T[n_, k_] := T[n, k] = T[n - 1, k - 1] + T[n - 1, k];
a[n_] := Sum[T[n - k, k], {k, 0, Floor[n/2]}];
Table[a[n], {n, 0, 34}] (* Jean-François Alcover, Jul 02 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved