OFFSET
0,3
COMMENTS
Number of partitions of a 2n-set into blocks congruent to 2 mod 4.
FORMULA
a(n) = (2*n)! * [x^(2*n)] exp((cosh(x) - cos(x))/2).
MATHEMATICA
nmax = 19; Table[(CoefficientList[Series[Exp[(Cosh[x] - Cos[x])/2], {x, 0, 2 nmax}], x] Range[0, 2 nmax]!)[[n]], {n, 1, 2 nmax + 1, 2}]
a[n_] := a[n] = Sum[Boole[MemberQ[{2}, Mod[k, 4]]] Binomial[n - 1, k - 1] a[n - k], {k, 1, n}]; a[0] = 1; Table[a[2 n], {n, 0, 19}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, May 08 2019
STATUS
approved