login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A128421 Numbers n such that p(n)# + p(n+1)# +1 is prime, where p(n)# is the product of first n primes (A002110). 7

%I #16 Aug 19 2022 09:24:42

%S 2,3,4,5,6,8,20,56,101,108,141,202,265,364,401,1035,1588,3062,4191,

%T 4579

%N Numbers n such that p(n)# + p(n+1)# +1 is prime, where p(n)# is the product of first n primes (A002110).

%o (PARI) pd(n)=prod(i=1,n,prime(i)) \\ A002110

%o for(k=1,10^4,a=pd(k)+pd(k+1)+1;if(isprime(a),print1(k,", "))) \\ _Alexandru Petrescu_,Jun 17 2022

%Y Cf. A002110, A014545, A128420.

%K nonn,more

%O 1,1

%A _Pierre CAMI_, Mar 02 2007

%E Corrected by _Emeric Deutsch_, Mar 06 2007

%E Edited by _Ray Chandler_, Mar 13 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 19:56 EDT 2024. Contains 371916 sequences. (Running on oeis4.)