OFFSET
1,4
LINKS
Bashir Ali and A. Umar, Some combinatorial properties of the alternating group, Southeast Asian Bulletin Math. 32 (2008), 823-830.
FORMULA
a(n) = n*A003221(n-1), (n > 0).
E.g.f.: (x*(1-x^2/2) * exp(-x))/(1-x).
D-finite with recurrence (-3*n+7)*a(n) +(n-2)*(3*n-10)*a(n-1) +(9*n-8)*(n-3)*a(n-2) +2*(3*n-2)*(n-2)*a(n-3)=0. - R. J. Mathar, Jul 06 2023
EXAMPLE
a(4) = 8 because there are exactly 8 even permutations (of a 4-set) having 1 fixed point, namely: (123), (132), (124), (142), (134), (143), (234), (243).
PROG
(PARI) x = 'x + O('x^30); Vec(serlaplace((x*(1-x^2/2) * exp(-x))/(1-x))) \\ Michel Marcus, Apr 04 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Abdullahi Umar, Oct 09 2008
EXTENSIONS
More terms from Alois P. Heinz, Nov 19 2013
STATUS
approved