OFFSET
0,3
LINKS
Michael De Vlieger, Table of n, a(n) for n = 0..332
FORMULA
a(n) = n! * Sum_{k=0..n} (3*n-k+1)^(k-1) * binomial(n-1,n-k)/k!.
MATHEMATICA
Array[#!*Sum[ (3 # - k + 1)^(k - 1)*Binomial[# - 1, # - k]/k!, {k, 0, #}] &, 18, 0] (* Michael De Vlieger, Aug 18 2023 *)
PROG
(PARI) a(n) = n!*sum(k=0, n, (3*n-k+1)^(k-1)*binomial(n-1, n-k)/k!);
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Aug 15 2023
STATUS
approved