OFFSET
0,3
LINKS
Peter Luschny, The lost Catalan numbers.
FORMULA
a(n) = ((n+1) mod 2) + (1/2)*sum_{k=1..n}((-1)^k*binomial(n,k)*((k+1)/2)^(k mod 2)*(k+1)$+2*(-1)^n*(2*k)$/(k+1)), where n$ denotes the swinging factorial A056040(n).
MAPLE
MATHEMATICA
a[0] = 1; a[n_] := a[n] = Sum[(n-1)!/((n-k-1)!*Quotient[k, 2]!^2*(1 + Quotient[k, 2])), {k, 0, n-1}] - a[n-1]; Table[a[n], {n, 0, 30}] (* Jean-François Alcover, Jul 30 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter Luschny, Aug 30 2011
STATUS
approved