OFFSET
1,1
COMMENTS
If A_n is the n X n matrix a(i,j)=min(prime(i), prime(j)) then det(M_n)/det(A_n)=prime(n)/2.
FORMULA
Let M_n be the n X n matrix m(i, j)=Max(prime(i), prime(j)); then a(n)=(-1)^(n+1)*det(M_n). - Benoit Cloitre, May 11 2002
MATHEMATICA
Table[Prime[n]Product[Mod[Prime[n-k], Prime[n-k-1]], {k, 0, n-2}], {n, 30}] (* Harvey P. Dale, Jul 16 2017 *)
PROG
(PARI) a(n) = prime(n)*prod(k=0, n-2, prime(n-k) % prime(n-k-1)); \\ Michel Marcus, Aug 13 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Armand Turpel (armandt(AT)unforgettable.com)
EXTENSIONS
Corrected and extended by Larry Reeves (larryr(AT)acm.org), Sep 27 2000
More terms from Michel Marcus, Aug 13 2022
STATUS
approved