OFFSET
1,1
COMMENTS
4813*4817*4831+4+14=112002971670+-1=primes,...
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
MATHEMATICA
lst={}; Do[p1=Prime[n]; p2=Prime[n+1]; p3=Prime[n+2]; d1=p2-p1; d2=p3-p2; a=p1*p2*p3+d1+d2+1; If[PrimeQ[a-1]&&PrimeQ[a+1], AppendTo[lst, p1]], {n, 8!}]; lst
s3cpnQ[n_]:=Module[{c=Times@@n+Total[Differences[n]]+1}, AllTrue[c+{1, -1}, PrimeQ]]; Transpose[Select[Partition[ Prime[Range[ 20000]], 3, 1], s3cpnQ]] [[1]] (* The program uses the AllTrue function from Mathematica version 10 *) (* Harvey P. Dale, Nov 05 2014 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 25 2008
STATUS
approved