OFFSET
1,5
COMMENTS
T(0,0):=1 for combinatorial reasons.
A semi-queen can only move horizontal, vertical and parallel to the main diagonal of the board. Moves parallel to the secondary diagonal are not allowed.
Instead of a board on a torus, you can imagine that the semi-queens can leave a flat board on one side and re-enter the board on the other side.
LINKS
Walter Trump, Table of n, a(n) for n = 1..222
Walter Trump, Semi-queen problem
FORMULA
T(n,0) = 1.
T(n,1) = n^2.
T(n,2) = n^2*(n-1)*(n-2)/2.
T(n,3) = n^2*(n-1)*(n-2)*(n^2-6n+10)/6.
T(2n+1,2n+1) = A006717(n).
T(2n,2n) = 0.
EXAMPLE
1;
1, 1;
1, 4, 0;
1, 9, 9, 3;
1, 16, 48, 32, 0;
1, 25, 150, 250, 75, 15;
CROSSREFS
KEYWORD
tabl,nonn
AUTHOR
Walter Trump, Mar 09 2021
STATUS
approved