OFFSET
0,4
COMMENTS
Number of n X n binary matrices with 2 ones in every column and no empty rows. - Andrew Howroyd, Dec 15 2018
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..100
FORMULA
a(n) = Sum_{i=0..n} (-1)^(n-i)*binomial(n,i)*binomial(i,2)^n. - Andrew Howroyd, Dec 15 2018
MATHEMATICA
a[0]=1; a[n_] := Sum[(-1)^(n-i)((i-1)i)^n Binomial[n, i], {i, 0, n}]/2^n;
Array[a, 17, 0] (* Jean-François Alcover, Aug 27 2019 *)
PROG
(PARI) a(n)=sum(i=0, n, (-1)^(n-i)*binomial(n, i)*binomial(i, 2)^n) \\ Andrew Howroyd, Dec 15 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 03 2001
EXTENSIONS
a(0)=1 prepended by Andrew Howroyd, Dec 15 2018
STATUS
approved