login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A082963
Number of n X n 0-1 matrices with half 1's and half 0's (rounded up/down if odd).
10
1, 1, 2, 23, 1674, 652048, 1134460910, 7900674292378, 229078019084673798, 26549036304190836144544, 12611418068196090318131968752, 23955745839516317585042064530077352, 185026624806098273753009169783707528668060
OFFSET
0,3
FORMULA
a(n) = A054252(n, floor(n^2/2)).
PROG
(PARI)
C(n, f)={(f(1)^(n^2) + 2*f(1)^((n%2)*n)*f(2)^((n\2)*n) + 2*f(1)^n*f(2)^binomial(n, 2) + f(1)^(n%2)*f(2)^(n^2\2) + 2*f(1)^(n%2)*f(4)^(floor(n/2)*ceil(n/2)))/8}
a(n)={polcoef(C(n, k->1 + x^k), n^2\2)} \\ Andrew Howroyd, Feb 01 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladeta Jovovic, May 27 2003
EXTENSIONS
Terms a(12) and beyond from Andrew Howroyd, Feb 01 2020
STATUS
approved