login
Primorial numbers p# such that p# + 1 is a prime.
5

%I #32 Oct 28 2024 11:49:18

%S 2,6,30,210,2310,200560490130

%N Primorial numbers p# such that p# + 1 is a prime.

%C This sequence is different from A121069 and A002110.

%C a(7)=A002110(75) has 154 digits and is too long to be listed. - _R. J. Mathar_, Jul 23 2008

%H Miles Englezou, <a href="/A136351/b136351.txt">Table of n, a(n) for n = 1..9</a>

%F {A002110(j): A002110(j)+1 in A000040}. - _R. J. Mathar_, Jul 23 2008

%F a(n) = A002110(A014545(n+1)). - _Michel Marcus_, Apr 05 2021

%e a(5)=2310 is followed by prime 2311 whereas 30030 is not followed by a prime.

%o (PARI)

%o S=[];for(n=1,200,k=vecprod(primes(n));if(isprime(k+1),S=concat(S,k)));print(S) \\ _Miles Englezou_, Oct 28 2024

%Y Cf. A002110, A014545, A121069, A136349, A136350, A136352.

%K easy,nonn

%O 1,1

%A _Enoch Haga_, Dec 25 2007

%E Changed a(1) from 4 to 2 and edited by _R. J. Mathar_, Jul 23 2008