OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
FORMULA
8!*a(n) are terms in A014574.
MATHEMATICA
s={}; Do[m=40320k; If[PrimeQ[m-1]&&PrimeQ[m+1], AppendTo[s, k]], {k, 1000}]; s
Select[Range[800], AllTrue[40320#+{1, -1}, PrimeQ]&] (* Harvey P. Dale, Oct 05 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 03 2007
STATUS
approved