login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A238728 Number of standard Young tableaux with n cells where the largest value n is contained in the last row. 4

%I #16 Feb 07 2017 10:24:10

%S 1,1,2,3,7,14,41,107,337,1066,3691,12962,49061,188894,766845,3182844,

%T 13758383,60858842,278312475,1301323108,6258671365,30742575588,

%U 154785692507,794888735945,4173162573277,22318859784416,121767607626621,676010926754742

%N Number of standard Young tableaux with n cells where the largest value n is contained in the last row.

%C a(0) = 1 by convention.

%C Also number of ballot sequences of length n where the last position has a maximal value.

%C Main diagonal of A238727.

%H Joerg Arndt and Alois P. Heinz, <a href="/A238728/b238728.txt">Table of n, a(n) for n = 0..60</a>

%H Wikipedia, <a href="https://en.wikipedia.org/wiki/Young_tableau">Young tableau</a>

%e a(4) = 7 counts the following tableaux:

%e [1] [1 2] [1 3] [1 2 3] [1 2] [1 3] [1 2 3 4]

%e [2] [3] [2] [4] [3 4] [2 4]

%e [3] [4] [4]

%e [4]

%e corresponding to the following ballot sequences: [1,2,3,4], [1,1,2,3], [1,2,1,3], [1,1,1,2], [1,1,2,2], [1,2,1,2], [1,1,1,1].

%p h:= proc(l) local n; n:=nops(l); add(i, i=l)!/mul(mul(1+l[i]-j+

%p add(`if`(l[k]>=j, 1, 0), k=i+1..n), j=1..l[i]), i=1..n) end:

%p g:= l->`if`(l=[], 1, h(subsop(-1=`if`(l[-1]=1, [][], l[-1]-1), l))):

%p b:= proc(n, i, l) `if`(n=0 or i=1, g([l[], 1$n]),

%p add(b(n-i*j, i-1, [l[], i$j]), j=0..n/i)) end:

%p a:= n-> b(n, n, []):

%p seq(a(n), n=0..28);

%t h[l_List] := 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[l_List] := If[l == {}, 1, h[If[Last[l] == 1, Most[l], Append[Most[l], Last[l]-1]]]]; b[n_, i_, l_List] := If[n == 0 || i == 1, g[Join[l, Array[1&, n]]], Sum[b[n-i*j, i-1, Join[l, Array[i&, j]]], {j, 0, n/i}]]; a[n_] := b[n, n, {}]; Table[a[n], {n, 0, 28}] (* _Jean-François Alcover_, Feb 12 2015, after Maple *)

%K nonn

%O 0,3

%A _Joerg Arndt_ and _Alois P. Heinz_, Mar 03 2014

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 05:37 EDT 2024. Contains 371906 sequences. (Running on oeis4.)