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”).

A078994
Determinant of n X n matrix M(n) where m(i,i)=i if i>j, m(i,j)=i-j if j>i, m(i,j)=j-i.
0
1, 1, 1, -2, -24, -138, -500, 1200, 56256, 904912, 11937696, 144543360, 1639736320, 16965191808, 141946949376, 376837224448, -23412830208000, -860170849536000, -22132932250013696, -501053473607319552, -10543220910009286656, -208356118642682839040
OFFSET
0,4
PROG
(PARI) a(n)=matdet(matrix(n, n, i, j, if(i-j, abs(i-j), i)))
CROSSREFS
Sequence in context: A045820 A098455 A261475 * A290775 A000185 A264566
KEYWORD
sign
AUTHOR
Benoit Cloitre, Jan 17 2003
STATUS
approved