OFFSET
0,3
COMMENTS
It is remarkable that for odd n, this determinant has its base n+1 digits equal to the middle row: e.g., a(9) = 456790123 is the determinant of the circulant matrix having [4,5,6,7,9,0,1,2,3] as middle row.
a(0) = 1 is (by convention) the determinant of a 0 X 0 matrix.
LINKS
Max Alekseyev, Illustration for a(9) = 456790123 = A219324(20).
N. I. Belukhov, Solution to Problem 14.7 (in Russian), Matematicheskoe Prosveshchenie 15 (2011), pp. 241-244.
Wikipedia, Circulant matrix.
FORMULA
a(n) = det(I(n) + C(n)), where I(n) is the n X n identity matrix and C(n) is the circulant having (n-1, ..., 0) as first column.
EXAMPLE
a(5) = 3421 is the determinant of the matrix
( 5 0 1 2 3 )
( 3 5 0 1 2 )
( 2 3 5 0 1 ) and 3421 = 23501[6], i.e., written in base 6.
( 1 2 3 5 0 )
( 0 1 2 3 5 ).
PROG
(PARI) a(n)=matdet(matrix(n, n, i, j, (j-i-1)%n+(i==j)))
(Python)
from sympy import Matrix
def A303260(n): return Matrix(n, n, lambda i, j:(j-i-1) % n + (i==j)).det() # Chai Wah Wu, Oct 18 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
M. F. Hasler, Apr 23 2018
STATUS
approved