OFFSET
0,4
FORMULA
a(n) = n! * Sum_{k=0..floor(n/3)} binomial(n-2*k,k)/(n-3*k)!.
a(n) == 1 (mod 6).
PROG
(PARI) a(n) = n!*sum(k=0, n\3, binomial(n-2*k, k)/(n-3*k)!);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jun 13 2024
STATUS
approved