OFFSET
0,13
COMMENTS
Non-dominating sets are just those that are contained in the union of a single row and column minus the intersecting vertex.
LINKS
Andrew Howroyd, Table of n, a(n) for n = 0..1325 (first 51 antidiagonals)
Eric Weisstein's World of Mathematics, Dominating Set.
Eric Weisstein's World of Mathematics, Rook Complement Graph.
FORMULA
T(n,m) = 2^(n*m) - n*(2^m-2) - m*(2^n-2) + n*m - n*m*(2^(m-1)-1)*(2^(n-1)-1) + n*(n-1)*m*(m-1)/2 - 1 for n > 1, m > 1.
T(n,m) = T(m,n).
EXAMPLE
Array begins:
===============================================================
n\m | 0 1 2 3 4 5 6 ...
----+----------------------------------------------------------
0 | 1 1 1 1 1 1 1 ...
1 | 1 1 1 1 1 1 1 ...
2 | 1 1 9 39 183 833 3629 ...
3 | 1 1 39 421 3825 32047 260355 ...
4 | 1 1 183 3825 64727 1046425 16771879 ...
5 | 1 1 833 32047 1046425 33548731 1073727713 ...
6 | 1 1 3629 260355 16771879 1073727713 68719441881 ...
7 | 1 1 15291 2092909 268422785 34359704907 4398046428559 ...
...
PROG
(PARI) T(n, m) = if(n<=1 || m<=1, 1, 2^(n*m) - n*(2^m-2) - m*(2^n-2) + n*m - n*m*(2^(m-1)-1)*(2^(n-1)-1) + n*(n-1)*m*(m-1)/2 - 1)
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Andrew Howroyd, May 20 2025
STATUS
approved
