STATUS
proposed
approved
proposed
approved
editing
proposed
b[n_, i_] := b[n, i] = If[i(i+1)/2 < n, 0, If[n == 0, 1, b[n, i - 1] + If[i > n || Abs[i - (n - i)] > 1, 0, b[n - i, i - 1]]]];
a[n_] := b[n, n];
a /@ Range[0, 120] (* Jean-François Alcover, Dec 11 2020, after Alois P. Heinz *)
approved
editing
editing
approved
a(2^n) = 0 for n > 0.
a(2^n-1) = 1 for n >= 0.
approved
editing
editing
approved
editing
approved
a(25) = 3: (12)6421, (12)7321, (13)6321.
approved
editing
editing
approved