login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Smallest prime number p such that p + 2#, p + 3#, ..., p + prime(n)# are all prime, where x# = A034386(x) is the primorial.
2

%I #12 Jan 19 2019 04:14:58

%S 3,5,11,17,41,41,41,41,86351,86351,235313357,729457511,99445156397,

%T 818113387907,7986903815771,29065965967667

%N Smallest prime number p such that p + 2#, p + 3#, ..., p + prime(n)# are all prime, where x# = A034386(x) is the primorial.

%C Subset of A001359 (lesser of twin primes).

%C From a(2) = 5 on, also a subset of A022004: first element of prime triples (p, p+2, p+6).-- It could make sense to add a(0) = 2, the smallest prime (with empty further restriction "p + prime(n)# prime for 1 <= n <= 0"). - _M. F. Hasler_, Apr 29 2015

%H C. Rivera, <a href="http://www.primepuzzles.net/puzzles/puzz_782.htm">Puzzle 782: Prime-Generating non-polynomials</a>, primepuzzles.net, April 4, 2015

%H C. Rivera, <a href="http://www.primepuzzles.net/puzzles/puzz_350.htm">Puzzle 350. Primes & primorials</a>, primepuzzles.net, 2006

%e a(11) = 235313357 because 235313357, 235313357 + 2, 235313357 + 2*3, 235313357 + 2*3*5, ... and 235313357 + 2*3*5*7*11*13*17*19*23*29*31 are all prime and there is no smaller prime with this property.

%Y Cf. A001359, A002110, A115785 (for p - p(i)#).

%K more,nonn

%O 1,1

%A _Rick L. Shepherd_, Jan 31 2006

%E a(12) from _Don Reble_, Feb 15 2006

%E More terms from _Jens Kruse Andersen_, Feb 28 2006