OFFSET
1,7
FORMULA
T(n, d) = (n^(2d) - (3n-2)^d) / 2 for n>0, d>0.
EXAMPLE
The table begins:
0 0 0 0 0 ...
0 0 0 0 0 ...
1 16 193 2080 21121 ...
3 78 1548 27768 474288 ...
6 228 6714 181032 4697166 ...
There are T(3, 4) = 2080 ways to place 2 nonattacking kings on a 3^4 (3 X 3 X 3 X 3) hypercubical chessboard.
The antidiagonals are read from southwest to northeast.
CROSSREFS
KEYWORD
nonn,tabl
AUTHOR
Andrew Woods, Aug 30 2011
STATUS
approved