A088257 Primorials P which have at least one prime neighbor; i.e., P+1 or P-1 or both are primes.
1, 2, 6, 30, 210, 2310, 30030, 200560490130, 304250263527210, 23768741896345550770650537601358310
Offset: 1
Keywords
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..19
Programs
-
Mathematica
Select[FoldList[Times,1,Prime[Range[70]]],PrimeQ[#-1]||PrimeQ[#+1]&] (* Harvey P. Dale, Oct 22 2011 *)
Extensions
More terms from Ray Chandler, Sep 28 2003
Comments