login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A362187
a(n) = (n^2 - n)!.
2
1, 1, 2, 720, 479001600, 2432902008176640000, 265252859812191058636308480000000, 1405006117752879898543142606244511569936384000000000, 710998587804863451854045647463724949736497978881168458687447040000000000000
OFFSET
0,3
COMMENTS
The next term has 104 digits.
For n > 0, a(n) is the number of n X n matrices using all the integers from 1 to n^2 and having the main diagonal given.
LINKS
FORMULA
a(n) = (n^2 - n)*a(n-1) for n > 1.
a(n) = A000142(A002378(n-1)) for n > 0.
MATHEMATICA
a[n_]:=(n^2-n)!; Array[a, 9, 0]
KEYWORD
nonn,easy
AUTHOR
Stefano Spezia, Apr 10 2023
STATUS
approved