OFFSET
1,2
LINKS
Jonathan Fang, Zachary Hamaker, and Justin Troyka, On pattern avoidance in matchings and involutions, arXiv:2009.00079 [math.CO], 2020. See Theorem 1.6 (c).
MATHEMATICA
Array[Sum[Floor[k/2]! Floor[(# - k)/2]! Binomial[(# - Floor[k/2] - 1), # - k], {k, #}] &, 30]
PROG
(PARI) a(n) = sum(k=1, n, (k\2)! * ((n-k)\2)! * binomial(n-k\2-1, n-k)); \\ Michel Marcus, Nov 25 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael De Vlieger, Nov 25 2020
STATUS
approved