OFFSET
1,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..300
EXAMPLE
a(4) = 3895 because this is the determinant of [(1,4,6,8), (4,6,8,1), (6,8,1,4), (8,1,4,6)]
MATHEMATICA
NonPrime[n_Integer] := FixedPoint[n + PrimePi[ # ] &, n + PrimePi[n]]; f[n_] := Module[{a = Table[ NonPrime[i], {i, 1, n} ], m = {}, k = 0}, While[k < n, m = Append[m, RotateLeft[a, k]]; k++ ]; Det[m]]; Table[ f[n], {n, 1, 18} ]
Module[{nn=30, np, len}, np=Select[Range[nn], !PrimeQ[#]&]; len=Length[ np]; Table[ Det[NestList[RotateLeft[#]&, Take[np, n], n-1]], {n, len}]] (* Harvey P. Dale, May 30 2021 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Robert G. Wilson v, Jan 29 2002
STATUS
approved