The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A066933 Determinant of n X n matrix whose rows are cyclic permutations of 2..prime(n). 12
1, 2, -5, -70, 1275, 97748, -2713585, -251983958, 9651414311, 1137214908700, -268100912462097, -16553358418854560, 4303513869962179379, 602501593820064477686, -50199332236439321779977, -7847812115804566640572424, 2754406130856424049914030863 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
Conjecture: a(n) = (-1)^(n+floor(n/2))*Res(f(n) , x^n - 1), where Res is the resultant, and f(n)=Sum_{k=1..n} prime(k)*x^k. - Benedict W. J. Irwin, Dec 07 2016
EXAMPLE
a(3) = -70 because this is the determinant of [(2,3,5), (3,5,2), (5,2,3)].
MAPLE
a:= n-> LinearAlgebra[Determinant](Matrix(n,
(i, j)-> ithprime(1+irem(i+j-2, n)))):
seq(a(n), n=0..20); # Alois P. Heinz, Dec 09 2016
MATHEMATICA
f[ n_ ] := Module[ {a = Table[ Prime[ i ], {i, 1, n} ], m = {}, k = 0}, While[ k < n, m = Append[ m, RotateLeft[ a, k ] ]; k++ ]; Det[ m ] ]; Table[ f[ n ], {n, 1, 16} ]
PROG
(PARI) a(n) = matdet(matrix(n, n, i, j, prime(1+lift(Mod(i+j-2, n))))); \\ Michel Marcus, Aug 11 2019; corrected Jun 12 2022
CROSSREFS
Cf. A052182.
Sequence in context: A133004 A321602 A175169 * A132496 A100009 A167218
KEYWORD
easy,sign
AUTHOR
Robert G. Wilson v, Jan 24 2002
EXTENSIONS
a(0)=1 prepended by Alois P. Heinz, Dec 09 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 7 20:29 EDT 2024. Contains 373206 sequences. (Running on oeis4.)