OFFSET
1,1
COMMENTS
See A153379 for the corresponding larger prime.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
1187*1193*6 - 6 = 8496540 and 8496540 +- 1 are primes, so 1187 is a term.
MATHEMATICA
lst={}; Do[p1=Prime[n]; p2=Prime[n+1]; d=p2-p1; a=p1*p2*d-d; If[PrimeQ[a-1]&&PrimeQ[a+1], AppendTo[lst, p1]], {n, 8!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 24 2008
STATUS
approved