OFFSET
1,1
LINKS
T. D. Noe, Table of n, a(n) for n = 1..50
EXAMPLE
a(4) = 420 = 2^2*3*5*7, (419,421) is a twin prime pair. (210 = 2*3*5*7, 211 is prime but 209 is composite).
a(8) = 17160990 = 2*3*5*7*11*17*19*23 and 17160989 = p[1100977], 17160991 = p[1100978].
MATHEMATICA
t=Table[0, {10}]; Do[s=Length[FactorInteger[Prime[n]+1]]; If[PrimeQ[Prime[n]+2] && s<11 && t[[s]]==0, t[[s]]=Prime[n]+1], {n, 1, 1200000}]; t
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Sep 26 2002
EXTENSIONS
More terms from Labos Elemer, Sep 27 2002
Corrected and extended by T. D. Noe, Nov 30 2004. a(9)-a(18) were found by testing all the numbers x with n distinct prime factors, x < 3 prime(n)# and both x-1 and x+1 prime.
STATUS
approved