OFFSET
0,2
LINKS
Eric Weisstein's World of Mathematics, Circulant Matrix.
EXAMPLE
a(4) = 0 because of the singular matrix:
[2, 1, 3, 4]
[4, 2, 1, 3]
[3, 4, 2, 1]
[1, 3, 4, 2].
MAPLE
L:= n-> (<<1|1>, <1|0>>^n. <<2, -1>>)[1, 1]:
a:= n-> LinearAlgebra[Determinant](Matrix(n, shape=Circulant[[L(i)$i=0..n-1]])):
seq(a(n), n=0..15); # Alois P. Heinz, Mar 31 2026
MATHEMATICA
circ[w_] := NestList[RotateRight, w, Length[w] - 1]; Table[ Det[ circ[ LucasL@ Range[0, n - 1]]], {n, 10}] (* Giovanni Resta, Jun 16 2016 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Jonathan Vos Post, May 20 2006
EXTENSIONS
Corrected and extended by Giovanni Resta, Jun 16 2016
a(0)=1 prepended by Alois P. Heinz, Mar 31 2026
STATUS
approved
