OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harvey P. Dale)
FORMULA
10!*a(n) are terms in A014574.
MATHEMATICA
s={}; Do[m=3628800k; If[PrimeQ[m-1]&&PrimeQ[m+1], AppendTo[s, k]], {k, 1000}]; s
With[{c=10!}, Select[Range[1000], And@@PrimeQ[c #+{1, -1}]&]] (* Harvey P. Dale, Jun 23 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Apr 04 2007
STATUS
approved