OFFSET
1,2
COMMENTS
a(n) alternates in sign.
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..50
Eric Weisstein's World of Mathematics, Circulant Matrix.
EXAMPLE
a(2) = -3 because of the determinant -3 =
| 1, 2 |
| 2, 1 |.
a(5) = 24149 = determinant
| 1, 2, 3, 5, 8 |
| 8, 1, 2, 3, 5 |
| 5, 8, 1, 2, 3 |
| 3, 5, 8, 1, 2 |
| 2, 3, 5, 8, 1 |.
MAPLE
a:= n-> LinearAlgebra[Determinant](Matrix(n, (i, j)->
(<<0|1>, <1|1>>^(2+irem(n-i+j, n)))[1, 2])):
seq(a(n), n=1..15); # Alois P. Heinz, Oct 23 2009
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Jonathan Vos Post, May 20 2006
EXTENSIONS
Corrected and extended by Alois P. Heinz, Oct 23 2009
STATUS
approved