OFFSET
0,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..16796
FORMULA
a(n) = n - A236855(n).
MATHEMATICA
A236855list[m_] := With[{r = 2*Range[2, m]-1}, Reverse[Map[Total[r-#] &, Select[Subsets[Range[2, 2*m-1], {m-1}], Min[r-#] >= 0 &]]]];
With[{m = 6}, Range[0, CatalanNumber[m]-1] - A236855list[m]] (* Generates C(m) terms *) (* Paolo Xausa, Feb 20 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Apr 18 2014
STATUS
approved