OFFSET
1,2
LINKS
Math.Stackexchange.Com, Various Users, Inclusion-Exclusion, Matrices~
MAPLE
A274229 :=
proc(n) (n^2)! + 2*add(binomial(n, k)^2*(-1)^k*k!*(n^2-k*n)!, k=1..n) + add(add((-1)^(k+j)*binomial(n, k)*binomial(n, j)*(n^2-n*(k+j)+k*j)!, j=1..n), k=1..n); end;
CROSSREFS
KEYWORD
nonn
AUTHOR
Marko Riedel, Jun 14 2016
STATUS
approved