OFFSET
1,1
COMMENTS
See A153377 for the corresponding larger prime.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
5*7*2 + 2 = 72 and 72 +- 1 are primes, so 5 is a term.
7*11*4 + 4 = 312 and 312 +- 1 are primes, so 7 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, 7!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 24 2008
STATUS
approved