OFFSET
0,4
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..350
INRIA Algorithms Project, Encyclopedia of Combinatorial Structures 626
FORMULA
E.g.f.: x^3/(1 - 3*x).
Recurrence: a(0)=0, a(1)=0, a(2)=0, a(3)=6, a(n) = 3*n*a(n-1).
a(n) = 3^(n-3)*n!, n>2.
MAPLE
spec := [S, {S=Prod(Z, Z, Z, Sequence(Union(Z, Z, Z)))}, labeled]: seq(combstruct[count](spec, size=n), n=0..20);
MATHEMATICA
Table[If[n<3, 0, 3^(n-3)*n!], {n, 0, 30}] (* G. C. Greubel, Jun 11 2022 *)
PROG
(SageMath) [0, 0, 0]+[3^(n-3)*factorial(n) for n in (3..30)] # G. C. Greubel, Jun 11 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
encyclopedia(AT)pommard.inria.fr, Jan 25 2000
STATUS
approved