OFFSET
0,3
LINKS
Wikipedia, Toeplitz Matrix
EXAMPLE
a(3) = 54:
[ 3, 2*i, i;
-2*i, 3, 2*i;
-i, -2*i, 3 ]
MATHEMATICA
Join[{1}, Table[Permanent[ToeplitzMatrix[Join[{n}, I Reverse[Range[n-1]]]]], {n, 18}]]
PROG
(Python)
from sympy import Matrix, I
def A359562(n): return Matrix(n, n, [(n+j-i if i>j else j-i-n) if i!=j else n*I for i in range(n) for j in range(n)]).per()*(1, -I, -1, I)[n&3] if n else 1 # Chai Wah Wu, Jan 25 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Stefano Spezia, Jan 06 2023
STATUS
approved