proposed
approved
proposed
approved
editing
proposed
h[l_] := With[{n = Length[l]}, Total[l]!/Product[Product[1 + l[[i]] - j + Sum[If[l[[k]] >= j, 1, 0], {k, i + 1, n}], {j, 1, l[[i]]}], {i, 1, n}]];
g[n_, i_, l_] := g[n, i, l] = If[n == 0, h[l]^10, If[i < 1, 0, g[n, i - 1, l] + If[i > n, 0, g[n - i, i, Append[l, i]]]]];
a[n_] := If[n == 0, 1, g[n, n, {}]];
Table[a[n], {n, 0, 20}] (* Jean-François Alcover, May 18 2017, translated from Maple *)
approved
editing
editing
approved
Wikipedia, <a href="httphttps://en.wikipedia.org/wiki/Young_tableau">Young tableau</a>
approved
editing
editing
approved
h:= proc(l) local n; n:=nops(l); add(i, i=l)! /mul (mul (1+l[i]-j
+add (`if`(l[k]>=j, 1, 0), k=i+1..n), j=1..l[i]), i=1..n)
a:= n-> `if`(n=0, 1, g (n, n, [])):
seq (a(n), n=0..20);
approved
editing
editing
approved
Wikipedia, <a href="http://en.wikipedia.org/wiki/Young_tableau">Young tableau</a>
h:= proc(l) local n; n:=nops(l); add(i, i=l)! /mul (mul (1+l[i]-j
+add (`if`(l[k]>=j, 1, 0), k=i+1..n), j=1..l[i]), i=1..n)
end:
g:= proc(n, i, l) `if`(n=0, h(l)^10, `if`(i<1, 0, g(n, i-1, l)+
`if`(i>n, 0, g(n-i, i, [l[], i]))))
end:
a:= n-> `if`(n=0, 1, g (n, n, [])):
seq (a(n), n=0..20);
Alois P. Heinz, <a href="/A218437/b218437.txt">Table of n, a(n) for n = 0..60</a>