OFFSET
1,1
COMMENTS
EXAMPLE
The first four single primes are 2, 23, 37 and 47, therefore a(4) = 2*23*37*47 = 79994.
MATHEMATICA
nn=50; tps=Union[Flatten[Select[Partition[Prime[Range[nn]], 2, 1], Last[#]- First[#] ==2&]]]; ntps=Complement[Prime[Range[nn]], tps]; Rest[ FoldList[ Times, 1, ntps]] (* Harvey P. Dale, Mar 31 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Aug 13 2002
EXTENSIONS
More terms from Harvey P. Dale, Mar 31 2011
STATUS
approved