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!)
A230878 Irregular triangle read by rows: T(n,k) = number of 2-packed n X n matrices with exactly k nonzero entries (0 <= k <= n^2). 3

%I #16 Oct 08 2017 08:56:43

%S 1,0,2,0,0,8,32,16,0,0,0,48,720,2880,4992,4608,2304,512,0,0,0,0,384,

%T 13824,143872,739328,2320896,4964352,7659520,8749056,7421952,4587520,

%U 1966080,524288,65536,0,0,0,0,0,3840,268800,5504000,57068800,372416000

%N Irregular triangle read by rows: T(n,k) = number of 2-packed n X n matrices with exactly k nonzero entries (0 <= k <= n^2).

%C A k-packed matrix of size n X n is a matrix with entries in the alphabet A_k = {0,1, ..., k} such that each row and each column contains at least one nonzero entry.

%H Andrew Howroyd, <a href="/A230878/b230878.txt">Table of n, a(n) for n = 0..662</a> (rows 0..12 flattened)

%H H. Cheballah, S. Giraudo, R. Maurice, <a href="http://arxiv.org/abs/1306.6605">Combinatorial Hopf algebra structure on packed square matrices</a>, arXiv preprint arXiv:1306.6605 [math.CO], 2013.

%F From _Andrew Howroyd_, Sep 20 2017: (Start)

%F T(n, k) = Sum_{i=0..n} Sum_{j=0..n} (-1)^(i+j) * binomial(n,i) * binomial(n,j) * binomial(i*j,k) * 2^k.

%F T(n, k) = 0 for n > k.

%F T(n, n) = A000165(n).

%F (End)

%e Triangle begins:

%e 1

%e 0 2

%e 0 0 8 32 16

%e 0 0 0 48 720 2880 4992 4608 2304 512

%e ...

%t p[k_, n_, l_] := Sum[(-1)^(i+j)*Binomial[n, i]*Binomial[n,j]*Binomial[i*j, l]*k^l, {i, 0, n}, {j, 0, n}];

%t T[n_, k_] := p[2, n, k];

%t Table[T[n, k], {n, 0, 5}, {k, 0, n^2}] // Flatten (* _Jean-François Alcover_, Oct 08 2017, translated from PARI *)

%o (PARI) \\ T(n,k) = p(2,n,k) (see Cheballah et al. ref).

%o p(k,n,l) = {sum(i=0, n, sum(j=0, n, (-1)^(i+j) * binomial(n,i) * binomial(n,j) * binomial(i*j,l) * k^l))}

%o for (n=0,5, for(k=0,n^2, print1(p(2,n,k), ", ")); print); \\ _Andrew Howroyd_, Sep 20 2017

%Y Row sums are A230879.

%Y Column sums are A230880.

%Y Cf. A000165, A055599.

%K nonn,tabf

%O 0,3

%A _N. J. A. Sloane_, Nov 09 2013

%E Terms a(18) and beyond from _Andrew Howroyd_, Sep 20 2017

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 September 14 21:48 EDT 2024. Contains 375929 sequences. (Running on oeis4.)