OFFSET
0,3
LINKS
S. B. Ekhad, D. Zeilberger, Computational and Theoretical Challenges on Counting Solid Standard Young Tableaux, arXiv:1202.6229v1 [math.CO], 2012.
Wikipedia, Young tableau
FORMULA
a(n) = A214722(n,n).
MAPLE
b:= proc(l) option remember; local m; m:= nops(l);
`if`({map(x-> x[], l)[]}={0}, 1, add(add(`if`(l[i][j]>
`if`(i=m or nops(l[i+1])<j, 0, l[i+1][j]) and l[i][j]>
`if`(nops(l[i])=j, 0, l[i][j+1]), b(subsop(i=subsop(
j=l[i][j]-1, l[i]), l)), 0), j=1..nops(l[i])), i=1..m))
end:
a:= n-> b([[n$n], [n]]):
seq(a(n), n=0..8);
MATHEMATICA
b[l_] := b[l] = With[{m = Length[l]}, If[Union[Flatten[l]] == {0}, 1, Sum[Sum[ If[l[[i, j]] > If[i == m || Length[l[[i+1]]]<j, 0, l[[i+1, j]]] && l[[i, j]] > If[Length[l[[i]]] == j, 0, l[[i, j+1]]], b[ReplacePart[l, i -> ReplacePart[ l[[i]], j -> l[[i, j]]-1]]], 0], {j, Length[l[[i]]]}], {i, m}]]];
a[n_] := b[{Array[n&, n], {n}}];
Table[a[n], {n, 0, 8}] (* Jean-François Alcover, Aug 25 2021, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Nov 06 2015
STATUS
approved