A067551 Determinant of an n X n matrix whose diagonal are the first n Primes of alternating sign and all other elements are 1's.
2, -7, -32, 240, 2528, -34112, -563712, 10987520, 247459840, -7297638400, -222713856000, 8349585408000, 338297978880000, -14712528568320000, -684369944248320000, 36606670004551680000, 2142049437446307840000, -131713035645097082880000
Offset: 1
Keywords
Examples
The determinant begins: 2 1 1 1 1 1 1 ... 1 -3 1 1 1 1 1 ... 1 1 5 1 1 1 1 ... 1 1 1 -7 1 1 1 ... 1 1 1 1 11 1 1 ... 1 1 1 1 1 -13 1 ...
Programs
-
Mathematica
Table[ Det[ DiagonalMatrix[ Table[ Prime[ i ]*(-1)^(i + 1) - 1, {i, 1, n} ] ] + 1 ], {n, 1, 20} ]