OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..200
FORMULA
a(n) ~ 2^(6*n+10)/(sqrt(3)*Pi*(5*n)^4). - Vaclav Kotesovec, Jul 18 2013
EXAMPLE
a(2) = 14: [(2,2,2),(0,2,2),(0,0,2),(0,0,0)], [(2,2,2),(0,2,2),(0,0,2),(0,0,1),(0,0,0)], [(2,2,2),(0,2,2),(0,1,2),(0,0,2),(0,0,0)], [(2,2,2),(0,2,2),(0,1,2),(0,0,2),(0,0,1),(0,0,0)], [(2,2,2),(0,2,2),(0,1,2),(0,1,1),(0,0,1),(0,0,0)], [(2,2,2),(1,2,2),(0,2,2),(0,0,2),(0,0,0)], [(2,2,2),(1,2,2),(0,2,2),(0,0,2),(0,0,1),(0,0,0)], [(2,2,2),(1,2,2),(0,2,2),(0,1,2),(0,0,2),(0,0,0)], [(2,2,2),(1,2,2),(0,2,2),(0,1,2),(0,0,2),(0,0,1),(0,0,0)], [(2,2,2),(1,2,2),(0,2,2),(0,1,2),(0,1,1),(0,0,1),(0,0,0)], [(2,2,2),(1,2,2),(1,1,2),(0,1,2),(0,0,2),(0,0,0)], [(2,2,2),(1,2,2),(1,1,2),(0,1,2),(0,0,2),(0,0,1),(0,0,0)], [(2,2,2),(1,2,2),(1,1,2),(0,1,2),(0,1,1),(0,0,1),(0,0,0)], [(2,2,2),(1,2,2),(1,1,2),(1,1,1),(0,1,1),(0,0,1),(0,0,0)].
MAPLE
a:= proc(n) option remember; `if`(n<3, [1, 1, 14][n+1],
((n+1)*(665*n^3-1433*n^2+980*n-204) *a(n-1)
-(n-2)*(1615*n^3-3218*n^2+1521*n-342) *a(n-2)
+192*(5*n-1)*(n-3)*(n-2)^2 *a(n-3)) /
(2*(n+2)*(5*n-6)*(n+1)^2))
end:
seq(a(n), n=0..30);
MATHEMATICA
b[l_] := b[l] = If[l[[-1]] == 0, 1, Sum[Sum[b[ReplacePart[l, i -> j]], {j, If[i == 1, 0, l[[i-1]]], l[[i]] - 1}], {i, 1, Length[l]}]];
a[n_] := b[Array[n&, 3]];
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Jul 16 2013
STATUS
approved