OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
3*5*7 + 2 + 2 - 1 = 108 and 108 +- 1 are primes.
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, p2]], {n, 8!}]; lst
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Dec 25 2008
STATUS
approved