OFFSET
1,2
COMMENTS
Number of {0,1} n X n matrices with no zero rows or no zero columns. - Geoffrey Critzer, Jan 15 2024
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..50
Eric Weisstein's World of Mathematics, Dominating Set
Eric Weisstein's World of Mathematics, Rook Graph
FORMULA
a(n) = (2^n-1)^n + Sum_{i=1..n-1} binomial(n,i) * A183109(n,i). - Andrew Howroyd, May 22 2017
MATHEMATICA
Table[(2^n - 1)^n + Sum[Binomial[n, i] Sum[(-1)^j (-1 + 2^(n - j))^i Binomial[n, j], {j, 0, n}], {i, n - 1}], {n, 20}] (* Eric W. Weisstein, May 27 2017 *)
PROG
(PARI)
b(m, n)=sum(j=0, m, (-1)^j*binomial(m, j)*(2^(m - j) - 1)^n);
a(n)=(2^n-1)^n + sum(i=1, n-1, b(n, i)*binomial(n, i)); \\ Andrew Howroyd, May 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Eric W. Weisstein, May 19 2017
EXTENSIONS
a(6)-a(12) from Andrew Howroyd, May 22 2017
STATUS
approved