OFFSET
0,3
FORMULA
a(n)-a(n-1) = A005165(n).
a(n) = Sum_{i=0.. (n-1)/2) } (n-2*i)!.
D-finite with recurrence a(n) -n*a(n-1) -a(n-2) +n*a(n-3)=0.
a(n) = n! + a(n-2) for n >= 2. - Alois P. Heinz, Jun 04 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. J. Mathar, Jun 04 2021
STATUS
approved