cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

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.

Original entry on oeis.org

2, -7, -32, 240, 2528, -34112, -563712, 10987520, 247459840, -7297638400, -222713856000, 8349585408000, 338297978880000, -14712528568320000, -684369944248320000, 36606670004551680000, 2142049437446307840000, -131713035645097082880000
Offset: 1

Views

Author

Robert G. Wilson v, Jan 28 2002

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} ]