%I #7 May 04 2013 18:28:49
%S 1,0,1,0,1,1,0,0,2,1,0,0,2,3,1,0,0,1,5,4,1,0,0,0,6,9,5,1,0,0,0,5,15,
%T 14,6,1,0,0,0,3,20,29,20,7,1,0,0,0,1,22,49,49,27,8,1,0,0,0,0,20,71,98,
%U 76,35,9,1,0,0,0,0,15,90,169,174,111,44,10,1,0,0,0,0,9,101,259,343,285
%N Table by antidiagonals of Mahonian numbers T(n,k): permutations of n letters with k inversions.
%D R. P. Stanley, Enumerative Combinatorics, Cambridge, Vol. 1, 1999; see Corollary 1.3.10, p. 21.
%F T(n, k)=sum_{j=0..n}[T(n-1, k-j)].
%F Product (1+x+...+x^k), k=1..n-1 = Sum T(n, k)x^k, k=0..n(n-1)/2.
%e 1;
%e 0,1;
%e 0,1,1;
%e 0,0,2,1;
%e 0,0,2,3,1;
%e 0,0,1,5,4,1;
%e 0,0,0,6,9,5,1; ...
%e [1, 4, 2, 3], [1, 3, 4, 2], [2, 1, 4, 3], [2, 3, 1, 4], [3, 1, 2, 4] have 2 inversions so T(4, 2)=5.
%o (PARI) T(n,k)=polcoeff(prod(j=1,n-1,sum(i=0,j,x^i)),k)
%Y A008302 is the main entry for these numbers. Columns include A000012, A000027, A000096, A005286, A005287, A005288. Diagonals include A000707, A001892, A001893, A001894, A005283, A005284, A005285.
%K nonn,tabl
%O 0,9
%A _Henry Bottomley_, Apr 25 2001
%E Additional comments from _Michael Somos_, Jun 23 2002.
|